Marquys Posted January 7, 2023 Share Posted January 7, 2023 (edited) 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 January 7, 2023 by Marquys (see edit history) 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