Project

General

Profile

Actions

Defect #25619

closed

2.6.0 upgrade to 3.3.3 NoMethodError (undefined method accessor...)

Added by david tse about 7 years ago. Updated about 7 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

C:\Bitnami\redmine-3.3.3-0\mysql -u root -p bitnami_redmine < redmine260.sql
C:\Bitnami\redmine-3.3.3-0\apps\redmine\htdocs>ruby bin/rake db:migrate RAILS_ENV=production
Now,
The projects page is OK, http://127.0.0.1/redmine/projects
but the project and the issue page prompt ERROR.

(Attached the full version of the log file)
Part of the LOG file:
NoMethodError (undefined method `accessor' for #<ActiveRecord::Type::Value:0x821e860>):
app/models/role.rb:213:in `permissions_all_trackers'
app/models/role.rb:222:in `permissions_all_trackers?'
app/models/issue.rb:168:in `block in visible?'
app/models/user.rb:641:in `block in allowed_to?'
app/models/user.rb:638:in `each'
app/models/user.rb:638:in `any?'
app/models/user.rb:638:in `allowed_to?'
app/models/issue.rb:153:in `visible?'
app/controllers/application_controller.rb:324:in `find_issue'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'


Files

production.log (19.8 KB) production.log david tse, 2017-04-17 05:13
Actions #1

Updated by Toshi MARUYAMA about 7 years ago

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

Try rake db:migrate.
Please use forum for question.

Actions

Also available in: Atom PDF