Page 1 of 1

HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Sat May 20, 2017 2:03 pm
by unamused
<-------------------------Subsonic Help Request---------------------->
Problem Description: Nothing works. Web interface is getting this error:

HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/

Powered by jetty://


Troubleshooting Steps: uninstalled, reinstalled, checked for latest java version, checked router (ports are open)
Playback Application and version: Android
Subsonic Version: Cant get to the web interface - but it's 6.0
Server Version: cant get to web interface
Hardware Platform: Windows 7
Java Memory Limit: 150MB
Problem Filename: n/a
Output from ffmpeg -i: n/a
Last ten (or so) log file lines:
Code: Select all
   at org.mortbay.jetty.Server.doStart(Server.java:217)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at net.sourceforge.subsonic.booter.deployer.SubsonicDeployer.deployWebApp(SubsonicDeployer.java:135)
   at net.sourceforge.subsonic.booter.deployer.SubsonicDeployer.<init>(SubsonicDeployer.java:65)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
   at net.sourceforge.subsonic.booter.Main.<init>(Main.java:24)
   at net.sourceforge.subsonic.booter.Main.main(Main.java:63)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
   at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
24116 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:8080
Subsonic running on: http://localhost:8080/
24150 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
25159 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
25187 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[192.168.1.116:9412](local),objID:[0:0:0, 0]]]]

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Tue May 23, 2017 2:25 am
by tmwsiy
You have a corrupt database sadly.
If you have a backup, you can replace that.
Otherwise:

1) Stop Subsonic
2) Backup your /subsonic/db/subsonic.script file
3) Delete the contents of your /subsonic/db/ directory
4) Restore your subsonic.script file
5) Start Subsonic

In that your media library will now be empty, you'll want to go to "Settings..." "Media Folders..." and click "Scan media folders now".

Good luck.

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Tue May 23, 2017 12:23 pm
by unamused
tmwsiy wrote:You have a corrupt database sadly.
If you have a backup, you can replace that.
Otherwise:

1) Stop Subsonic
2) Backup your /subsonic/db/subsonic.script file
3) Delete the contents of your /subsonic/db/ directory
4) Restore your subsonic.script file
5) Start Subsonic

In that your media library will now be empty, you'll want to go to "Settings..." "Media Folders..." and click "Scan media folders now".

Good luck.


thanks...

where exactly does one find the subsonic db file and script file?

this is everything in the subsonic program folder:

Image

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Tue May 23, 2017 4:59 pm
by tmwsiy
You will find Subsonic installed in two locations on your PC.
The directory that you are showing here is: Program Files > Subsonic
Now look in your hard drive root folder (probably C:)
You should see C:\subsonic

You should then see the following folders: db, jetty, thumbs, transcode

In the db folder, is the scripts file.

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Wed May 24, 2017 11:37 am
by unamused
ah, great.

thank you for your help

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Thu Nov 23, 2017 2:49 am
by unamused
so this bullshit happened again and deleting my database file does nothing


still the 503 error.


is there some permanent fix or is this just always going to keep happening?

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Fri Nov 24, 2017 8:07 pm
by toolman
Is the subsonic service running ?
Can you acces the web interface on the server ( Default is http://localhost:4040)
Did you try to install Subsonic again?
The dasebase was prone to corruption up to version 6. The integrated HSQLDB 1.8 database introduced in version 6. seems much more robust and stable.

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Tue Nov 28, 2017 12:55 am
by poorlex
I've been having this issue as well. It seems like every time my Windows 7 updates the DB crashes.

The 503 error is new though.

Now I can't access the web interface either.

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Tue Nov 28, 2017 12:34 pm
by toolman
And did you check if the subsonic service is running on the server?
Can you acces the web interface on the server ( Default is http://localhost:4040)
Why doesn't anyone read and answer the questions when they are asking for help?

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Thu Dec 14, 2017 1:33 pm
by islanders19
Got the same error - did you fix your problem?
Very frustrating


Update - I un-installed subsonic - rebooted system and re-installed and that did the trick
up and running again

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/

PostPosted: Thu Dec 14, 2017 7:18 pm
by toolman
No, no problems here.