blastbeng / spotisub

Spotify to subsonic Playlist Generator and Importer
MIT License
105 stars 6 forks source link

Permission error #56

Closed janaxhell closed 2 months ago

janaxhell commented 2 months ago

Is there an existing issue for this?

Current Behaviour

Container repeats over and over permission error, see log below. I have again applied chmod 777 -R /srv/dev-disk-by-uuid-5b67514d-485e-4306-873e-b1cbb54ccf99/Config/spotisub/cache but nothing changes

Steps To Reproduce

No response

Expected behaviour

Just work

Spotisub Version

latest, can't see version in log

Python Version

3

Example Code

No response

Relevant log output

groupmod: Permission denied.
groupmod: cannot lock /etc/group; try again later.
usermod: Permission denied.
usermod: cannot lock /etc/passwd; try again later.
chown: changing ownership of '/home/user/spotisub/cache/spotisub.sqlite3': Operation not permitted
chown: changing ownership of '/home/user/spotisub/cache/spotipy_cache': Operation not permitted
chown: changing ownership of '/home/user/spotisub/cache': Operation not permitted
error: failed switching to "user": operation not permitted

Code of Conduct

blastbeng commented 2 months ago

Look at the recent updates in the release notes

The image has been modified, you need to remove these entries from your docker compose file:

- PGID
- PUID
TZ
user "1000:1000"

Can you fix your compose file and report back? Thanks

janaxhell commented 2 months ago

Ahh, yes, I thought removal was optional, so I let them there. After removal it starts normally.

blastbeng commented 2 months ago

Ahh, yes, I thought removal was optional, so I let them there. After removal it starts normally.

Good!