NEXTCLOUD - Locked Files Locks

From IT-Arts.net
Revision as of 07:15, 17 January 2026 by Admin (talk | contribs) (Text replacement - "Category:Wiki" to "Category:Wiki '''''[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]''''' ")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Return to Wiki Index



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 --dbname=nextcloud --command="DELETE FROM oc_file_locks WHERE '1'"


Remove the Maintenance Mode

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