Reinstalled Subsonic and am now unable to use https
Posted: Sat Feb 25, 2012 9:58 pm
My windows server crashed thursday, and I thought I might as well make the move to Linux. So I installed Ubuntu and set off. I have pretty much everything setup how I had it before except subsonic.
Whenever I go to set the default and https port using /etc/default/subsonic (as mentioned here: http://www.subsonic.org/pages/installation.jsp) using the following parameters:
I am always presented with this:
If I disable the parameter, I can access the site fine on port 4040. However, I would like to keep https on for encryption purposes of my password. What is wrong? While I am not sure if this file is supposed to be updating, however, the port doesn't seem to be changing:
Here is a "more" of the log:
Whenever I go to set the default and https port using /etc/default/subsonic (as mentioned here: http://www.subsonic.org/pages/installation.jsp) using the following parameters:
- Code: Select all
SUBSONIC_ARGS="--port=80 --https-port=443 --max-memory=256"
# The user which should run the Subsonic process. Default "root".
# Note that non-root users are by default not allowed to use ports
# below 1024. Also make sure to grant the user write permissions in
# the music directories, otherwise changing album art and tags will fail.
SUBSONIC_USER=root
I am always presented with this:
If I disable the parameter, I can access the site fine on port 4040. However, I would like to keep https on for encryption purposes of my password. What is wrong? While I am not sure if this file is supposed to be updating, however, the port doesn't seem to be changing:
- Code: Select all
andrew@server:~$ sudo more /var/subsonic/subsonic.properties
#Subsonic preferences. NOTE: This file is automatically generated.
#Sat Feb 25 16:52:10 EST 2012
SettingsChanged=1330205669973
UrlRedirectContextPath=
Port=4040
Here is a "more" of the log:
- Code: Select all
[2012-02-25 17:39:46,888] INFO DaoHelper - Checking database schema.
[2012-02-25 17:39:47,674] INFO DaoHelper - Done checking database schema.
[2012-02-25 17:39:47,964] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Sun Feb 26 03:00:00 EST 2012
[2012-02-25 17:39:48,090] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sat Feb 25 17:44:48 EST 2012
[2012-02-25 17:39:51,124] WARN NetworkService - Failed to delete port mapping.
net.sbbi.upnp.messages.UPNPResponseException: Detailed error code :402, Detailed error description :Invalid Argument
at net.sbbi.upnp.messages.ActionMessageResponseParser.startElement(ActionMessageResponseParser.java:145)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
at net.sbbi.upnp.messages.ActionMessage.service(ActionMessage.java:172)
at net.sbbi.upnp.impls.InternetGatewayDevice.deletePortMapping(InternetGatewayDevice.java:417)
at net.sourceforge.subsonic.domain.SBBIRouter.deletePortMapping(SBBIRouter.java:61)
at net.sourceforge.subsonic.service.NetworkService$PortForwardingTask.execute(NetworkService.java:167)
at net.sourceforge.subsonic.service.NetworkService$Task.run(NetworkService.java:309)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
[2012-02-25 17:44:48,073] INFO PodcastService - Starting scheduled Podcast refresh.
[2012-02-25 17:44:48,074] INFO PodcastService - Completed scheduled Podcast refresh.