User Tools

Site Tools


*Nextcloud gives update errors*

If you have any upgrade errors with Nextcloud when it always has been working, try a to re-import your database. For this do:

 mysqldump --single-transaction -u [USER] [DATABASE] > /root/2022.05.22-nextcloud.sql
 mysql -p [DATABASE] -u [USER]
 MariaDB [nextcloud]> drop database [DATABASE];
 MariaDB [(none)]> create database [DATABASE];
 MariaDB [(none)]> ^DBye
 mysql -u [USER] [DATABASE] < 2022.05.22-nextcloud.sql
 sudo -u www-data php /var/www/nextcloud/occ upgrade
 sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
 sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off


Your ArtIT Team


update_error_nextcloud.txt · Last modified: 2023/09/13 18:54 by admin