Project

General

Profile

Error 500 when trying to save the settings

Added by Валерий Obama over 13 years ago

Use bitnami-redmine-1.2.0-0 opensuse-11.3

from production.log:
ActiveRecord::StatementInvalid (Mysql::Error: Duplicate entry '0' for key 'PRIMARY': INSERT INTO `settings` (`name`, `updated_on`, `value`) VALUES):
app/models/setting.rb:115:in `[]='
app/controllers/settings_controller.rb:35:in `edit'
app/controllers/settings_controller.rb:32:in `each'
app/controllers/settings_controller.rb:32:in `edit'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)

ActiveRecord::StatementInvalid (Mysql::Error: Duplicate entry '0' for key 'PRIMARY': INSERT INTO `settings` (`name`, `updated_on`, `value`) VALUES):
app/models/setting.rb:115:in `[]='
app/controllers/settings_controller.rb:35:in `edit'
app/controllers/settings_controller.rb:32:in `each'
app/controllers/settings_controller.rb:32:in `edit'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering /opt/bitnami/apps/redmine/public/500.html (500 Internal Server Error)

P/S: At version 1.1.3 bitnami save settings to work!!!


Replies (1)

RE: Error 500 when trying to save the settings - Added by Валерий Obama about 13 years ago

Moderators! delete post please! the problem was not redmine, and dump the database when moving!

    (1-1/1)