Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I moved this issue to grocy/grocy-docker.
Seems to be the same as #11.
Still not using Docker myself, but I also run grocy exclusively on nginx/PHP-FPM and another nginx in front as a reverse proxy, so here is the full config of https://demo-en.grocy.info - maybe that helps...
Quick Addition to the below: Doing
I was having this same issue with the 404 error. After a lot of poking around and binding a volume for the nginx log I determined it seems to be caused by a lack of permissions for /var/tmp/nginx/client_body. I am unsure why this is occurring exactly but what appears to happen is a temp file is created in that directory for file uploads and for whatever reason fails to open. Below is the log line that occurs when an upload happens. The reason for the 404 though is caused by a lack of a 50x.html file which would normally be displayed when the error below occurs. I changed the worker processes to be run as root which seems to be working (though obviously not ideal). I am not great at docker or nginx so I am not entirely sure how to go about resolving this. But hopefully this info assists with it being taken care of. I will continue trying different things to get it working but I don't have a huge amount of time during the week.