removed mariadb from hel chart, after problems with continuous deploy

This commit is contained in:
2026-01-17 22:48:26 +00:00
parent 84111b37ce
commit 1fdcb42c77
9 changed files with 126 additions and 52 deletions

View File

@@ -12,6 +12,7 @@ Using [NextCloud](https://nextcloud.com/)
- [delete file locks](#delete-file-locks)
- [Setup](#setup)
- [Requirements - infra](#requirements---infra)
- [mariadb database](#mariadb-database)
## command
@@ -62,6 +63,9 @@ su -s /bin/bash www-data -c "php occ files:repair-tree"
## Setup
- deploy mariadb
- nextcloud helm chart
```bash
./ops-scripts/apply-app.sh
```
@@ -71,3 +75,20 @@ su -s /bin/bash www-data -c "php occ files:repair-tree"
```bash
./ops-scripts/apply-infra.sh
```
## mariadb database
**Connect to maria db:**
``` bash
kubectl exec -it nextcloud-mariadb-0 -- mariadb -u nextcloud -h nextcloud-mariadb.cloud-limbosolutions-com.svc.cluster.local -p
```
**Restore database:**
``` bash
kubectl run mysql-client -i --rm \
--image=mysql:latest --restart=Never -- \
mysql -h nextcloud-mariadb.cloud-limbosolutions-com.svc.cluster.local \
-u ???? -p???? nextcloud < ./tmp/host-nextcloud-full-backup.sql
```