we have uploaded the patch files from 4.0.1 to 4.1.1 and when we have run the upgrade script , the progress was stopped and the end of the bar and it was stacked there , we have waiting a long time to complete the upgrade, so mush time for waiting without any progress . so we have relunshed the upgrade again, then the progress show a error
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-3571' for key 'PRIMARY' on line 196 in /home/XXXX/public_html/vendors/minphp/db/src/PdoConnection.php
Question
Blesta Addons
we have uploaded the patch files from 4.0.1 to 4.1.1 and when we have run the upgrade script , the progress was stopped and the end of the bar and it was stacked there , we have waiting a long time to complete the upgrade, so mush time for waiting without any progress . so we have relunshed the upgrade again, then the progress show a error
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-3571' for key 'PRIMARY' on line 196 in /home/XXXX/public_html/vendors/minphp/db/src/PdoConnection.php
Printing Stack Trace:
#0 /home/xxxx/public_html/vendors/minphp/db/src/PdoConnection.php(196): PDOStatement->execute(Array)
#1 /home/xxxx/public_html/vendors/minphp/record/src/Record.php(275): Minphp\Db\PdoConnection->query('INSERT INTO `se...', Array)
#2 /home/xxxx/public_html/components/upgrades/tasks/upgrade4_1_1.php(95): Minphp\Record\Record->insert('service_invoice...', Array, Array)
#3 /home/xxxx/public_html/components/upgrades/tasks/upgrade4_1_1.php(54): upgrade4_1_1->addServiceInvoiceAssociations()
#4 /home/xxxx/public_html/components/upgrades/upgrades.php(266): upgrade4_1_1->process('addServiceInvoi...')
#5 /home/xxxx/public_html/components/upgrades/upgrades.php(101): Upgrades->processObject(Object(upgrade4_1_1), NULL)
#6 /home/xxxx/public_html/app/controllers/admin_upgrade.php(108): Upgrades->start('4.1.0-b1', '4.1.1')
#7 /home/xxxx/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php(143): AdminUpgrade->process()
#8 /home/xxxx/public_html/index.php(21): Dispatcher::dispatch('/admin/upgrade/...')
#9 {main}
how we should verify if the upgrade was completed successfully or how we should re-run the upgrade script ?
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.