Jump to content

Upgrade from 1.7.7.7 to 1.7.8.8


Recommended Posts

Hello,

I'm retry to upgrade from 1.7.7.7 to 1.7.8.8.

I have installed a new host with php7.4 and MySQL 5.7.

I have deleted img, override dir from new version version and remove vendor dir from old version before copy.

I have cleaned the var/cache/ dir before launch the command php install/upgrade/upgrade.php

When I upgrade the database I have the same error into var/cache/prod/20230203_upgrade.log file:

*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Error upgrading doctrine schema^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : Updating database schema...^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : 23:52:24 ERROR     [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "The table with name 'ps_1788.ps_product' already exists." ["exception" => Doctrine\DBAL\Schema\SchemaException { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => "The table with name 'ps_1788.ps_product' already exists."]^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : ^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : In SchemaException.php line 108:^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error :                                                             ^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error :   The table with name 'ps_1788.ps_product' already exists.  ^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error :                                                             ^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : ^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : prestashop:schema:update-without-foreign [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--] <command>^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : ^M
*ERROR*         v1.7.8.8        2023/02/03 - 23:52:24: Doctrine SQL Error : ^M
 

Any idea?

Thanks for your help

Sylvain

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