Jump to content

Click Upgrade error


AcidLava

Recommended Posts

Hello,

When updating via Click Upgrade from Presta 1.7.3 to 1.7.8.11, I encounter the following error as soon as it reaches "All files upgraded. Now upgrading database...":

[INTERNAL] /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php line 168 - Symfony\Component\Config\Exception\FileLoaderLoadException: Expected to find class "PrestaShopBundle\Controller\Admin\Configure\index" in file "/home/bfuymqx/www/src/PrestaShopBundle/Controller/Admin/Configure/index.php" while importing services from resource "/home/bfuymqx/www/app/../src/PrestaShopBundle/Controller/*", but it was not found! Check the namespace prefix used with the resource in /home/bfuymqx/www/app/config/config.yml (which is being imported from "/home/bfuymqx/www/app/config/config_prod.yml"). #0 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('/home/bfuymqx/w...', NULL, false, '/home/bfuymqx/w...') #1 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(195): Symfony\Component\Config\Loader\FileLoader->import('config.yml', NULL, false, '/home/bfuymqx/w...') #2 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(127): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseImports(Array, '/home/bfuymqx/w...') #3 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php(40): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/home/bfuymqx/w...', NULL) #4 /home/bfuymqx/www/app/AppKernel.php(150): Symfony\Component\Config\Loader\DelegatingLoader->load('/home/bfuymqx/w...') #5 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(776): AppKernel->registerContainerConfiguration(Object(Symfony\Component\Config\Loader\DelegatingLoader)) #6 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(642): Symfony\Component\HttpKernel\Kernel->buildContainer() #7 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer() #8 /home/bfuymqx/www/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(67): Symfony\Component\HttpKernel\Kernel->boot() #9 /home/bfuymqx/www/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(43): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->initKernel() #10 /home/bfuymqx/www/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(102): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->initConstants() #11 /home/bfuymqx/www/modules/autoupgrade/classes/Task/Upgrade/UpgradeDb.php(45): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #12 /home/bfuymqx/www/modules/autoupgrade/classes/Task/Runner/ChainedTasks.php(61): PrestaShop\Module\AutoUpgrade\Task\Upgrade\UpgradeDb->run() #13 /home/bfuymqx/www/admin/autoupgrade/ajax-upgradetab.php(54): PrestaShop\Module\AutoUpgrade\Task\Runner\ChainedTasks->run() #14 {main}

 

Thanks !

Link to comment
Share on other sites

  • 4 weeks later...
On 8/9/2024 at 11:40 AM, AcidLava said:

while importing services from resource "/home/bfuymqx/www/app/../src/PrestaShopBundle/Controller/*", but it was not found!

How are the permissions set?

Read thru this it might get you on the right track although is for a different system: https://processwire.com/talk/topic/28128-solved-can-php-8-upgrade-cause-problems-with-folder-ownershippermissions/

Link to comment
Share on other sites

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...