Defect #22014
closedmigrated to new version on new host. Now getting an error
0%
Description
migrated to new version on new host. Now getting an error!
NoMethodError (undefined method `default_version_id?' for #<Project:0x007fe30670b818>):
app/models/issue.rb:362:in `project='
app/controllers/issues_controller.rb:423:in `build_new_issue_from_params'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Updated by Toshi MARUYAMA about 9 years ago
- Status changed from New to Needs feedback
See Submissions.
Updated by Felix Engel over 8 years ago
I am getting almost the same error. I also migrated to a new version.
NoMethodError (undefined method `default_version_id?' for #<Project:0x007f110979da58>
Did you mean? default_version
default_version=):
app/models/issue.rb:362:in `project='
app/controllers/issues_controller.rb:423:in `build_new_issue_from_params'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
In fact I just set up a new VM with Ubuntu 16.04 to install redmine via the packagemanager (which btw works like a charm). I kept the DB on our DB-server though. I manually added the tables that werent there from the previios version (3.1.something).
This happens always when I try to add a new ticket to any project. Even newly created ones.
EDIT: Okay, yeah... I could fix it by just adding the column to the 'projects'-table. Because I am a moron anyways: There is a script for updating, right?
Updated by Toshi MARUYAMA over 8 years ago
Felix Engel wrote:
In fact I just set up a new VM with Ubuntu 16.04 to install redmine via the packagemanager
We don't know packagemanager.
Updated by Toshi MARUYAMA over 8 years ago
- Status changed from Needs feedback to Closed
- Resolution set to No feedback
No feedback from original author.