Redmine Internal Server Error error when file is uploaded after migration

Source: Internet
Author: User
Tags redmine

Redmine version upgrade, we need to do the migration of the database and the migration of the attachment document, when all the work done, I thought everything was all well, but when uploading the attachment, we found the report Internal Server Error Error, unable to complete the upload work.

As shown in the following:

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8C/15/wKioL1hh3ySAppCXAAAJlsRM4Fk958.jpg-wh_500x0-wm_3 -wmp_4-s_1497146040.jpg "title=" Report internal Server error error. jpg "alt=" wkiol1hh3ysappcxaaajlsrm4fk958.jpg-wh_50 "/>


Problem analysis: After opening redmine, to view the upload Files folder read and write permissions, found to be insufficient permissions caused.


650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8C/15/wKioL1hh35iCbyPXAAA5e9ww-VY188.jpg-wh_500x0-wm_3 -wmp_4-s_652039406.jpg "title=" permission. jpg "alt=" wkiol1hh35icbypxaaa5e9ww-vy188.jpg-wh_50 "/>


Solution: Give it permission, command is Chmod-r a+w/files, execute it.

After execution, verify the following permissions:


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8C/15/wKioL1hh4AHQRYZOAAA6nnyO86U123.jpg-wh_500x0-wm_3 -wmp_4-s_1547543814.jpg "title=" Verify permissions. jpg "alt=" wkiol1hh4ahqryzoaaa6nnyo86u123.jpg-wh_50 "/>


Re-visit the site test can be uploaded, the effect is as follows:


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8C/15/wKioL1hh4Fzw6JLtAAAgWW_Y0xg610.jpg-wh_500x0-wm_3 -wmp_4-s_2789611030.jpg "title=" upload. jpg "alt=" wkiol1hh4fzw6jltaaagww_y0xg610.jpg-wh_50 "/>


Perfect solution! Hope that we encounter problems, analysis of problems, and constantly experience, improve their actual combat ability!


Redmine Project management platform of the actual combat video course

Http://edu.51cto.com/course/course_id-3686.html


This article from "Hao Yang _ Habitat" blog, please be sure to keep this source http://zdytesting.blog.51cto.com/5811414/1886451

Redmine Internal Server Error error when file is uploaded after migration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.