Jump to content

Upgrade error 8.0.2 to 8.0.3


Pentarou

Recommended Posts

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 by Pentarou (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

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

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...