And was the guide an official guide or made by another user?
My frustration has nothing to do with helping you solve this problem. It has everything to do with how you can’t figure out simple things. The table you need to fix is listed in several of your posts.
So, if you can’t figure basic things out you might have a better time doing a full reinstall.
Ran this:
cd /var/www/html/nextcloud
sudo -u apache php ./occ files:scan --all -vv
No problems detected as I could see, so continued with…
sudo -u apache php ./occ maintenance:repair -vv
There were some ambiguities, I think, but they were fixed.
Retried the update to NC 17.0.2 and the update failed again, this time on this:
Updating …
Doctrine\DBAL\Schema\SchemaException: The table with name ‘nextcloud.oc_dav_cal_proxy’ already exists.
Update failed
4.1. Restored the database, as well as the NC-files and folders from backup, then dove into the database itself, continued below.
Fired up PhpMyAdmin and renamed the table nextcloud.oc_dav_cal_proxy to nextcloud.oc_dav_cal_proxy.old.
Retried the update again, and 'lo, it went through as expected.
I’ve no idea why it didn’t barf on oc_files_trash again, but there it is.
Maybe something got fixed in v17.0.2, as opposed to v17.0.1?
Who knows, it works now and that’s all I care about.
All is A-okay now as far as I can tell.
Thanks all for your comments, hints etc! This forum is great!