NEXTCLOUD - Locked Files Locks

From Wiki.IT-Arts.net
Revision as of 10:11, 8 July 2023 by imported>Z (Created page with "Category:Post-It == Activate the Maintenance Mode == In the nextcloud installation directory : <nowiki> cd /var/www/nextcloud sudo -u www-data php occ maintenance:mo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Activate the Maintenance Mode

In the nextcloud installation directory :

cd /var/www/nextcloud
sudo -u www-data php occ maintenance:mode --on


Purge the Database

Use the postgres user :

sudo -u postgres psql -d <NEXTCLOUD_DB_NAME> -c "DELETE FROM oc_file_locks WHERE 1"


Remove the Maintenance Mode

cd /var/www/nextcloud
sudo -u www-data php occ maintenance:mode --off