Skip to content

Upgrade from 8.2.1 to 8.4.0 RC2/RC3 fails #6674

@Ruud-Zuiderlicht

Description

@Ruud-Zuiderlicht

When upgrading a vanilla install of 8.2.1 to 8.4.0 RC2 (and also tested in 8.4.0 RC3) the upgrade runs into an error in Migration Version20170804000000.php. The error reads that column t0.ftLimitedToFileSets does not exist. The property was recently introduced in 1f1fc12#diff-c57dc09a2a2d3a33c61fba505f643c03R112.

This is the exact error message I got plus stack trace for RC3:

An exception occurred while executing 'SELECT t0.ftTypeID AS ftTypeID_1, t0.ftTypeHandle AS ftTypeHandle_2, t0.ftTypeName AS ftTypeName_3, t0.ftTypeWidth AS ftTypeWidth_4, t0.ftTypeHeight AS ftTypeHeight_5, t0.ftTypeIsRequired AS ftTypeIsRequired_6, t0.ftTypeSizingMode AS ftTypeSizingMode_7, t0.ftLimitedToFileSets AS ftLimitedToFileSets_8 FROM FileImageThumbnailTypes t0 WHERE t0.ftTypeHandle = ? LIMIT 1' with params ["file_manager_detail"]:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ftLimitedToFileSets' in 'field list'

File:
/var/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71

Trace:
#0 /var/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine/DBAL/Driver/AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine/DBAL/Driver/PDOException))
#1 /var/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(855): Doctrine/DBAL/DBALException::driverExceptionDuringQuery(Object(Concrete/Core/Database/Driver/PDOMySqlConcrete5/Driver), Object(Doctrine/DBAL/Driver/PDOException), 'SELECT t0.ftTyp...', Array)
#2 /var/www/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(712): Doctrine/DBAL/Connection->executeQuery('SELECT t0.ftTyp...', Array, Array)
#3 /var/www/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(196): Doctrine/ORM/Persisters/Entity/BasicEntityPersister->load(Array, NULL, NULL, Array, NULL, 1, NULL)
#4 /var/www/concrete/src/File/Image/Thumbnail/Type/Type.php(143): Doctrine/ORM/EntityRepository->findOneBy(Array)
#5 /var/www/concrete/src/Updater/Migrations/Migrations/Version20170804000000.php(18): Concrete/Core/File/Image/Thumbnail/Type/Type::getByHandle('file_manager_de...')
#6 /var/www/concrete/src/Updater/Migrations/AbstractMigration.php(81): Concrete/Core/Updater/Migrations/Migrations/Version20170804000000->upgradeDatabase()
#7 /var/www/concrete/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Version.php(297): Concrete/Core/Updater/Migrations/AbstractMigration->postUp(Object(ProxyManagerGeneratedProxy/__PM__/Doctrine/DBAL/Schema/Schema/Generated2e01a7af5663aaa6f05dbe19bed007fa))
#8 /var/www/concrete/src/Updater/Update.php(225): Doctrine/DBAL/Migrations/Version->execute('up')
#9 /var/www/concrete/src/Console/Command/UpdateCommand.php(92): Concrete/Core/Updater/Update::updateToCurrentVersion(Object(Concrete/Core/Updater/Migrations/Configuration))
#10 /var/www/concrete/src/System/Mutex/FileLockMutex.php(95): Concrete/Core/Console/Command/UpdateCommand->Concrete/Core/Console/Command/{closure}()
#11 /var/www/concrete/src/Console/Command/UpdateCommand.php(93): Concrete/Core/System/Mutex/FileLockMutex->execute('core_system_upg...', Object(Closure))
#12 /var/www/concrete/vendor/symfony/console/Command/Command.php(252): Concrete/Core/Console/Command/UpdateCommand->execute(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))
#13 /var/www/concrete/src/Console/Command.php(57): Symfony/Component/Console/Command/Command->run(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))
#14 /var/www/concrete/vendor/symfony/console/Application.php(946): Concrete/Core/Console/Command->run(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))
#15 /var/www/concrete/vendor/symfony/console/Application.php(248): Symfony/Component/Console/Application->doRunCommand(Object(Concrete/Core/Console/Command/UpdateCommand), Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))
#16 /var/www/concrete/vendor/symfony/console/Application.php(148): Symfony/Component/Console/Application->doRun(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))
#17 /var/www/concrete/src/Foundation/Runtime/Run/CLIRunner.php(63): Symfony/Component/Console/Application->run(Object(Symfony/Component/Console/Input/ArgvInput))
#18 /var/www/concrete/src/Foundation/Runtime/DefaultRuntime.php(102): Concrete/Core/Foundation/Runtime/Run/CLIRunner->run()
#19 /var/www/concrete/dispatcher.php(36): Concrete/Core/Foundation/Runtime/DefaultRuntime->run()
#20 /var/www/concrete/bin/concrete5(85): require('/var/www/co...')
#21 {main}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions