Run migration throws an error, so could not upgrade to 12.0

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 11.3.0.2 (stable)
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: run migration

Describe your issue

Wanted to upgrade from 11.3.0.2 to 12.0. When I try to run migration I get the following error:

Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed

The log is attached.

Share relevant logs or error messages

https://paste.yunohost.org/raw/exinoyaqom