There are three ways to clear a corrupted database. Two easier ways, when bliss is still running, and a slightly more involved way when bliss will not start.
The Clear and rescan button clears the current database and rebuilds it by re-scanning your music files. The Clear and rescan button can be found under the rescan button:
In some cases, bliss starts but you cannot see the bliss Web pages because of the data corruption.
When this occurs it is still possible to send bliss a message to clear and rescan its database. This approach is helpful on devices such as NAS drives where it's more difficult to delete data files from the remote device.
To follow this approach:
http://192.168.1.116:3220
(the 192.168.1.116
will change from case to case).3220
from the end of the URL and replace it with 3221/rescan?clear=true
. The URL will look something like:http://192.168.1.116:3221/rescan?clear=true
Clear and rescan started
At this point you can revisit http://192.168.1.116:3220 (or whatever IP address bliss is running at) and the error message should be gone.
Sometimes bliss won't even start because of data file corruption. Common symptoms of this are:
Message: java.lang.NullPointerException jdbm.htree.HashDirectory.get(HashDirectory.java:208)
org.mapdb
When this is the case you need to delete the data files yourself. Follow the following steps:
Windows XP | C:\Documents and Settings\[username]\.bliss |
Windows Vista, 7, 8 and 10 | C:\Users\[username]\.bliss |
Mac OS X (see below) | /Users/[username]/Library/Application Support/bliss |
Linux | /home/[username]/.bliss |
Docker | /config (within the container); find where this is mounted from in the run command |
Synology | /var/packages/bliss/target/var/.bliss |
QNAP | `getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info`/.qpkg/bliss/.bliss |
VortexBox | /root/.bliss |
* I say "standard" locations... these are just defaults. If you have customised your computer so that user files are stored in a different location, you will have to substitute that location for the above.
Windows users may receive a message stating that the 'data' folder could not be deleted because it is already in use. In this case, restart your computer before trying to delete the 'data' folder again.
By default in recent versions of OS X, Finder will not show the "Library" folder, so the Application Support/bliss
folders mentioned above will not be visible. Perhaps the easiest way is to use Go to Folder in Finder:
~/Library/Application Support/bliss
and click GoAlternatively, this is pretty exhaustive.
Clearing the database does not affect your settings nor your fixes licence. However, it does cause bliss to 'forget' what it has done previously, so a full re-scan will ensue.
Any other FAQs I forgot or clarifications required? Post your ideas below!