Closed (outdated)
Project:
Webform
Version:
8.x-5.13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2020 at 11:35 UTC
Updated:
25 May 2020 at 22:19 UTC
Jump to comment: Most recent
Hi
I'm updating drupal to 8.8.9 and webform to 8.5.13
while running the drush command updatedb i'm facing an issue on execution of the webform update 8191
the error says
> [notice] Update started: webform_update_8191
> [error] SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: ALTER TABLE {webform_submission} ADD INDEX `webform_submission__token` (`token`(191)); Array
> (
> )
>
> [error] Update failed: webform_update_8191
[error] Update aborted by: webform_update_8191
[error] Finished performing updates.
[warning] Error while sending QUERY packet. PID=12572 Statement.php:59Do you think this is related to webform or a database error ?
Thank you
Comments
Comment #2
jrockowitz commentedI think the issue could be best fixed by tweaking MySQL.
@see https://severalnines.com/database-blog/how-fix-lock-wait-timeout-exceede...
@see https://support.acquia.com/hc/en-us/articles/360005253954-Fixing-databas...
How many submissions do you have in the webform submission table?
Comment #3
DeithsoHello @jrockowitz
i think it's related to my database the update was stuck at adding index to token
i comment the addIndex to add it later manually, however even manually i've got the same error message
How many submissions do you have in the webform submission table?
I had 2 webforms with 500 submissions in each, at some point users can't submit anymore i already posted an issue
https://www.drupal.org/project/webform/issues/3133913
finally i think it's my database
thank you for the links i'll check
Comment #4
jrockowitz commented