I’m running diaspora on @koehn’s docker image and I’m having a weird issue with uploads that I can’t understand, but I have essentially no knowledge of how the process works.
Right now, my
public/uploads folder is mounted as a managed docker volume. I don’t know why I did this originally, I want it to be a normal docker volume mounted to my config directory. This will make the directory easier to back up.
When I change volumes, uploading no longer works, I get a
500 - Internal Server Error.
As far as I can tell, the process is transparent. I have copied all the old images from the old volume to the new one, and they still show up just fine. I double checked that they’re not cached, if I remove them from the new volume they stop showing up. So the diaspora app is accessing the uploads directory the same as it always does.
What in the world could be causing this? The only thing I can think of is that maybe
nginx is getting in the way? My
nginx config doesn’t reference a particular path at all, it just routes the HTTPS traffic to the server port.
I’ve had issues with nginx before though. For example, I can’t serve any files directly, I have to serve them through the webserver. So I’m betting that this could be the problem.
I can’t find any logs to help me out. The diaspora logs don’t show any activity when I try to upload a file and get an error. I’m not sure how to get the nginx logs.
Does anyone have advice that might help me track down the error?