Page 1 of 1

Directory permissions error, site not loading?

PostPosted: Mon Jan 26, 2015 3:28 pm
by srndsnd
Problem Description: Subsonic stopped working, I restarted, didn't work, reinstalled and got the following two messages:

%
warning: directory permissions differ on /var/lib/subsonic/
filesystem: 777 package: 755
warning: directory ownership differs on /var/lib/subsonic/
filesystem: 996:996 package: 0:0
*************************************************
* Edit /etc/subsonic.conf to configure subsonic *

Troubleshooting Steps: I have restarted subsonic, the server, reinstalled, not working.
Playback Application and version: Latest Chrome on Windows 8
Subsonic Version: I'm pretty sure it's subsonic-5.1.1 that's what yaourt (the arch linux package manager) tells me.
Server Version: Not sure
Hardware Platform: Arch Linux running on a Gigabyte Brix NUC headlessly.
Java Memory Limit: Don't know.
Problem Filename: It says
Output from ffmpeg -i:

ffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 26 2014 11:50:46 with gcc 4.9.2 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Missing argument for option 'i'.
Error splitting the argument list: Invalid argument

Last ten log file lines: Can't get there

When I load the site through an SSH VNC tunnel, and go to localhost:4040, I get

%
HTTP ERROR: 503
SERVICE_UNAVAILABLE

RequestURI=/

Powered by jetty://

I'm not sure what to do. I love my subsonic server and I purchased premium to support to the project, but it's been broken for a week now, I don't have much linux experience, and I just want my music back. :/

Re: Directory permissions error, site not loading?

PostPosted: Mon Jan 26, 2015 3:43 pm
by ferucio
I have encountered same error message:
HTTP ERROR: 503
SERVICE_UNAVAILABLE

I think it is something wrong with the http service on the server subsonic site

Re: Directory permissions error, site not loading?

PostPosted: Mon Jan 26, 2015 5:00 pm
by srndsnd
Also, I've kind of narrowed down the problem, but I'm not entirely sure if what I'm looking at is a directory permissions issue or an issue with subsonic.

I tried installing Madsonic just to see what would happen and got the exact same message that I got when it wasn't working for subsonic.

sudo systemctl status madsonic
● madsonic.service - Madsonic
Loaded: loaded (/usr/lib/systemd/system/madsonic.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2015-01-26 06:55:43 EST; 2min 27s ago
Process: 19612 ExecStop=/bin/kill -15 $MAINPID (code=exited, status=1/FAILURE)
Process: 19606 ExecStart=/var/madsonic/madsonic.sh (code=exited, status=0/SUCCESS)
Main PID: 19610 (code=exited, status=127)

Jan 26 06:55:43 alexandria madsonic.sh[19606]: Started Madsonic [PID 19610, /var/madsonic/madsonic_sh.log]
Jan 26 06:55:43 alexandria systemd[1]: madsonic.service: main process exited, code=exited, status=127/n/a
Jan 26 06:55:43 alexandria systemd[1]: madsonic.service: control process exited, code=exited status=1
Jan 26 06:55:43 alexandria systemd[1]: Unit madsonic.service entered failed state.
Jan 26 06:55:43 alexandria systemd[1]: madsonic.service failed.
Jan 26 06:55:44 alexandria kill[19612]: kill: not enough arguments

It seems like something is wrong with the script, whether that's permissions to execute it or actually the code? I don't know, I have never dealt with any of this kind of stuff before.