Project

General

Profile

Upgrade from 1.3.0.stable (MySQL) to 3.1.0.stable.14471 (last ver.)

Added by Alex March over 8 years ago

I have work base RedMine on Windows ver. 1.3.0.stable (MySQL) (very old release...)
I want to upgrade it to ver. Redmine 3.1.0.stable.14471 (MySQL) (last ver...)

1. I make a copy of the production server to a virtual machine.
To upgrade RedMain according to the instructions:
http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade
- upgrade program modules
- upgrade base
- export DB !!!

2. Install Ubuntu 14.04, Apache, RVM, Passenger according to the manual: (good manul )
Install Ubuntu 14.04, Apache, PBM, Passenger according to the manual:
http://martin-denizet.com/install-redmine-2-5-x-git-subversion-ubuntu-14-04-apache2-rvm-passenger/

With a new clean database RedMain everything works fine. (!!!!)

I create a new database.
Are imported into the database dump.
RedMayn starts and runs normally.
But when you try to create a new role, I get an error:
- in browser: Internal Errorr
- in redmine/log/production.log:

Started GET "/roles" for 192.168.21.1 at 2015-08-05 23:22:42 +0300
Processing by RolesController#index as HTML
Current user: Alex (id=13)
Rendered roles/index.html.erb within layouts/admin (19.4ms)
Rendered admin/_menu.html.erb (4.9ms)
Rendered layouts/base.html.erb (15.6ms)
Completed 200 OK in 48ms (Views: 41.2ms | ActiveRecord: 1.0ms)
Started GET "/roles" for 192.168.21.1 at 2015-08-05 23:23:15 +0300
Processing by RolesController#index as HTML
Current user: Alex (id=13)
Rendered roles/index.html.erb within layouts/admin (34.5ms)
Rendered admin/_menu.html.erb (8.0ms)
Rendered layouts/base.html.erb (24.9ms)
Completed 200 OK in 78ms (Views: 69.4ms | ActiveRecord: 1.3ms)
Started GET "/roles/new" for 192.168.21.1 at 2015-08-05 23:23:47 +0300
Processing by RolesController#new as HTML
Current user: Alex (id=13)
Rendered roles/_form.html.erb (3.4ms)
Rendered roles/new.html.erb within layouts/admin (4.4ms)
Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.8ms)

ActionView::Template::Error (undefined method `time_entries_visibility' for #<Role:0x0000000311a4b0>):
11: <% end >
12:
13: < unless @role.anonymous? >
14: <p><= f.select :time_entries_visibility, Role::TIME_ENTRIES_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} ></p>
15: < end >
16:
17: <p><= f.select :users_visibility, Role::USERS_VISIBILITY_OPTIONS.collect {|v| [l(v.last), v.first]} %></p>
lib/redmine/views/labelled_form_builder.rb:38:in `select'
app/views/roles/_form.html.erb:14:in `_app_views_roles__form_html_erb__3577587728380295913_48700620'
app/views/roles/new.html.erb:4:in `block in app_views_roles_new_html_erb__1188076073723669308_48650680'
app/helpers/application_helper.rb:1027:in `labelled_form_for'
app/views/roles/new.html.erb:3:in `_app_views_roles_new_html_erb___1188076073723669308_48650680'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

How to fix this problem ???

Thanks in advance for any assistance, Alex
)))


    (1-1/1)