Subsonicサーバで503エラーが返ってきたとき

Webサーバのエラーでなく、Javaで503が返ってきた時の話です。

結論から言うと設定ファイルがぶち壊れています。フォーラムに解決策が見事に上がっていましたのでそれに従いましょう。

Subsonic Forum • View topic - HTTP ERROR: 503 SERVICE_UNAVAILABLE

Re: HTTP ERROR: 503 SERVICE_UNAVAILABLE

Postby nspagnuolo » Fri Oct 14, 2011 2:26 am
you can avoid losing all of your settings by doing the following
1. rename the subsonic/db directory
2. stop and start subsonic service so the db directory is recreated. note, the first time i tried this subsonic said it was not available for maintenance. a few min later it was done creating the new db folder
3. stop subsonic and copy the subsonic.script file from the backup db directory created in step 1 into the newly created db folder
4. restart subsonic

enjoy :D

dbフォルダのうち、「subsonic.scriptだけ」をコピーするのがポイントですね(他のファイルは入れてはいけない)。曲のDBは消えてしまいますが、再構築すればいいだけです。設定は上記方法により完全に復元されます。

「プレイリスト」はやはり定期的にエクスポートしてバックアップしておくのがよいようです。

Powered by はてなブログ