The Redmine in this article was version up, however, was modified since the problem has occurred.
Problem Internal Server Error occurs when you try to open the Settings screen. In addition, also it fails by Internal Server Error when the file is attached.
Redmine3.1.1-> to 3.2.2 version up in safe and easily with 30 minutes - designetwork(EN)
Authority added to the configuration file
Error elimination of setting screen
That's the state of the up to here, an error occurs when you select the "Administration"> "Settings".
Internal error
An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
The reason for this is lack authority of the new version of the file.
Old
[root@CentOS-01 ~]# ls -l /var/lib/redmine/tmp total 0 drwxr-xr-x. 2 apache apache 6 May 24 02:03 cache ...
New
[root@CentOS-01 ~]# ls -l /var/lib/redmine-3.2.2/tmp total 0 drwxrwxr-x. 2 1000 1000 6 May 6 03:39 cache ...
Privileges change.
[root@CentOS-01 ~]# chmod 777 /var/lib/redmine-3.2.2/tmp/cache/ [root@CentOS-01 ~]# ls -l /var/lib/redmine-3.2.2/tmp total 0 drwxrwxrwx. 2 1000 1000 6 May 6 03:39 cache [root@CentOS-01 ~]# service httpd restart
This becomes accessible to the setting screen.
Attachments
Here in order to eliminate the error at the time of file attachments.
Old
[root@CentOS-01 ~]# ls -l /var/lib/redmine total 52 drwxr-xr-x. 3 apache apache 33 Apr 22 19:04 files ...
New
[root@CentOS-01 ~]# ls -l /var/lib/redmine-3.2.2/ total 52 drwxrwxr-x. 3 1000 1000 33 May 26 01:46 files ...
Similarly, the authority added.
[root@CentOS-01 ~]# chmod 777 -R /var/lib/redmine-3.2.2/files/ [root@CentOS-01 ~]# ls -l /var/lib/redmine-3.2.2/ total 52 drwxrwxrwx. 3 1000 1000 33 May 26 01:46 files [root@CentOS-01 ~]# service httpd restart
This also allows for file attachments.