-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Issues updating to 0.23/0.24 - DB migration fails #393
Comments
Thanks for the report! Can you try with the attached version?
|
Sure, I ran the binary with the existing data paths to my data/music folder. Seems to be the same output.
|
Ok, can you try this? navidrome_v0.24.0-SNAPSHOT_Linux_arm64.tar.gz |
Hi, the second versions seems to work fine, looks like the migrations were successful. Thanks!
|
Thanks for helping fixing the migration issue. Regarding the access error, does it happen in the beginning of the scan, or it gets to import some files before failing? |
I just found the underlying issue in a restic forum thread where someone also had problems with CIFS shares. It seems like with Go 1.14 some of the new asynchronous preemption stuff CIFS doesn't work really well, see here https://forum.restic.net/t/prune-fails-on-cifs-repo-using-go-1-14-build/2579 I added the |
Great finding! Awesome!! I'll add it to the docs. Maybe even making it default, if there's no bad side effects. Thanks a lot! Will close this for now, but feel free to reopen if you find any related issue. |
More info about the async preemption issue in Go 1.14: kubernetes/kubernetes#92521 Some projects are even skipping Go 1.14 to avoid this issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi there,
first up, I have been using Navidrome very successfully for a while now in Docker, mostly running version 0.22 on a Raspberry Pi 3B+ with music accessed via a SMB share. Now that setup has recently been migrated to a Pi 4 running Ubuntu 20, and has been working perfectly there as well.
I've been wanting to upgrade to 0.24/0.23 now, but when starting my docker-compose stack with the updated Docker Image, the DB migrations seem to fail and Navidrome does not start up.
These are trace logs from 0.22 -> 0.23. Same thing when updating to 0.24.
Since I didn't care much about the database, I decided to start fresh and use a new database. Thats when I discovered that Navidrome for some reason cannot initially read the Music on the file share. Using a migrated DB and a old version, I can play music with no problem. Starting fresh with any version gives me a read error on the music share.
I think this could be due to some technical issues with the mount, maybe similar to the issue described here #294 (comment)
In the end - To get the new version to work, I need to update my existing installation
The database itself is in a Docker volume on the Pi, so it should be unaffected by this issue. Do you have an idea why I am getting these migration errors?
Thanks in advance :)
Felix
The text was updated successfully, but these errors were encountered: