Update fails 8.4.0 to 8.4.1
Permalink 1 user found helpful
I dont now what is wrong again, but after update (replace directory) i cant even login on site or see error logs.
You might want to check the web server logs. Or you'd try to look into the Logs table in your database (manager) to see what's causing problems.
hey, thanks for the reply!
Last server error log says:
[Sat Jul 14 04:55:37.844015 2018] [proxy_fcgi:error] [pid 3745:tid 140318767896320] [client ###.212.149.40:64379] AH01071: Got error 'PHP message: PHP Warning: require(concrete/dispatcher.php): failed to open stream: No such file or directory in /home/####/domains/####/public_html/index.php on line 2\nPHP message: PHP Warning: require(concrete/dispatcher.php): failed to open stream: No such file or directory in /home/####/domains/####/public_html/index.php on line 2\nPHP message: PHP Fatal error: require(): Failed opening required 'concrete/dispatcher.php' (include_path='.:/usr/local/php70/lib/php') in /home/####/domains/####/public_html/index.php on line 2\n'
Last server error log says:
[Sat Jul 14 04:55:37.844015 2018] [proxy_fcgi:error] [pid 3745:tid 140318767896320] [client ###.212.149.40:64379] AH01071: Got error 'PHP message: PHP Warning: require(concrete/dispatcher.php): failed to open stream: No such file or directory in /home/####/domains/####/public_html/index.php on line 2\nPHP message: PHP Warning: require(concrete/dispatcher.php): failed to open stream: No such file or directory in /home/####/domains/####/public_html/index.php on line 2\nPHP message: PHP Fatal error: require(): Failed opening required 'concrete/dispatcher.php' (include_path='.:/usr/local/php70/lib/php') in /home/####/domains/####/public_html/index.php on line 2\n'
OK. Here's what I would do:
1. Check if file exists (/concrete/dispatcher.php.
2. If so, restart PHP / web server to clear the OPCache.
3. If not, copy files again.
1. Check if file exists (/concrete/dispatcher.php.
2. If so, restart PHP / web server to clear the OPCache.
3. If not, copy files again.
I do not think the problem is that.
There is dispatcher.php file as it should be.
I try just new installion and get same error, but there is new error log files in server.
and i do not know how i can start php/webserver again..
our webhost and direct admin console does not allow this directly.
There is dispatcher.php file as it should be.
I try just new installion and get same error, but there is new error log files in server.
and i do not know how i can start php/webserver again..
our webhost and direct admin console does not allow this directly.
Interesting! Would you mind posting a screenshot of your directory listing or the file manager, please?
Thank you for your help .. I appreciate it!
The pages are a in small company .. and the pages must be up in the daytime.
Sorry for delay responses, tests must be done night time.
here is root directory screenshot.. and
would this help?
the debug error output:
Doctrine\DBAL\Exception\InvalidFieldNameException thrown with message "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.ftUpscalingEnabled AS ftUpscalingEnabled_8, t0.ftLimitedToFileSets AS ftLimitedToFileSets_9 FROM FileImageThumbnailTypes t0 WHERE t0.ftTypeHandle = ? LIMIT 1' with params ["file_manager_listing"]:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ftUpscalingEnabled' in 'field list'"
Stacktrace:
#22 Doctrine\DBAL\Exception\InvalidFieldNameException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71
#21 Doctrine\DBAL\Driver\AbstractMySQLDriver:convertException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:128
#20 Doctrine\DBAL\DBALException:driverExceptionDuringQuery in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:855
#19 Doctrine\DBAL\Driver\PDOException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:107
#18 PDOException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
#17 PDOStatement:execute in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
#16 Doctrine\DBAL\Driver\PDOStatement:execute in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:847
#15 Doctrine\DBAL\Connection:executeQuery in /home/###/domains/###/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:712
#14 Doctrine\ORM\Persisters\Entity\BasicEntityPersister:load in /home/###/domains/###/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:196
#13 Doctrine\ORM\EntityRepository:findOneBy in /home/###/domains/###/public_html/concrete/src/File/Image/Thumbnail/Type/Type.php:144
#12 Concrete\Core\File\Image\Thumbnail\Type\Type:getByHandle in /home/###/domains/###/public_html/concrete/src/Updater/Migrations/Migrations/Version20180604000000.php:13
#11 Concrete\Core\Updater\Migrations\Migrations\Version20180604000000:upgradeDatabase in /home/###/domains/###/public_html/concrete/src/Updater/Migrations/AbstractMigration.php:81
#10 Concrete\Core\Updater\Migrations\AbstractMigration:postUp in /home/###/domains/###/public_html/concrete/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Version.php:297
#9 Doctrine\DBAL\Migrations\Version:execute in /home/###/domains/###/public_html/concrete/src/Updater/Update.php:225
#8 Concrete\Core\Updater\Update:updateToCurrentVersion in /home/###/domains/###/public_html/concrete/src/Application/Application.php:210
#7 Concrete\Core\Application\Application:Concrete\Core\Application\{closure} in /home/###/domains/###/public_html/concrete/src/System/Mutex/FileLockMutex.php:95
#6 Concrete\Core\System\Mutex\FileLockMutex:execute in /home/###/domains/###/public_html/concrete/src/Application/Application.php:211
#5 Concrete\Core\Application\Application:handleAutomaticUpdates in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:280
#4 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:handleUpdates in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:332
#3 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:trySteps in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:79
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /home/###/domains/###/public_html/concrete/dispatcher.php:36
#0 require in /home/###/domains/###/public_html/index.php:2
The pages are a in small company .. and the pages must be up in the daytime.
Sorry for delay responses, tests must be done night time.
here is root directory screenshot.. and
would this help?
the debug error output:
Doctrine\DBAL\Exception\InvalidFieldNameException thrown with message "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.ftUpscalingEnabled AS ftUpscalingEnabled_8, t0.ftLimitedToFileSets AS ftLimitedToFileSets_9 FROM FileImageThumbnailTypes t0 WHERE t0.ftTypeHandle = ? LIMIT 1' with params ["file_manager_listing"]:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ftUpscalingEnabled' in 'field list'"
Stacktrace:
#22 Doctrine\DBAL\Exception\InvalidFieldNameException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71
#21 Doctrine\DBAL\Driver\AbstractMySQLDriver:convertException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:128
#20 Doctrine\DBAL\DBALException:driverExceptionDuringQuery in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:855
#19 Doctrine\DBAL\Driver\PDOException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:107
#18 PDOException in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
#17 PDOStatement:execute in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
#16 Doctrine\DBAL\Driver\PDOStatement:execute in /home/###/domains/###/public_html/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:847
#15 Doctrine\DBAL\Connection:executeQuery in /home/###/domains/###/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:712
#14 Doctrine\ORM\Persisters\Entity\BasicEntityPersister:load in /home/###/domains/###/public_html/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:196
#13 Doctrine\ORM\EntityRepository:findOneBy in /home/###/domains/###/public_html/concrete/src/File/Image/Thumbnail/Type/Type.php:144
#12 Concrete\Core\File\Image\Thumbnail\Type\Type:getByHandle in /home/###/domains/###/public_html/concrete/src/Updater/Migrations/Migrations/Version20180604000000.php:13
#11 Concrete\Core\Updater\Migrations\Migrations\Version20180604000000:upgradeDatabase in /home/###/domains/###/public_html/concrete/src/Updater/Migrations/AbstractMigration.php:81
#10 Concrete\Core\Updater\Migrations\AbstractMigration:postUp in /home/###/domains/###/public_html/concrete/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Version.php:297
#9 Doctrine\DBAL\Migrations\Version:execute in /home/###/domains/###/public_html/concrete/src/Updater/Update.php:225
#8 Concrete\Core\Updater\Update:updateToCurrentVersion in /home/###/domains/###/public_html/concrete/src/Application/Application.php:210
#7 Concrete\Core\Application\Application:Concrete\Core\Application\{closure} in /home/###/domains/###/public_html/concrete/src/System/Mutex/FileLockMutex.php:95
#6 Concrete\Core\System\Mutex\FileLockMutex:execute in /home/###/domains/###/public_html/concrete/src/Application/Application.php:211
#5 Concrete\Core\Application\Application:handleAutomaticUpdates in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:280
#4 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:handleUpdates in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:332
#3 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:trySteps in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:79
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /home/###/domains/###/public_html/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /home/###/domains/###/public_html/concrete/dispatcher.php:36
#0 require in /home/###/domains/###/public_html/index.php:2
Can you also share a screenshot of the 'concrete' directory (when you get the error)?
ok, I added 2 Screenshots ..
This is a completely different error? I am not following. Your directory structure looks OK to me. The error you're posting now, seems to be for an existing website. One of the migrations is causing it. Do you have access to a CLI mode?
no access CLI mode .. i think, im not professional :)
Attached a screenshot of how the table FileImageThumbnailTypes should look like in 841.
it looks like this..
I'd manually add that missing column and then refresh the page in the browser.
Hey, it works! Thank you very much super indeed! Just great .. 👍 🙂
Nice!
How does this get past the testing? I don't think I have yet to successfully upgrade any site to any version of 8.x without something blowing up. Very frustrating!!!
It does happen occasionally because there are a lot of different add-ons, themes, and other customizations. If you can reproduce the error, please document it as an issue on GitHub so that future versions can avoid the problem and other people won't have to face the same issue. Since this is open source software, paying it forward by helping to document bugs is one of the primary ways it can improve.
I'm wondering about .htaccess or caches.