Ok in v32 I included more optimisations suggested by Nextcloud, one was very slow so I disabled it and pushed the update without it. If you want to run it manually after the successful upgrade you can try this:
snap run nextcloud.occ maintenance:repair --include-expensive
I ran “snap refresh nextcloud”. This downloaded and attempted install of v898, but after 1.5hr it resulted in the same error message displayed. Logs sent.
In 898 I removed the included expensive part but I still left repair itself maybe that also super slow on your instance (tried on mine it took few seconds with expensive part).
If that works fine for you than maybe the issue is different.
It takes about 1.5-2hrs to result in error message. It’s the same error as originally posted, same error every time.
What output would you like? The message from the terminal is posted above, is there a different log you need? I only blocked out the hash since I didn’t know if it was a secret.
snap run nextcloud.occ maintenance:repair --include-expensive
How long does it run?
If that runs quickly it is probably the slowness of Nextcloud database restore after the upgrade, one thing which can affect it is cpu/mem, can you stop all other apps: