![]() There is some directories that were owned by root. So I went to the folder and check its ownership: Reading the error logs you will see there is a permission problem in the file storage. # curl '' -X POST -H 'X-Redmine-API-Key: ' -H 'Content-Type: application/octet-stream' -data-binary errors (/var/log/redmine/default/production.log):Ĭompleted 500 Internal Server Error in 15.4msĮrrno::EACCES (Permission denied - /var/lib/redmine/default/files/2016/12):Īpp/models/attachment.rb:108:in `files_to_final_location'Īpp/controllers/attachments_controller.rb:88:in `upload' Here is the command we try (upload file using Redmine's Rest API): But when we developed an external tool to manipulate issues with attachment, I think it's time to seriously looking at the problem and fix it. We ignored it because most of the tickets were created from the email pulling task (IMAP) and the attachments were created just fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |