Defect #34125
closed500 error after migration to Redmine 4.1.1
0%
Description
After upgrading from Redmine 3.4 to v 4.1.1 I have 500 error during the time entry update.
Started GET "/time_entries/new" for ................. at 2020-10-16 11:22:40 +0200
Processing by TimelogController#new as HTML
Current user: .......... (id=5)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 13.2ms)
ActiveModel::MissingAttributeError (can't write unknown attribute `author_id`):
app/models/time_entry.rb:98:in `initialize'
app/controllers/timelog_controller.rb:95:in `new'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
Environment:
Redmine version 4.1.1.stable.20036
Ruby version 2.6.0-p0 (2018-12-25) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter SQLServer
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed
Updated by Pavel Rosický about 4 years ago
please run migrations rake db:migrate RAILS_ENV=production and restart the server according to the https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade guide
Updated by Go MAEDA about 4 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Updated by Kenneth Troxell about 4 years ago
Pavel Rosický wrote:
please run migrations rake db:migrate RAILS_ENV=production and restart the server according to the https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade guide