Closed Slinky-Wrangle-Punch closed 3 years ago
okay... I continued today with some more error debugging. It seems like the error occurs after I restore some images with the code from the docu:
docker cp /dir/on/local/system/site-media/. openeats_api_1:/code/site-media/
The problem was that the permissions weren't correct inside of the docker. I fixed it inside of the docker:
first opened the docker with:
docker-compose -f docker-prod.yml run --rm --entrypoint 'sh' api
Then changed the permissions:
chmod -R 755 /code/site-media/
I'm using the docker version. Everything is working, BUT:
The custom food images aren't loading. Even in the admin page I get an "500 Internal Server Error" if I want to open the image directly (e.g. with the path /site-media/upload/recipe_photos/example-image.png)
Did I get some settings wrong or this a bug?
my env_prod.list:
my docker-prod.override.yml: