Jump to content

Problème mise à niveau 1.7.8.6 --> 1.7.8.8


Recommended Posts

Hello,

J'ai tenté de faire une mise à niveau de Prestashop 1.7.8.6 vers 1.7.8.8 avec 1 click Upgrade et j'ai l'erreur ci-dessous qui se produit :

14:28:35 ERROR [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "An exception occurred while executing 'ALTER TABLE ps_axepta_order_reference CHANGE id_cart id_cart INT UNSIGNED AUTO_INCREMENT NOT NULL':
SQLSTATE[23000]: Integrity constraint violation: 1062 ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '1' for key 'PRIMARY'" ["exception" => Doctrine\DBAL\Exception\UniqueConstraintViolationException { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => """ An exception occurred while executing 'ALTER TABLE ps_axepta_order_reference CHANGE id_cart id_cart INT UNSIGNED AUTO_INCREMENT NOT NULL':\n \n SQLSTATE[23000]: Integrity constraint violation: 1062 ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '1' for key 'PRIMARY' """]
In AbstractMySQLDriver.php line 55:
An exception occurred while executing 'ALTER TABLE ps_axepta_order_referenc
e CHANGE id_cart id_cart INT UNSIGNED AUTO_INCREMENT NOT NULL':
SQLSTATE[23000]: Integrity constraint violation: 1062 ALTER TABLE causes au
to_increment resequencing, resulting in duplicate entry '1' for key 'PRIMAR
Y'
In PDOConnection.php line 90:
SQLSTATE[23000]: Integrity constraint violation: 1062 ALTER TABLE causes au
to_increment resequencing, resulting in duplicate entry '1' for key 'PRIMARY'
In PDOConnection.php line 88:
SQLSTATE[23000]: Integrity constraint violation: 1062 ALTER TABLE causes au
to_increment resequencing, resulting in duplicate entry '1' for key 'PRIMAR
Y'
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]] [--]

Error during database upgrade. You may need to restore your database.
Error upgrading Doctrine schema

Que faire ?

Merci pour votre aide

Edited by Marquys (see edit history)
Link to comment
Share on other sites

  • Marquys changed the title to Problème mise à niveau 1.7.8.6 --> 1.7.8.8

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