core icon indicating copy to clipboard operation
core copied to clipboard

Unable to upgrade from 2.5 to 4.0

Open bryanboza opened this issue 9 years ago • 7 comments

Expected Behavior

We should be able to upgrade from any version to the last one

Current Behavior

We are having some problems in the task ``Task03140AddFileAssetsIntegrityResultTable``, then the system isn't starting

Steps to Reproduce (for bugs)

  1. Start dotCMS-2.5
  2. Shutdown
  3. Copy the assets file
  4. Start dotCMS-3.7

Your Environment

Tested on OSX // MySQL // dotCMS-2.5 ==> dotCMS-3.7

bryanboza avatar Jan 06 '17 14:01 bryanboza

The same problem with Postgres and MySQL, and with the versions 2.5 and 3.2.1

bryanboza avatar Jan 06 '17 19:01 bryanboza

Tasks Task03510CreateDefaultPersona and Task03140AddFileAssetsIntegrityResultTable need to be altered to avoid doing API calls and only have static sql.

dsilvam avatar Jan 09 '17 20:01 dsilvam

PR Core: https://github.com/dotCMS/core/pull/10446 PR Enterprise: https://github.com/dotCMS/enterprise-2.x/pull/410

nollymar avatar Jan 12 '17 17:01 nollymar

Passed QA Tested with started data and cliente data using MySQL and Postgres db Successfully upgraded from dotcms_2.5.7 to 4.0

shaydotcms avatar Jan 23 '17 18:01 shaydotcms

Note to QA: Let's also test a migration from Oracle and MSSQL to 4.0 using client's db

dsilvam avatar Jan 23 '17 19:01 dsilvam

MSSQL: Successfully upgrade from 3.7 to 4.0, using client's DB (originally came from 3.3) https://gist.github.com/erickgonzalez/dd41852683bc930ff4709f63b728480b

erickgonzalez avatar Jan 25 '17 18:01 erickgonzalez

Issue with Oracle: https://github.com/dotCMS/core/issues/10654 , after fixing it the upgrade went well.

Log: https://gist.github.com/erickgonzalez/8809820d17947dfbde476e1777701e1a

erickgonzalez avatar Feb 07 '17 20:02 erickgonzalez