Defect #22014
closed
migrated to new version on new host. Now getting an error
Added by Jeff Balicki over 10 years ago.
Updated almost 10 years ago.
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'
- Status changed from New to Needs feedback
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?
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.
- Status changed from Needs feedback to Closed
- Resolution set to No feedback
No feedback from original author.
Also available in: Atom
PDF