Why is a collection rescan required after a restart?
-
I am using Ubuntu Linux 22.04 ... when i quit and later restart strawberry my collection is missing. There seems to be only two ways to retrieve is 1) open tool delete the collection directory and then select the same directory as a "new" collection ... or 2) start
strawberry in a terminal widow and "Do full collection scan", which take about 10min with my music library... note Do full collection scan does not seem to work unless strawberry is started from a terminal window.
I should mention my music library was "copied" form a itunes library and is located on a SDD drive mounted such that the path to the library is not /Music but /mySDDrive/something/../../iTunes.Is there a why to avoid recreating or re-scanning the collection after a restart??
-
A few things to try:
• Create a small test collection somewhere in your home directory, e.g., ~/Music. Point Strawberry to that instead of the SSD, and see if the behavior is the same. That would rule out issues with the external SSD.
• In Strawberry Tools > Settings > Collection, uncheck "Update the collection when Strawberry Starts" and "Monitor the Collection for changes" to see if that has any effect.
• Try uninstalling and reinstalling Strawberry. Perhaps even go as far as deleting ~/.config/strawberry and ~/.local/share/strawberry directories before reinstall.
(That is heavy handed, and you will lose all your settings. No warranty here! Backup first!)
• If you are not averse to flatpaks, there appears to be a flatpak version of Strawberry available. If the regular Ubuntu PPA or .deb package versions don't work, you might try the flatpak.
Disclaimer: That's all I can think of. I'm still on the Linux learning curve myself, so, not an expert by any means. But the above steps would be what I would try.
Good luck.
-
@dgg
Check disk space and permissions. Run integrity check on the database.
https://wiki.strawberrymusicplayer.org/wiki/Database_integrity_check -
@jonas
Thanks data base check ok as are the permissions -
unchecking "Update the collection when Strawberry Starts" just met to use the collect i have to manually refresh the collection ...
i tried using a link in \Music ... testing this revealed another interesting behavior ... if i play an album after it complete .. attempting to play anything, including the album just played, in the entire collection i get the error message "... decryption not supported "
scanning the entire collect fixes this ...I have not been able to try either a collection in the ~/Music nor have i tried mounting the SDD as ~/Music ... hope to do this this weekend ...
Thanks for the help will report on the above tests
-
After re-configuring the my disk drives several times i have found that if the strawberry collection is not in the path ~/Music strawberry will requires rebuilding the collection, regardless of disk type (i.e. sdd, or hdd) ... since i have an SDD partition dedicated to my music library i just mount is at ~/Music/my_music and it seem to work
Thanks for the help