From what I can see you seems to be in the middle of an upgrade.
Did you try to run runagent -m nextcloud1 occ upgrade? Ref : Nextcloud update 1.7.1 failed
Ps you should use the code block formatting tool in the toolbar to ease the reading of logs.