Jump to content

Upgrade from 1.7.7.7 to 1.7.8.X [Resolved]


Recommended Posts

Hello

I tryied to upgrade my shop from the version 1.7.7.7 to the 1.7.8.X. I used the 1-click module or manually I have the same error during the doctrine update porcess.

I tried to upgrade a fresh install ( empty product BDD) of the 1.7.7.7 (without any custom module) to 1.7.8 with the same result.

The error message is the table ps_lang already exists...

If I comment the doctrine update process line into the Upgrade.php It works. But I think something should be missed no?

I an under php7.3 and use MariaDb

I'm alone is this case?

Sylvain

Link to comment
Share on other sites

My system - settings 

PrestaShop-versie: 1.7.8.2

info_outline Servergegevens

Serverinformatie: Linux #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Server softwareversie: Apache/2

PHP-versie: 7.3.33

Geheugenlimiet: 256M

Maximale uitvoeringstijd: 30

Maximale bestandsgrootte voor uploads: 64M

Link to comment
Share on other sites

  • sylvainlepetit changed the title to Upgrade from 1.7.7.7 to 1.7.8.X [Resolved]

Hello,

I tried by use the same process to upgrade to the last 1.7.8.3 version, but I have error id=43 when call php install/upgrade/upgrade.php.

I tried from 1.7.8.2 to 1.7.8.3 and tried from 1.7.7.7 to 1.7.8.3 too with the same result.

php 7.4.24
MariaDb : mysql  Ver 15.1 Distrib 10.3.32-MariaDB

Any idea??

Thanks

Sylvain

Link to comment
Share on other sites

I found into the var/cache/prod/20220127_upgrade.log this error message:

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Error upgrading doctrine schema

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error : Updating database schema...

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error : 21:18:23 ERROR     [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "The table with name 'prestashop.ps_product' already exists." ["exception" => Doctrine\DBAL\Schema\SchemaException { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => "The table with name 'prestashop.ps_product' already exists."]

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error : In SchemaException.php line 108:

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :                                                                

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :   The table with name 'prestashop.ps_product' already exists.  

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :                                                                

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: 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>

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :

*ERROR*   v1.7.8.3  2022/01/27 - 21:18:23: Doctrine SQL Error :

 

A false error message?  A bug into the script?

Link to comment
Share on other sites

  • 1 year 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...