Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Restore failed

Restore failed

Added by Andreas Keller over 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)

RE: Restore failed - Added by Andreas Keller over 7 years ago

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’

RE: Restore failed - Added by Oliver Günther over 7 years ago

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

RE: Restore failed - Added by Andreas Keller over 7 years ago

Yes, Oliver, normally I did it. Perhaps I missed it once after an update.

What can I do now?

Greetings
Andreas

RE: Restore failed [solved] - Added by Andreas Keller over 7 years ago

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!

  • (1 - 4/4)
Loading...