Problem migrating from 2.3.5 to 3.3.1

Can you show the output of indico db upgrade. I have an idea since we use the same temp table in two revisions so w/o a commit in between it might fail.

You can try splittig it in two steps: First run indico db upgrade 735dc4e8d2f3, then indico db upgrade. That way you have a commit in between so the temp table disappears.