Local Host error

Need help? Post your questions here.

Moderator: moderators

Local Host error

Postby soalivetoday » Fri Dec 12, 2014 8:38 pm

Hello I've used Subsonic for many years though not as frequently the past few...I have had to uninstall and reinstall numerous times as after a period of time I keep getting a local host error. This is extremely frustrating at this point. Can someone help me resolve this? It never happened for many years and now it happens all the time. Thank you.
soalivetoday
 
Posts: 6
Joined: Wed Apr 20, 2011 9:05 pm

Re: Local Host error

Postby soalivetoday » Fri Dec 12, 2014 8:46 pm

this is the error message:

HTTP ERROR: 503

SERVICE_UNAVAILABLE

RequestURI=/

Powered by jetty://
soalivetoday
 
Posts: 6
Joined: Wed Apr 20, 2011 9:05 pm

Re: Local Host error

Postby gohikeone » Mon Dec 15, 2014 12:53 pm

I have just experienced the same problem. I have been using Subsonic for many years, almost daily, with zero problems. I have been running version 5 without any issue for many weeks. Yesterday, I go to listen to some music and get an error 1 in my iSub player (not a valid subsonic server). So, I go to my PC (running Win 7) where Subsonic is residing. Server running, everything looks normal, but I can't access the server via internet or localhost 4040. I get the HTTP 503 error just like soalivetoday is reporting.

Nothing has changed in settings. Router settings the same, IP addresses have not changed either (server box is static IP). One day working, the next day HTTP 503.

I have uninstalled and reinstalled Subsonic to no avail. Internet is full of no answers on this subject so hoping someone reading these forums can help.

Problem Description: See above
Troubleshooting Steps: See above
Playback Application and version: Windows 7 server; iSub on iPhone
Subsonic Version: 5
Server Version: can't get to server for version, but assuming 5?
Hardware Platform: Windows 7
Java Memory Limit: 256
Problem Filename: N/A
Last ten log file lines: I have attached log files as a zip from Program Files/Subsonic/Log
gohikeone
 
Posts: 2
Joined: Mon Dec 15, 2014 12:38 pm

[RESOLVED]: Local Host error

Postby gohikeone » Tue Dec 16, 2014 9:19 pm

Here is the answer:

viewtopic.php?f=6&t=10338

Apparently a broken database causes the error. Unfortunately the answer in the forums about "broken database" have no mention of the error codes I was getting (HTTP 503, etc.) so I would have never found the answer in these forums (I actually found this linked in another forum about 503 errors). :?

Here are the steps in case the other post ever goes away:

Before upgrading, always backup your subsonic folder.

If the database breaks, you can recover some settings :

Users (with their password) and their settings:

They are kept in the subsonic.script file. (steps 1 to 3 are only needed if you didn't remove the subsonic folder before reinstalling)

1. stop subsonic service
2. rename the subsonic/db directory
3. start subsonic service : a new database is created.

4. open the old subsonic.script file (in the directory you renamed)
5. select the lines you want to keep (INSERT INTO MUSIC_FOLDER VALUES... INSERT INTO USER VALUES... INSERT INTO USER_ROLE VALUES ... INSERT INTO USER_SETTINGS VALUES ...)
6. in your subsonic webpage, replace "index.view" with "db.view"
7. paste the selected lines

Now you should have your old user settings
gohikeone
 
Posts: 2
Joined: Mon Dec 15, 2014 12:38 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 28 guests