Hi David,
The error itself doesn't seem to appear in your DSpace log file, which is odd. The closed issue that might relate to that error is this message:
2024-06-20 17:36:30,838 WARN unknown unknown org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor @ DB: there is already a transaction in progress (SQL State: 25001 - Error Code: 0)
That appears to be saying that PostgreSQL appears to think there's already a database transaction in progress when you tried to run the database migrate.
I'd check to see if the migration succeeded or not by running "./dspace database info" and seeing if you have any "Pending" or "Ignored" migrations (if there are pending or ignored migrations, that means some migrations did NOT run). If not, then you could try and run a full reindex to verify everything is working.
If you find that some migrations did NOT run, then I would recommend temporarily restarting your PostgreSQL (to stop any transactions) and try the process again. It's possible some earlier action in Postgres got 'stuck' and blocked any additional changes.
Those are my best guesses here. I'm hopeful one of those will work.
Tim