steiza / docstore

For any civics-minded organization that needs a simple place to host documents publicly
http://a2docs.org/
7 stars 4 forks source link

500: Internal Server Error on upload #14

Closed vielmetti closed 8 years ago

vielmetti commented 8 years ago

I just tried to upload the CARD presentation on the 1,4 Dioxane plume and got an internal server error. The time was approximately 0815 on 2/29.

500: Internal Server Error

screen shot 2016-02-29 at 8 16 17 am

eby commented 8 years ago

This should be fixed now. When I rolled out the fixed storage dump for multiple files I forgot to update the permissions.

eby commented 8 years ago

I'm not sure how easy it would be but probably should have it check the storage directory permissions and warn you if it won't be able to write.

steiza commented 8 years ago

Sounds good to me! Check out https://github.com/steiza/docstore/commit/ba44b459479becf20f1acd8e429de4b8ae84ea4b.