Pentarou Posted April 9, 2023 Share Posted April 9, 2023 (edited) Hello, While attempting to upgrade from Prestashop 8.0.2 to 8.0.3, I have encountered an error. Although the website seems to be working fine and the BO indicates the version as 8.0.3, I am concerned that the installation process may have been compromised. Is it possible for someone to verify if it is safe to proceed? [2023-04-09 07:54:25] All files upgraded. Now upgrading database... [2023-04-09 07:54:26] [SKIP] directory "/app/cache/" does not exist and cannot be emptied. [2023-04-09 07:54:26] [CLEANING CACHE] File prod removed [2023-04-09 09:54:32] [INTERNAL] /httpdocs/src/PrestaShopBundle/Command/UpdateSchemaCommand.php line 141 - TypeError: Unsupported operand types: int + Doctrine\DBAL\ForwardCompatibility\Result #0 /httpdocs/src/PrestaShopBundle/Command/UpdateSchemaCommand.php(76): PrestaShopBundle\Command\UpdateSchemaCommand->dropExistingForeignKeys() #1 /httpdocs/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): PrestaShopBundle\Command\UpdateSchemaCommand->execute() #2 /httpdocs/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(1039): Symfony\Component\Console\Command\Command->run() #3 /httpdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(97): Symfony\Component\Console\Application->doRunCommand() #4 /httpdocs/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(275): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() #5 /httpdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(83): Symfony\Component\Console\Application->doRun() #6 /httpdocs/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(149): Symfony\Bundle\FrameworkBundle\Console\Application->doRun() #7 /httpdocs/src/PrestaShopBundle/Service/Command/AbstractCommand.php(81): Symfony\Component\Console\Application->run() #8 /httpdocs/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(56): PrestaShopBundle\Service\Command\AbstractCommand->execute() #9 /httpdocs/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader80.php(51): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->runSchemaUpgradeCommand() #10 /httpdocs/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(103): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader80->upgradeDb() #11 /httpdocs/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(42): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #12 /httpdocs/admin/autoupgrade/ajax-upgradetab.php(53): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #13 {main} Edited April 9, 2023 by Pentarou (see edit history) Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted April 9, 2023 Share Posted April 9, 2023 create /app/cache/ folder,make the permission is right Link to comment Share on other sites More sharing options...
coffeejunkie Posted April 25, 2023 Share Posted April 25, 2023 Hi, i m facing same issue now. Did you manage to fix this? If so, what do you need to do? Thanks. PS: Creating folder does not solve the problem. Link to comment Share on other sites More sharing options...
DenaliShop Posted April 27, 2023 Share Posted April 27, 2023 same issue 8.0.3 to 8.0.4 - see my post for code Link to comment Share on other sites More sharing options...
coffeejunkie Posted April 28, 2023 Share Posted April 28, 2023 14 hours ago, DenaliShop said: same issue 8.0.3 to 8.0.4 - see my post for code I don't see your post but aren't you coincidentally on hostinger.com? Link to comment Share on other sites More sharing options...
DenaliShop Posted April 28, 2023 Share Posted April 28, 2023 No im not - have a seperate topic and a github bug submission reference this Link to comment Share on other sites More sharing options...
Pentarou Posted April 28, 2023 Author Share Posted April 28, 2023 Not sure what happened or why, it was a fairly clean install with all unofficial modules disabled. So far it's still running fine, not sure if anything was critically damaged by this, I guess we'll see in the next update. Or I'll just go through the hassle of re-migrating everything to a new Prestashop environment. I have 8 years of Prestashop experience, and update never really wen't smooth for me. Lately to my surprise updating went fine, but this proves again updating is still a bit unstable and good backups are needed at all times. Link to comment Share on other sites More sharing options...
coffeejunkie Posted April 28, 2023 Share Posted April 28, 2023 I don't think that upgrade is usable with this error. I couldn't access any modules configuration from module manager after this error happened to me. It was giving me server error 500. So I rolled back and will wait for some fix for this. Link to comment Share on other sites More sharing options...
CMeier Software Posted May 19, 2023 Share Posted May 19, 2023 Did anyone try to do the update again or know if there is a fix for this issue? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now