Defect #33042
closedFix importing issues due to using the wrong tmp directory
0%
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
Updated by Go MAEDA over 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.
Updated by Gregor Borsemirk over 4 years ago
- Status changed from New to Resolved
Oh, indeed, it's a debian specific issue:
https://salsa.debian.org/ruby-team/redmine/blob/master/debian/patches/0004-Add-multi-tenancy-support.patch
Sorry for the noise
Updated by Gregor Borsemirk over 4 years ago
Reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952417
Updated by Marius BÄ‚LTEANU over 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.