Errno::EISDIR (Is a directory - /srv/www/redmine-files/):
Added by Terence Mill over 13 years ago
Always when i try to save any file (attachment) i get the error message
Why is that not working? I have all needed rights and the error message doesn't make sense. Of course its a a directory, what else? Is there missing some filename? subPath ..
ll -a /home/myuser/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -rwxr-xr-x 1 myuser users 103826 8. Mär 11:20 /home/myuser/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
Starting redmine 2.3.2 server
/home/myuser/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/myuser/.rvm/gems/ruby-2.0.0-p0/gems/ruby-debug-ide-0.4.17.beta17/bin/rdebug-ide --port 42716 --dispatcher-port 50618 -- /home/myuser/Dev_WK/redmine-2.3/script/rails server webrick -b 172.16.107.23 -p 3001 -e production
Replies (2)
RE: Errno::EISDIR (Is a directory - /srv/www/redmine-files/):
-
Added by Michele Bollini over 12 years ago
I have exactly the same problem with the v. 2.4.2.
This is what it comes out from the production log
Started POST "/uploads.js?attachment_id=1&filename=viacard.pdf" for <IP Address> at 2014-02-18 18:25:13 +0100
Processing by AttachmentsController#upload as JS
Parameters: {"attachment_id"=>"1", "filename"=>"viacard.pdf"}
Current user: michele.bollini@met.it (id=1)
Completed 500 Internal Server Error in 14.9ms
Errno::EISDIR (Is a directory - /opt/redmine-2.4.2/files/):
app/controllers/attachments_controller.rb:88:in `upload'
| screenshot.png (106 KB) screenshot.png |
RE: Errno::EISDIR (Is a directory - /srv/www/redmine-files/):
-
Added by Maicon Zucco almost 12 years ago
Hi,
I have exactly the same problem with the v. 2.5.2.
I implemented the solution above:
- Create a empty file on Redmine file dir:
- Define the default value for column disk_filename:
- Update the actually empty data on column disk_filename:
Not like a charm, but works.