wger-project / docker

Production...ish docker-compose image for wger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't upload pictures after moving volumes to another machine

dariosun opened this issue · comments

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'

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.