Web 顯示
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.
檢查 /usr/local/share/redmine-2.1.2/log/production.log
Errno::EACCES (Permission denied - /usr/local/share/redmine-2.1.2/tmp/pdf):
lib/redmine/export/pdf.rb:39:in `initialize'
lib/redmine/helpers/gantt.rb:492:in `new'
lib/redmine/helpers/gantt.rb:492:in `to_pdf'
app/controllers/gantts_controller.rb:45:in `show'
app/controllers/gantts_controller.rb:42:in `show'
work around:
create folder /usr/local/share/redmine-2.1.2/tmp/pdf
chmode 777 /usr/local/share/redmine-2.1.2/tmp/pdf
sudo /etc/init.d/apache2 restart
The problem is why I don't have a user named redmine and apache?