From c177f6153fe7d3b3dff41af7d0021cb7e1fee8ac Mon Sep 17 00:00:00 2001 From: basilfx Date: Thu, 13 Nov 2014 11:10:10 -0800 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 6c7b0c2..b369844 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -61,7 +61,7 @@ Headphones tells you there is a new version available, but an update fails. The Or: -Headphones does not start anymore, after an update. +After an update, Headphones does not start anymore. _Solutions_: @@ -71,7 +71,7 @@ The auto-update function of Headphones uses [Git](http://en.wikipedia.org/wiki/G For Synology users it may be necessary to specify the full path to the `git` binary. -*Note:* in some cases, you'll have to cleanup the `*.pyc` files that Python generates automatically. On Linux, this can be done via `find . -name "*.pyc" -exec rm -rf {} \;`, in the root directory. +*Note:* in some cases, you'll have to cleanup the `*.pyc` files that Python generates. These files are byte-compiled source files. Since v0.5.1, a script is included in `contrib/clean_pyc.sh` to clean these files for you. ### Manual update ### Use the following commands to _reset_ your repository. Backup your configuration and database files, just in case. @@ -104,6 +104,8 @@ Sometimes, you just want to go back to an older version. For instance, there is * Pick a commit hash (long string of letters and digits) * `git reset --hard PUT_HASH_HERE` — this WILL overwrite all local changes! It will spare your config and database. +Alternatively, since v0.5.1, you can run `contrib/downgrade.sh `. This should restore Headphones to the last version that started successfully. You need to have Git installed, and it's Unix-only. + ## SSL-enabled servers/indexers/search providers don't work ## _Symptoms:_