Project

General

Profile

Actions

Defect #33042

closed

Fix importing issues due to using the wrong tmp directory

Added by Gregor Borsemirk about 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

The debian package ships redmine in /usr/share/redmine and sets up
instances in /var/lib/redmine.

Without this change the issue importer attempts to create a directory in
the read-only /usr tree:
Completed 500 Internal Server Error
Errno::EACCES (Permission denied @ dir_s_mkdir - /usr/share/redmine/tmp):

Now it uses the intended tmp directory and issues can be imported again:
/var/lib/redmine/default/tmp/imports/350548aee641641463bc89cd6043738c


Files

Actions #1

Updated by Go MAEDA about 4 years ago

The patch cannot be applied to the core because Redmine does not have Redmine.root method. Please see the attached screenshot.

Probably the issue is specific to Debian. I recommend you to report this issue to the Debian team.

Actions #2

Updated by Gregor Borsemirk about 4 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Marius BÄ‚LTEANU about 4 years ago

  • Tracker changed from Patch to Defect
  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Thanks for detecting and reporting the issue to the Debian team. I'm closing this.

Actions

Also available in: Atom PDF