Jump to content

Broken PS update 1.7.5.0 > 1.7.5.1 with Autoupgrade module


Recommended Posts

On a fresh install of PrestShop 1.7.5.0, I tried to update to v.1.7.5.1 with Autoupgrade module v.4.6.0 but it failed.

Everything works fine for files:
All files upgraded. Now upgrading database...

But for database:

[DEV] ajax request : upgradeDb
Migrating old setting file...
parameters file already exists!
Finished...
[OK] SQL 1.7.5.1 SET SESSION sql_mode=''
[OK] SQL 1.7.5.1 SET NAMES 'utf8'
[OK] SQL 1.7.5.1 ALTER TABLE `ps_supply_order_receipt_history` CHANGE `employee_lastname` `employee_lastname` VARCHAR(255) DEFAULT ''
[OK] SQL 1.7.5.1 ALTER TABLE `ps_product` CHANGE `reference` `reference` varchar(64) DEFAULT NULL
[OK] SQL 1.7.5.1 ALTER TABLE `ps_order_detail` CHANGE `product_supplier_reference` `product_supplier_reference` varchar(64) DEFAULT NULL
[OK] SQL 1.7.5.1 -- Update default links in quick access UPDATE `ps_quick_access` SET `link` = "index.php/improve/modules/manage" WHERE link = "index.php/module/manage"
[OK] SQL 1.7.5.1 UPDATE `ps_quick_access` SET `link` = "index.php/sell/catalog/products/new" WHERE link = "index.php/product/new"
[OK] PHP 1.7.5.1 : /* PHP:ps_1751_update_module_sf_tab(); */

Detailed Symfony error:

[INTERNAL] /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php line 31 - Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException:

The service "prestashop.adapter.category.category_view_data_provider" has a dependency on a non-existent service "prestashop.adapter.feature.multistore".

#0 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(60): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Object(Symfony\Component\DependencyInjection\Reference), false)

#1 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(28): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, false)

#2 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(67): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Array)

#3 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(28): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)

#4 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(60): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)

#5 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(28): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, true)

#6 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(39): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Array, true)

#7 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php(141): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))

#8 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(788): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))

#9 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(637): Symfony\Component\DependencyInjection\ContainerBuilder->compile()

#10 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer()

#11 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(148): Symfony\Component\HttpKernel\Kernel->boot()

#12 /vagrant/httpdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(135): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()

#13 /vagrant/httpdocs/src/PrestaShopBundle/Service/Database/Upgrade.php(40): Symfony\Bundle\FrameworkBundle\Console\Application->add(Object(PrestaShopBundle\Command\UpdateSchemaCommand))

#14 /vagrant/httpdocs/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(74): PrestaShopBundle\Service\Database\Upgrade->addDoctrineSchemaUpdate()

#15 /vagrant/httpdocs/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(54): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->runSchemaUpgradeCommand()

#16 /vagrant/httpdocs/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(81): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->upgradeDb('1.7.5.0')

#17 /vagrant/httpdocs/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(41): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade()

#18 /vagrant/httpdocs/admingklmp2wvp/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run()

#19 {main}

I can only rollback files, admin is not working. Does anyone have same issue?

Link to comment
Share on other sites

  • 10 months 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...