Update from to 20.0.11 failed

I just wanted to upgrade my NC-instance from 19.0.8 to 20.0.11. The web-interface stopped at backup. I tried it with ncp.config → upgrade nc.
This worked a while, than I read this lines

'#'15 {main}Abort
Clean up...
Rolling back to backup /var/www/nextcloud-bkp_20210705_1625508613-

and a while later my NC was again at version 19.0.8

The reason is here to find:

2021-07-05T19:35:51+0200 Xha0XFgOX2 [error] POST request failed with other exception
2021-07-05T19:35:51+0200 Xha0XFgOX2 [error] Exception: Exception
Message: Could not copy "/var/www/nextcloud/config/config.php~" to "/media/DATA-SERVER/ncdata/
#0 /var/www/nextcloud/updater/index.php(1345): Updater->createBackup()
#1 {main}
File:/var/www/nextcloud/updater/index.php Line:536

The updater should ignore such files or delete them …

OK, I deleted the file and tried again with the same result. But this time there was an argument exception with the app “poll”.

Checked for update of app "polls" in appstore  
An unhandled exception has been thrown:
ArgumentCountError: Too few arguments to function OCA\Polls\Migration\FixVotes::__construct(), 0 passed in /var/www/nextcloud/lib/private/Repair.php on line 129 and exactly 4 expected in /var/www/nextcloud/apps/polls/lib/Migration/FixVotes.php:50

I deleted the app “poll” and the upgrade went fine …


Hi Spielmops

I also ran into your last error. Did you get any other solution besides removing polls?
Or could you reactivate the app?


I could not install the app “polls” :frowning: