Closed SpencerDub closed 3 years ago
What happens if you try with a sudo at the beginning?
sudo /opt/yunohost/navidrome/navidrome -c /var/lib/navidrome/navidrome.toml scan -f
Darn it, I was clearly staring at a screen too long yesterday, because that should have been obvious.
sudo
worked for eliminating this particular error. Still no album art on some albums, though. :thinking:
Does this package install an user specifically for Navidrome? If yes, you should not use sudo
without specifying the user, or else you may end up with files with root permissions, which will cause Navidrome to fail when trying to read them.
If there is a user for Navidrome the command to rescan should be:
sudo -u <navidrome's user> /opt/yunohost/navidrome/navidrome -c /var/lib/navidrome/navidrome.toml scan -f
chown -R /path/data user:user
I'm just stress-testing the heck out of this package. Thanks for your patience. 😅
As discussed in #6, I updated
navidrome.toml
to include the lineDataFolder = "/var/lib/navidrome"
, then ran/opt/yunohost/navidrome/navidrome -c /var/lib/navidrome/navidrome.toml scan -f
in order to force a rescan of my database. The results included a lot of blocks that looked like this (with different albums and artists):I suspect this is part of why album art isn't updating according to the rules in my
navidrome.toml
file. What can I do to fix these errors upon rescan?