Photo upload gives 500 with no error log message if cannot save file
Closed
Photo upload gives 500 with no error log message if cannot save file
Created by: JamesHutchison
This is running GitLab 6.9.2
Summary: Gitlab does not provide a helpful error if it cannot save an uploaded photo due to permissions.
Steps to reproduce: Set the permissions of the uploads directory (i.e. gitlab/public/uploads) such that the process cannot write to it.
Expected Behavior: Gitlab should serve up a 500 error. The access log should indicate the 500 error, and the error log should provide a helpful error message.
Observed Behavior: Gitlab returns 500, the access log indicates the 500 error. The error log provides no message.
Created by: JamesHutchison
Honestly I can't explain the exact log because I didn't set up the install. We have an access log which shows the requests and an error log which shows errors. I'm guessing one is just stdout and the other stderror. I know for certain that at least some errors from gitlab make it to the error log because we had an earlier misconfiguration and could see the error. It could be that the lack of an error message is an artifact of our set-up, but it should be easy to test this to validate if the issue exists or not.
By Administrator on 2014-08-21T08:26:12 (imported from GitLab project)