prep: storage directly to storage-limbosolution-scom using seaweedfs csi-driver

This commit is contained in:
2025-07-15 22:40:55 +00:00
parent da4b9c25b1
commit 41ab2dc096
3 changed files with 57 additions and 0 deletions

View File

@@ -4,6 +4,11 @@ Welcome to public repository of [https://cloud.limbosolutions.com](https://cloud
Using [NextCloud](https://nextcloud.com/)
- [command](#command)
- [maintenance mode](#maintenance-mode)
- [scan files](#scan-files)
- [repair tree](#repair-tree)
- [delete file locks](#delete-file-locks)
- [Setup](#setup)
- [kubernetes Namespace](#kubernetes-namespace)
- [Add helm chart](#add-helm-chart)
@@ -11,6 +16,34 @@ Using [NextCloud](https://nextcloud.com/)
- [Install / Update](#install--update)
- [backups](#backups)
## command
## maintenance mode
``` bash
su -s /bin/bash www-data -c "php -d memory_limit=-1 /var/www/html/occ maintenance:mode --on;"
su -s /bin/bash www-data -c "php -d memory_limit=-1 /var/www/html/occ maintenance:mode --off"
```
### scan files
``` bash
su -s /bin/bash www-data -c "php -d memory_limit=-1 /var/www/html/occ files:scan --all"
```
### repair tree
``` bash
su -s /bin/bash www-data -c "php occ files:repair-tree"
```
### delete file locks
``` bash
# execute on mariadb
DELETE FROM oc_file_locks WHERE 1;
```
## Setup
### kubernetes Namespace