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. integrale database and files from OP 2.4 to OP 3.0

integrale database and files from OP 2.4 to OP 3.0

Added by Deleted user over 11 years ago

Hello,

have OpenProject 3 installed and would now like to integrate the 2.4 database tables and files of the open project on the 3.0. is possible or what should I look for there?
For I have received an error message.
what data must actually be copied from the 2.4 to the 3.0?

regards janek

more error messages

after I have imported into the database 3.0, 2.4 and op “bundle exec rake db: migrate” have executed this error message came.


Replies (5)

RE: integrale database and files from OP 2.4 to OP 3.0 - Added by Hagen Schink over 11 years ago

Hello Janek,

you need to prepare the legacy data before you can actually migrate it. First of all I recommend you to use the migrations:change_timestamps_to_utc rake task if your local timezone is different to UTC like this:

FROM="Europe/Berlin" rake migrations:change_timestamps_to_utc

Don’t forget to replace Europre/Berlin by your timezone. So, you should start the migration with the following command:

FROM="Europe/Berlin" rake migrations:change_timestamps_to_utc db:migrate

Regarding the last error message: Documents are not supported for projects and versions by OpenProject 3.0. Thus, you need to delete documents with rake task migrations:attachments:delete_from_projects_and_versions as described in the error message.

I hope this helps you to get through the migration. If not, don’t hesitate to get back to us with your questions. Note that we are constantly working on OpenProject, so you should try to get the latest revision from GitHub.

Kind regards,
Hagen

RE: integrale database and files from OP 2.4 to OP 3.0 - Added by Deleted user over 11 years ago

hello Hagen,

when I enter the two commands, comes this:

RE: integrale database and files from OP 2.4 to OP 3.0 - Added by Hagen Schink over 11 years ago

Hello Janek,

yeah, you need to load time zone information into your database beforehand. You’ll find details in the MySQL documentation. For Ubuntu this means you need to issue the following command:

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

Kind regards,
Hagen

RE: integrale database and files from OP 2.4 to OP 3.0 - Added by Sebastian Schuster over 11 years ago

Well, assuming you are on a Linux system, you should just run the above command to load the timezone data.
This way MySQL knows how to convert timestamps in different zones from summer to winter time and so on.
Don’t forget to create backups before doing anything. This is essentially still a Beta state…

Regards,
Sebastian

RE: integrale database and files from OP 2.4 to OP 3.0 - Added by Sebastian Schuster over 11 years ago

I should probably reload a page before starting to write answers…

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