Redmine issue file on Apache load failed
Files cannot be uploaded through the web interface Apache 2.4, Debian
# View the log
$ tail -f -n 50 /var/log/apache2/error.log
# Output:
App 10232 stderr: Errno::EACCES (Permission denied @ dir_s_mkdir - /opt/redmine/redmine-3.3.0/files/2014):
App 10232 stderr: app/models/attachment.rb:116:in `files_to_final_location'
App 10232 stderr: app/controllers/attachments_controller.rb:92:in `upload'
App 10232 stderr: lib/redmine/sudo_mode.rb:63:in `sudo_mode'
#
# Solution: fix permissions for /opt/redmine/redmine-3.3.0/files/
$ chown -R www-data:www-data /opt/redmine/redmine-3.3.0/files/
404 error when opening attachment files Redmine 3.3.0.stable Nginx + Thin