-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Music library folder was reset to default #75
Comments
Also, after setting the library folder back, I found my playlists wiped. All playlists are listed in UI, but with no content. |
it is hard to tell without logs... |
Were you using a custom location for your music library? @ericgaspar Which means the music library location is reset to default and immediately after upgrade a scan is performed. This breaks all the favorites, playlists etc... I couldn't find a way to stop navidrome from either resetting the configuration file or at least not start the service immediately so I can change the library location to my custom setting. |
The configuration file has been regenerated to be synchronized with the new upstream settings. Some parameters have been added to the config_panel. |
The webadmin upgrades are awesome btw So the workaround here would be to backup the database manually and the restore it after the upgrade? |
There is a sum check done to the replaced config file to check if it as custom changes, if so, a copy is then made before the file gets regenerated (I can't recall where this copy is stored...) |
Yes the config file is saved, but before you have time to restore it, navidrome is already scanning the music library and breaking the favorites, playlists because it can't find the music files. |
@ericgaspar would this be a viable workaround? This is permanent, even after the custom library location setting is restored, the database remains broken. This is possibly an upstream problem? |
Anyone found any solution to that problem? |
@IsidoreIsou @ericgaspar And an upstream improvement is being considered. As this behavior in the YNH package breaks irreversibly the favorites playlist etc it would it be possible to also fix it also on this side? For now I just restored from the backup and I'm waiting for a fix before I upgrade. |
thanks @zecamigo. Something I'm not sure to understand: Before the update, is there a location where Navidrome auto backup some config files like the "Recently Added" list? And can I restore this file after the update? |
I'm guessing the date each file is added should be on the database before update. The only backups should be the automatic ones if you have them running, and the backup ynh does just before the update. I don't know how to extract the database from that backup. But even then the database structure might change from one version to the other, so it's not advisable to restore a previous' version database into the upgraded version. |
This issue seems to have been fixed in the upstream code in version 0.51.1 |
I'm not sure how to check when it happened, but my guess would be it was on last update (probably months ago).
Using 0.47.5~ynh2 on YunoHost 4.3.5
(Sorry for not using template - it should be clear enough though.. )
The text was updated successfully, but these errors were encountered: