Bugzilla – Bug 12121
Ratings lost when upgrading 7.5 -> 7.6
Last modified: 2011-08-14 21:08:21 UTC
Created attachment 5244 [details] scanner.log My ratings were lost when I upgraded to the noweb-sqlite branch. See the following thread for detailed discussion and investigation together with Andy: http://forums.slimdevices.com/showthread.php?t=63397 To sum it up: 1. The installation I had before I upgraded created a tracks_persistent.json file which contains the old ratings 2. When upgrading it first scans the library and the relevant tracks are found and scanned correctly, it then reads the tracks_persistent.json file 3. The read ratings aren't stored in the tracks_persistent table of the squeezecenter-persistent.db file for some reason The result is that after the upgrade I have 1 rated track while I in the tracks_persistent.json and also before the upgrade had 92 rated tracks. I tried added some debug messages in the code with the result described in this thread: http://forums.slimdevices.com/showpost.php?p=424815&postcount=9 I'm not sure if it's related (I think it isn't) but I start SqueezeCenter with the script mentioned in this post: http://forums.slimdevices.com/showpost.php?p=424759&postcount=3 (The start arguments points to directories that contains the latest contents from the SqueezeCenter instance before the upgrade)
Created attachment 5245 [details] server.log
Created attachment 5246 [details] tracks_persistent.json before the upgrade
Created attachment 5247 [details] squeezecenter-persistent.db
I should probably have mentioned that the log files and other files attached is from svn version 26700
SQLite bugs need to go back to 7.6 target.
We need to test this with 7.5.3 -> 7.6.
Hey Erland, can you retry on latest?
I've tried this with latest 7.6 onebrowser and as far as I can see it now works correctly, I upgraded from 7.5.4. So I think it's safe to close this bug report.
Erland, please close this bug if it's been fixed.