NEXTCLOUD - Locked Files Locks: Difference between revisions

From IT-Arts.net
imported>Z
No edit summary
 
m Text replacement - "Category:Wiki" to "Category:Wiki '''''[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]''''' "
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Post-It]]
[[Category:Wiki]]
 
'''''[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]'''''
 





Latest revision as of 07:15, 17 January 2026


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