Getting a bit stuck on a site upgrade from 3.4 ( After updating via composer getting DB errors.


Integrity constraint violation: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'startDateTime-global' for key 'craft_fields_handle_context_unq_idx'

If I try to restart process (overriding the "It looks like someone is currently performing a system update" warning):

Database Exception: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'elements'
The SQL being executed was: ALTER TABLE craft_fieldlayouttabs ADD elements text AFTER name

Any thoughts on resolving?

  • (have a backup to roll back to same starting point) – Cole Henley Sep 15 '20 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.