Add uselful scripts

This commit is contained in:
Lucas
2025-11-07 17:32:24 +00:00
parent 6a1bb71a05
commit ccf388d047
2 changed files with 4 additions and 1 deletions

5
clean_locked_files Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
sudo docker exec --user www-data nextcloud-app php occ maintenance:mode --on
sudo docker exec -it nextcloud-db psql -U nextcloud -d nextclouddb
DELETE FROM oc_file_locks WHERE true;
sudo docker exec --user www-data nextcloud-app php occ maintenance:mode --off