Hello,
Last week-end I had a problem when I tried to upgrade Nextcloud from 12.0.4 to 13.0.2.
In fact it was a problem with the password for the root MySQL user. I identified this problem only after the migration to Stretch. See this post : ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Once this problem solved, I wanted to upgrade Nextcloud with this command
yunohost app upgrade nextcloud
It was a big fail : the upgrade failed, the restoration of the auto backup created before the upgrade process failed. En moreover, the web server was out of service.
I tried many things, and finally solved the problem like this :
- remove nextcloud
- reinstall nextcloud up to date
- remove nextcloud (to be sure it is well removed, cleaned up)
- reinstall nextcloud up to date
- follow this manual page : https://docs.nextcloud.com/server/13/admin_manual/maintenance/manual_upgrade.html
- note the password for nextcloud MySQL user which was just created, you can find it in config.php file
- copy the config.php file from the auto backup mentioned previously
- inject MySQL nextcloud database
mysql -u root -p nextcloud < backup-file.sql
https://mariadb.com/kb/en/library/backup-and-restore-overview/ - put the nextcloud password for MySQL in the config.php file.
I had another problem : my public ip address was banned (web, ssh). I did not find the solution in docs (debian, linux, fail2ban, sshd auth log, etc) so I rebooted my ISP router and got a new ip address.
Nath’