Project

General

Profile

Actions

Defect #18995

closed

Problem with Clean up - migration 2.5 to 2.6

Added by Ladislav Nesnera about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

# bundle exec rake tmp:cache:clear tmp:sessions:clear
rake aborted!
Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)
/var/lib/gems/1.9.1/gems/mysql2-0.3.17/lib/mysql2/client.rb:70:in `connect'
/var/lib/gems/1.9.1/gems/mysql2-0.3.17/lib/mysql2/client.rb:70:in `initialize
..
..
/var/lib/gems/1.9.1/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/local/lib/redmine/Rakefile:7:in `<top (required)>'
(See full trace by running task with --trace)

Redmine works well after apache restart but only for first look. There is no datepicker, Notes preview or Description editing.
When I tried downgrade I met with this defect #18779

Actions #1

Updated by Toshi MARUYAMA about 9 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Obviously, your user and password in config/database.yml are wrong.

Actions #2

Updated by Ladislav Nesnera about 9 years ago

Big thanks Toshi. It solved my problem.
I met with another one "database configuration does not specify adapter". Solution is to append parameter RAILS_ENV=production. It would be possible to update wiki instructions - http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade#Step-5-Clean-up

Actions #3

Updated by Jean-Philippe Lang about 9 years ago

Wiki updated, thanks.

Actions

Also available in: Atom PDF