wger-project / docker

Production...ish docker-compose image for wger
GNU Affero General Public License v3.0
125 stars 43 forks source link

Can't upload pictures after moving volumes to another machine #70

Closed dariosun closed 9 months ago

dariosun commented 10 months ago

Hi there, I've moved my volumes to another machine which has been working fine so far. Now I just wanted to change some exercise by adding some pictures.. Didn't work, same with the gallery. There seems to be a permission issue, any clues how to solve that? wger_server log: PermissionError: [Errno 13] Permission denied: '/home/wger/media/exercise-images/1223'

dariosun commented 9 months ago

Okay, it was a chown-problem. I made user/group 1000 the owner of celery-beat, media, and static volumes. Also set postgres-data to user 70 and redis to user 999. That did the trick.