core icon indicating copy to clipboard operation
core copied to clipboard

Unable to execute upgrade task : Task04300UpdateSystemFolderIdentifier

Open shaydotcms opened this issue 8 years ago • 1 comments

We have problems upgrading from 3.x version to the last master using mssql server Running select * from db_version shows last task is 4230

Expected Behavior

We should be able to upgrade without problems

Current Behavior

We have a FATAL error and we are unable to start the instance This is part of the log:

FATAL startup.StartupTasksExecutor: Unable to execute the upgrade task : Task04300UpdateSystemFolderIdentifier
com.dotmarketing.exception.DotDataException: The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "folder_identifier_fk"

https://gist.github.com/shaydotcms/369b7765e1a54b7bea9711c6437bbe6f

Steps to Reproduce (for bugs)

  1. Start a dotcms 3.x instance
  2. Copy the assets to the master folder
  3. Using the same database start the master instance
  4. Check the dotcms.log file

Your Environment

  • dotCMS version used: upgrade from dotcms_3.x to master branch
  • Database and version: SQLServer 2012
  • Operating System and version: Win7 Pro SP1
  • Browser Name and version: Firefox v57.0.4
  • Application Server and version: Tomcat 8
  • Java Brand and version: Java 8

shaydotcms avatar Jan 22 '18 15:01 shaydotcms

Passed QA. Successfully upgrade from 3.x to master Win7 Pro SP1 / SQLServer 2012 / Chrome v54.0.2840.98 / Tomcat 8 / Java 8 /

shaydotcms avatar Jan 24 '18 20:01 shaydotcms