Jump to content

Problème de mise à jour 1.7.6.3 to 1.7.8.1


tealcfr
 Share

Recommended Posts

Bonjour,

Sur mon env. de preprod j'ai souhaiter monter de version vers 1.7.8.1

La mise à jour via l'outil 1 Click Upgrade s'est arrêté avec le message suivant

 

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

 

Résultat des courses mon admin est planté avec les logs suivants :

 

2021-11-20 10:41:02	Error	86.192.208.209	500	GET /admin8449/ HTTP/1.0		Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36	729	Apache SSL/TLS access
2021-11-20 10:41:02	Warning	86.192.208.209		mod_fcgid: stderr: PHP Fatal error: Uncaught Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException: Expected to find class "PrestaShopBundle\\Controller\\Admin\\Sell\\index" in file "/var/www/vhosts/domain.com/preprod.domain.com/src/PrestaShopBundle/Controller/Admin/Sell/index.php" while importing services from resource "/var/www/vhosts/domain.com/preprod.domain.com/app/../src/PrestaShopBundle/Controller/*", but it was not found! Check the namespace prefix used with the resource. in /var/www/vhosts/domain.com/preprod.domain.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php:157				Apache error
2021-11-20 10:41:02	Warning	86.192.208.209		mod_fcgid: stderr: Stack trace:				Apache error
2021-11-20 10:41:02	Warning	86.192.208.209		mod_fcgid: stderr: #0 /var/www/vhosts/domain.com/preprod.domain.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php(57): Symfony\\Component\\DependencyInjection\\Loader\\FileLoader->findClasses('PrestaShopBundl...', '/var/www/vhosts...', '/var/www/vhosts...')				Apache error
2021-11-20 10:41:02	Warning	86.192.208.209		mod_fcgid: stderr: #1 /var/www/vhosts/domain.com/preprod.bou in /var/www/vhosts/domain.com/preprod.domain.com/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php on line 168

 

Etant donné que c'est ma preprod, c'est pas dramatique, je peux recharger une ancienne version, mais à tout hasard est-ce qu'il existe un tips qui me permets de debugger l'admin rapidement dans cette situation ?

 

Par contre le point crucial est : pourquoi la mise à jour ne va pas à son terme ?

Je présume que le noyau de mon presta n'a pas été modifié alors pourquoi je devrait faire ça ?

Quote

Check the namespace prefix used with the resource in /var/www/vhosts/domain/preprod.domain.com/app/config/config.yml

 

Avant la mise à jour, j'avais bien vérifié la compatibilité de mon install et l'activation des services demandés, tout était au vert !

 

Merci pour toutes information qui permettrons d'orienter mes recherches, voir de résoudre mon problème :)

 

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More