Project

General

Profile

Actions

Defect #12189

closed

Missing tmp/pdf directory

Added by Anton Chevychalov about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

There is no tmp/pdf directory in default bungle. And it cause the following error during pdf export:

Started GET "/issues/2214.pdf" for 217.73.199.113 at Tue Oct 23 13:11:54 +0400 2012
Processing by IssuesController#show as PDF
  Parameters: {"id"=>"2214"}
  Current user: ac (id=171)
Completed 500 Internal Server Error in 186ms

Errno::EACCES (Permission denied - /opt/redmine-2.1.2/tmp/pdf):
  lib/redmine/export/pdf.rb:39:in `initialize'
  lib/redmine/export/pdf.rb:499:in `new'
  lib/redmine/export/pdf.rb:499:in `issue_to_pdf'
  app/controllers/issues_controller.rb:121:in `show'
  app/controllers/issues_controller.rb:114:in `show'

Solution is just a creation of <redmine_home>/tmp/pdf


Related issues

Related to Redmine - Patch #32924: tmp/pdf directory is no longer necessaryClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF