The “workflowengine” log line here is a red herring, it is just the latest app (sorted by alphabet) and already the next step (fixing oc_filecache entries) is running which is the one that fails.
As a workaround, updating via occ upgrade should mitigate this issue. Or try the patch from @nickvergessen
Using the patch now hangs at “This Nextcloud instance is currently in maintenance mode, which may take a while. This page will refresh itself when the Nextcloud instance is available again.” for about 30 Minutes…
I now have to revert back to the latest backup (I simply don’t have the time to poke around, especially with me being a numb) and try to avoid updating NC. I thought the … old oc-days were over where the best advice was: “Don’t update!” :o((
occ upgrade did it for me. But now I got: Einige Dateien haben die Integritätsprüfung nicht bestanden.
I thought before “better make a backup” but then I thought: “naah, the upgrade from 10 to 11 and from 11 to 12 was smooth, there shouldn’t be a problem”. Big mistake and I aged for years last night
Yeah, sorry about that 12.0.2 was a quick fix release only fixing one specific problem, you will have to modify it again and ignore the warning until 12.0.3
So this Update will solve the problem with ““Delete old files - Could not rmdir /var/www/nextcloud/updater/…/apps/workflowengine”” during the update process?
run sudo -u www-data php /path/to/nextcloud/occ upgrade on your terminal (www-data is your webserver user on debian/ubuntu and can be different in other distributions)