Project

General

Profile

Actions

Defect #22014

closed

migrated to new version on new host. Now getting an error

Added by Jeff Balicki about 8 years ago. Updated over 7 years ago.

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

0%

Estimated time:
Resolution:
No feedback
Affected version:

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'

Actions #1

Updated by Toshi MARUYAMA about 8 years ago

  • Status changed from New to Needs feedback
Actions #2

Updated by Felix Engel over 7 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?

Actions #3

Updated by Toshi MARUYAMA over 7 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.

Actions #4

Updated by Toshi MARUYAMA over 7 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to No feedback

No feedback from original author.

Actions

Also available in: Atom PDF