relit Posted Saturday at 09:08 AM Share Posted Saturday at 09:08 AM Hello, I am trying to upgrade prestashop from 1.7.8.11 to latest 8.2 with 1click upgrade and i get this error: [INTERNAL] /home/r47431gdsh/public_html/xxxx.xx/vendor/composer/autoload_real.php line 45 - require(): Failed opening required '/home/r47431gdsh/public_html/xxxx.xx/vendor/composer/../react/promise/src/functions_include.php' (include_path='/home/r47431gdsh/public_html/xxxx.xx/vendor/pear/pear_exception:/home/r47431gdsh/public_html/xxxx.xx/vendor/pear/console_getopt:/home/r47431gdsh/public_html/xxxx.xx/vendor/pear/pear-core-minimal/src:/home/r47431gdsh/public_html/xxxx.xx/vendor/pear/archive_tar:.:/opt/cpanel/ea-php74/root/usr/share/pear') (xxxx.xx is the domain) Both BO and FO error 500. I tried: deleting all directories from /var/cache before upgrade. Switching to default theme before upgrade and with option in autoupgrde module disabled all non native modules(manual disabled in BO before upgrade and checbox in autoupgrade module) and override. Upgrade stops at database upgrade with this error. Changed PHP version from 7.4 to 8.x after upgrade. Please Help. I am out of ideas. Thanks in advance. Link to comment Share on other sites More sharing options...
ComGrafPL Posted Saturday at 09:26 AM Share Posted Saturday at 09:26 AM Error was on upgrade process? If you enable debug mode now, what errors do you see? Try with lower PHP version. i.e 8.0 / 1 Link to comment Share on other sites More sharing options...
relit Posted Saturday at 09:31 AM Author Share Posted Saturday at 09:31 AM Hi. Yes error is on upgrade process. I restored the website from manual backup every time and cant do it right now. I enabled debug mode but no page was displayed. I will try again. Forgot to mention i tried deleting /src/PrestaShopBundle/Resources/config/services/adapter/news.yml. Also replaced the vendor from prestashop 1.7.8.11 archive to be shore no files are missing. Regards. Link to comment Share on other sites More sharing options...
relit Posted Saturday at 10:32 AM Author Share Posted Saturday at 10:32 AM Hi, I tried update one more time. Error are the following: FO Errors Fatal error: Uncaught PrestaShop\PrestaShop\Core\Exception\ContainerNotFoundException: Kernel Container is not available in /home/r47431gdsh/public_html/xxxx.xx/src/Adapter/ContainerFinder.php:77 Stack trace: #0 /home/r47431gdsh/public_html/xxxx.xx/classes/module/Module.php(1697): PrestaShop\PrestaShop\Adapter\ContainerFinder->getContainer() #1 /home/r47431gdsh/public_html/xxxx.xx/classes/module/Module.php(1686): ModuleCore::getModuleRepository() #2 /home/r47431gdsh/public_html/xxxx.xx/classes/Hook.php(878): ModuleCore::getNativeModuleList() #3 /home/r47431gdsh/public_html/xxxx.xx/classes/Dispatcher.php(606): HookCore::exec('moduleRoutes', Array, NULL, true, false) #4 /home/r47431gdsh/public_html/xxxx.xx/override/classes/Dispatcher.php(29): DispatcherCore->loadRoutes(1) #5 /home/r47431gdsh/public_html/xxxx.xx/classes/Dispatcher.php(243): Dispatcher->loadRoutes() #6 /home/r47431gdsh/public_html/xxxx.xx/classes/Dispatcher.php(201): DispatcherCore->__construct(Object(Symfony\Component\HttpFoundation\Request)) #7 /home/r47431gdsh/public_html/xxxx.xx/index.php(28): DispatcherCore::getInstance() #8 {main} thrown in /home/r47431gdsh/public_html/xxxx.xx/src/Adapter/ContainerFinder.php on line 77 BO Errors You have requested a non-existent parameter "api_private_key". Symfony\Component\DependencyInjection\Exception\ RuntimeException in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php (line 54) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php -> processValue (line 83) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/DefinitionErrorExceptionPass.php -> processValue (line 32) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php -> processValue (line 47) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php -> process (line 94) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php -> compile (line 762) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> compile (line 594) in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> initializeContainer (line 136) Kernel->boot() in /home/r47431gdsh/public_html/xxxx.xx/app/AppKernel.php (line 96) * {@inheritdoc} */ public function boot() { $this->waitUntilCacheClearIsOver(); parent::boot(); $this->cleanKernelReferences(); } /** * Perform a lock on a file before cache clear is performed, this lock will be unlocked once the cache has been cleared. in /home/r47431gdsh/public_html/xxxx.xx/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> boot (line 196) Kernel->handle(object(Request), 1, false) in /home/r47431gdsh/public_html/xxxx.xx/admin1231981/index.php (line 84) Thanks in advance. Regards, Link to comment Share on other sites More sharing options...
ComGrafPL Posted Saturday at 10:42 AM Share Posted Saturday at 10:42 AM Cleared VAR after upgrade? Try with renaming override/classes/Dispatcher.php . Seems its a issue with some native prestashop module while updating. 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