User Tools

Site Tools


update_error_nextcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

update_error_nextcloud [2023/09/13 18:52] – created adminupdate_error_nextcloud [2023/09/13 18:54] (current) admin
Line 1: Line 1:
 ***Nextcloud gives update errors*** ***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
 +
 +
 +\\
 +\\
 +Enjoy,
 +
 +**Your ArtIT Team**
 +\\
 +\\
 +
 +**[[applications|BACK]]**
  
  
update_error_nextcloud.1694623937.txt.gz · Last modified: 2023/09/13 18:52 by admin