You are not logged in.

#1 2011-07-19 16:33:30

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Problem getting subsonic web interface to work

I posted this in the subsonic forums and have not received any reply.

I had Subsonic running nicely on Debian, but I have now switched my server OS to Arch. I installed the package in the AUR (https://aur.archlinux.org/packages.php?ID=35954), which is based on the standalone version of subsonic, but I have not been able to connect to the web interface once the server is started.

The variables in subsonic.sh look like this:

SUBSONIC_HOME=/var/subsonic
SUBSONIC_HOST=127.0.0.1
SUBSONIC_PORT=4040
SUBSONIC_HTTPS_PORT=4041
SUBSONIC_CONTEXT_PATH=/
SUBSONIC_MAX_MEMORY=100
SUBSONIC_PIDFILE=/var/subsonic/subsonic.pid
SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/subsonic/music
SUBSONIC_DEFAULT_PODCAST_FOLDER=/var/subsonic/podcasts
SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/subsonic/playlists

I have what I believe are suitable permissions on all of the needed folders:

drwxr-xr-x 2 root root     4096 Jul 16 11:49 db
-rw-r--r-- 1 root root     3003 Jul 15 19:49 Getting Started.html
drwxr-xr-x 3 root root     4096 Jul 15 20:43 jetty
-rw-r--r-- 1 root root    35819 Jul 15 19:49 LICENSE.TXT
drwxr-xr-x 2 root root     4096 Jul 15 21:19 music
drwxr-xr-x 2 root root     4096 Jul 16 11:38 playlists
drwxr-xr-x 2 root root     4096 Jul 16 11:38 podcasts
-rw-r--r-- 1 root root      540 Jul 15 19:49 README.TXT
-rw-r--r-- 1 root root   846961 Jul 15 20:45 subsonic13.index
-rw-r--r-- 1 root root 10805794 Jul 15 19:49 subsonic-booter-jar-with-dependencies.jar
-rw-r--r-- 1 root root      688 Jul 16 11:54 subsonic.log
-rw-r--r-- 1 root root        5 Jul 16 11:48 subsonic.pid
-rw-r--r-- 1 root root       98 Jul 16 11:49 subsonic.properties
-rwxr-xr-x 1 root root     5067 Jul 16 11:40 subsonic.sh
-rw-r--r-- 1 root root     9403 Jul 16 11:49 subsonic_sh.log
-rw-r--r-- 1 root root 18871786 Jul 15 19:49 subsonic.war
drwxr-xr-x 2 root root     4096 Jul 15 20:44 transcode 

When I run the subsonic.sh script, I get this:

Started Subsonic [PID 3231, /var/subsonic/subsonic_sh.log] 

'ps aux' confirms it is running:

root      3231 22.4  2.6 237256 54236 pts/4    Sl   11:48   0:15 java -Xmx100m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=127.0.0.1 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=4041 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/var/subsonic/music -Dsubsonic.defaultPodcastFolder=/var/subsonic/podcasts -Dsubsonic.defaultPlaylistFolder=/var/subsonic/playlists -Djava.awt.headless=true -jar subsonic-booter-jar-with-dependencies.jar 

But 'lsof -i' shows no ports are actually open for subsonic and when I try to go to the server on port 4040 in a browser, it won't load the page. I can't access the web interface either on the server itself or on my laptop. I have also tried the secure port with no joy.

I have added 'java: ALL' and 'subsonic: ALL' lines to hosts.allow. Not sure whether or not this is necessary.

/var/subsonic_sh.log: http://pastie.org/2237984

/var/subsonic.log:

[2011-07-17 17:12:17,504] INFO DaoHelper - Checking database schema.
[2011-07-17 17:12:19,213] INFO DaoHelper - Done checking database schema.
[2011-07-17 17:12:20,222] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Mon Jul 18 03:00:00 PDT 2011
[2011-07-17 17:12:20,712] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sun Jul 17 17:17:20 PDT 2011
[2011-07-17 17:12:24,164] INFO NetworkService - Deleted port mapping for port 80
[2011-07-17 17:17:20,706] INFO PodcastService - Starting scheduled Podcast refresh.
[2011-07-17 17:17:20,709] INFO PodcastService - Completed scheduled Podcast refresh.

I don't see anything that looks like an error message in this.

Offline

#2 2011-07-21 17:01:21

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: Problem getting subsonic web interface to work

What would help people to be able to suggestion useful solutions? Am I missing information?

Offline

Board footer

Powered by FluxBB