Did upgrading navidrome nuke my cache?

Issue description:

I upgraded from Navidrome 0.54.3 to 0.54.4, which did not go smoothly likely due to my own fault. I’m also not sure that anything useful go captured in the logs, as I did not have debug mode turned on (didn’t expect any issues). However, after upgrading Navidrome and it upgrading the database for the new version, none of my offline cache in Symfonium was recognized any longer after syncing. All the tracks appeared to be there if I were to look under the manage offline files page of the settings, but Symfonium was behaving as if those tracks had been moved or deleted from the navidrome library (and thus running a clean up would have removed them). Due to it being after midnight and having to go to work in a few hours, I opted to format the SD card and then run a clean up operation to zero out the cache database in order to redownload some fresh, usable offline cache.

I do have a copy of the old database before I upgraded navidrome, so hopefully there’s something useful there?

I’m not sure if this is something I caused (I accidentally renamed the old database file in order to create the backup, and navidrome started building a new database on first run, however I stopped it and replaced the newly created database with my previous one, which it then upgraded for the new version). My library is intact via navidrome’s webui, complete with play counts.

I am reporting this in case it has nothing to do with me having personal issues upgrading navidrome. Just in case there’s a bug causing Symfonium to no longer recognize media in the updated database as being existing media.

Logs:

Upload description: bendb

Additional information:

 
old db Digital Sand
new db Digital Sand
 

Reproduction steps:

 
have a synced library with cached offline media running navidrome 0.54.3, upgrade to navidrome 0.54.4 and resync symfonium
 

Media provider:

Subsonic

Screenshots:

     

I can’t do anything from this report as can’t see the past and you deleted all.

But no many people have updated and there’s no issues.

1 Like

Good to hear others have had success. Future updates should go amoother, but I’ll make sure to leave time for troubleshooting and switch on debug mode when the next update comes around.