NEXTCLOUD - Locked Files Locks: Difference between revisions
From Wiki.IT-Arts.net
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...") |
imported>Z No edit summary |
||
Line 18: | Line 18: | ||
Use the postgres user : | Use the postgres user : | ||
<nowiki> | <nowiki> | ||
sudo -u postgres psql - | sudo -u postgres psql --dbname=nextcloud --command="DELETE FROM oc_file_locks WHERE '1'" | ||
</nowiki> | </nowiki> | ||
Latest revision as of 10:25, 8 July 2023
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