I found a solution.
I found a solution.
Debian's Redmine may have several instances, so the make temporary
directory should be in the instance's directory, not in Redmine's root
temporary directory.
----------------------------- app/models/import.rb -----------------------------
index 71bc3c1..e001d47 100644
@@ -78,7 +78,7 @@ class Import < ActiveRecord::Base
# It is stored in tmp/imports with a random hex as filename
def filepath
if filename.present? && filename =~ /\A[0-9a-f]+\z/
- File.join(Rails.root, "tmp", "imports", filename)
+ File.join(Redmine.root, "tmp", "imports", filename)
else
nil
end
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838632
Title:
Internal Error at Ticket Import
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1838632/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs