Duplicate key error preventing database upgrade

I need to upgrade our OMEKA database. However, there’s an error with the upgrade related to a duplicate column in the database, an “Omeka Duplicate Key Name Modified” error. I need to know how to identify where the duplicate is.

Does anyone have experience identifying and resolving an error like this?

Thank you!

@charlotte_lellman I think error will return the column name were the duplicate found.
Please let me know If you need help further fixing the issue

The error report tells me:

Command: update
Error Code:
Occurred At: 2025-10-02 2:57pm
URL: OnView
Path: /home/collect4/public_html/onview
Database: collect4_omeka:HIDDEN@localhost (omeka_)
ID: 2onhg8mhbp6ocs4s88g4so84c
User: collect4
UID: 1071
GID: 1076

But I admit I don’t know how to parse all of the code that’s provided in the more detailed info also offered in the error report to find out exactly what’s causing the error.