Content
You are here:
File Uploads Fail
Added by Jay Lepore about 8 years ago
When I try to upload a file during the creation of a new Work Task it fails.
Instead I get a pink box with an exclamation point and the file does not appear.
See this video: https://youtu.be/QkJ6XPo_QH4
Also, when I try to upload a document in the Documents plugin and also in the Wiki, I get an Internal error. Not sure if related.
Note: In Administration \ System Settings \ General \ Attachment max. size is set very high 5000000 and well above my image size of 250KB so this is not the problem.
- I am using a self-hosted openproject
- Occurs for all attachment types
- Installation of OpenProject done last month from latest version (on linux server) and otherwise functioning normally
Thanks.
Jay
Replies (1)
I have documented this solution:
File Uploads are handled via the plugin: Documents https://www.openproject.org/help/user-guides/documents/
If you view the contents of /etc/openproject/conf.d/other you will find ATTACHMENTS_STORAGE_PATH=“/var/db/openproject/files”
That folder needs to be both chmod 777 and chown www-data:www-data or file uploading will fail
I could find no documentation anywhere indicating this file storage location but found it hunting and pecking inside files
So this is resolved.