Project

General

Profile

A Problem about "DL is deprecated, please use Fiddle Rails Error: Unable to access log file."

Added by coleman lee over 9 years ago

Hi, Jean:
I am sorry to disturb you, but i met a problem but i can't solve, the error message like this :

C:\Bitnami\redmine-2.6.0-1\apps\redmine>rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)

and then i run:
C:\Bitnami\redmine-2.6.0-1\apps\redmine\htdocs>bundle exec rake redmine:plugins:
migrate RAILS_ENV=production
DL is deprecated, please use Fiddle
Rails Error: Unable to access log file. Please ensure that C:/Bitnami/redmine-2.6.0-1/apps/redmine/htdocs/log/production.log exists and is chmod 0666. The log l
evel has been raised to WARN and the output directed to STDERR until the problem is fixed.
Migrating worklogs (Worklogs)...
rake aborted!
Errno::EACCES: Permission denied - C:/Bitnami/redmine-2.6.0-1/apps/redmine/htdocs/db/schema.rb
C:/Bitnami/redmine-2.6.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.19/lib/active_record/railties/databases.rake:392:in initialize'
C:/Bitnami/redmine-2.6.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.19/lib/active_record/railties/databases.rake:392:in `open'
C:/Bitnami/redmine-2.6.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.19/lib/active_record/railties/databases.rake:392:in `block (3 levels) in <top (required)>'C:/Bitnami/redmine-2.6.0-1/apps/redmine/htdocs/lib/tasks/redmine.rake:132:in `bl
ock (3 levels) in <top (required)>'Tasks: TOP => db:schema:dump
(See full trace by running task with --trace)

hope for your reply, thank you.


Replies (3)

RE: A Problem about "DL is deprecated, please use Fiddle Rails Error: Unable to access log file." - Added by coleman lee over 9 years ago

any one can help me?
my OS is Windows 2008 r2,
and the redmine path is in Disk C root.
Programme version is bitnami-redmine-2.6.0-1-windows-installer.

RE: A Problem about "DL is deprecated, please use Fiddle Rails Error: Unable to access log file." - Added by Pavel Potcheptsov over 9 years ago

You can skip Deprecation warning.
Regarding access error, you have to check and grant proper permission to redmine folder.

RE: A Problem about "DL is deprecated, please use Fiddle Rails Error: Unable to access log file." - Added by coleman lee over 9 years ago

Thank you for your help,Pavel.
I have solved this problem like this:

(picture in Chinese)
cacls modify

then i run the command "*bundle exec rake redmine:plugins:migrate RAILS_ENV=production*"

It works successful.

Thank you.

cacls.png (22.2 KB) cacls.png cacls modify
    (1-3/3)