Content
You are here:
Restore failed
Added by Andreas Keller almost 7 years ago
I tried to put an OpenProject installation to another server. Both Debian 8, same installation with postgresql.
After installation of OpenProject on the new server I changed the config/database.yml and restored the database from the other installation. And I installed the /var/db/openproject directory.
Everything is ok but the workpackes are not displayed. The rows are displayed but information is invisible.
This on new Firefox, Safari etc. I deleted cache but no results. In the log file there is no error.
Replies (4)
Und wenn ich ein neues Projekt anlegen will, bekomme ich folgende Fehlermeldung:
F, [2017-11-27T18:41:49.943491 #8042] FATAL — :
F, [2017-11-27T18:41:49.943588 #8042] FATAL — : NoMethodError (undefined method `attribute_visibility’ for #Type:0x005584ef00a9c8):
F, [2017-11-27T18:41:49.943610 #8042] FATAL — :
F, [2017-11-27T18:41:49.943634 #8042] FATAL — : app/controllers/projects_controller.rb:95:in `create’
F, [2017-11-27T18:41:49.943658 #8042] FATAL — : app/middleware/reset_current_user.rb:47:in `call’
Did you run
openproject configure
after each package update? This executes the migrations and the error message you attached is caused by a missing database migration.Best,
Oliver
Yes, Oliver, normally I did it. Perhaps I missed it once after an update.
What can I do now?
Greetings
Andreas
Resolved. The problem was a different repository unter /etc/apt/sources.list.d on the new server. V.6 instead V.7. This was the reason the restore of the database was broken.
Thanks Oliver for the hint about missing integration!