core
core copied to clipboard
Unable to execute upgrade task : Task04300UpdateSystemFolderIdentifier
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)
- Start a dotcms 3.x instance
- Copy the assets to the master folder
- Using the same database start the master instance
- 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
Passed QA. Successfully upgrade from 3.x to master Win7 Pro SP1 / SQLServer 2012 / Chrome v54.0.2840.98 / Tomcat 8 / Java 8 /