Task : Maintenance Proxmox 155 + Dashboard Dynamique
Date : 13/01/2026 00:30
Duree : ~3h
Statut : TERMINE
Objectifs
- Corriger le warning RAM sur Proxmox 155
- Creer repo GitLab pour configs infrastructure
- Rendre le dashboard architecture dynamique
Realisations
1. Maintenance Proxmox 155
Probleme : RAM a 90% (warning dashboard)
Actions :
- Suppression VMs inutilisees : 102 (portainer), 105 (temp)
- Reduction RAM : vscode 8Go→4Go, jellyfin 8Go→4Go
- Resultat : RAM 90% → 67%
Probleme decouvert : Proxmox 155 crash au reboot
- stock_1to (USB SSDs) non importe automatiquement
- NFS non disponible → GitLab Gitaly crash
Corrections :
- Service systemd
zfs-import-stock1to.service pour auto-import
- Service
nfs-server-wait-zfs.service pour dependance NFS
/etc/default/zfs : ZPOOL_IMPORT_ALL_VISIBLE="yes"
2. Repo infra-configs
URL : https://gitlab.33800.nowhere84.com/gouroubleu/infra-configs
Contenu :
- nginx/sites-available/ : 36 configs
- docker/stacks/ : 10 stacks
- systemd/ : services custom
- cron/ : taches planifiees
- zfs/ : configs ZFS/NFS
Total : 110 fichiers versionnes
3. Dashboard Architecture Dynamique v2.0
Fichier : /stock_8to/33800-stack/monitoring/generate.d/09-architecture.sh
Avant : VMs et containers hardcodes en SVG
Apres : Lecture depuis current.json
Avantages :
- Plus de MAJ manuelle quand on modifie l'infra
- VMs ajoutees/supprimees → dashboard MAJ automatique
- Containers groupes par stacks dynamiquement
4. Corrections Nginx
- pihole.conf → pihole.33800.nowhere84.com.conf
- syncthing.conf → syncthing.33800.nowhere84.com.conf
- Fix port pihole : 8053 → 80 (Pi-hole v6 host mode)
5. Incident Nextcloud (00h30)
Symptome : Ecran d'installation au lieu des donnees
Cause racine : Chaine de dependances cassee au reboot Proxmox 155
Proxmox 155 reboot
→ stock_1to pas importe (USB SSDs)
→ NFS export /stock_1to indisponible
→ dev-portainer monte /mnt/stock_1to sur dossier LOCAL vide
→ Docker demarre avec volume vide
→ Nextcloud reinitialise avec contenu par defaut
Diagnostic :
- Container Nextcloud sur dev-portainer (192.168.1.51)
- Volume monte :
/mnt/raid1/nextcloud/data → symlink vers /mnt/stock_1to
- NFS non monte → symlink pointe vers dossier local vide
- Vraies donnees intactes sur NFS :
/mnt/stock_1to/nextcloud/data/data/Gouroubleu/
Resolution :
- Monte NFS manuellement :
sudo mount /mnt/stock_1to
- Redemarrage containers :
docker stop/start nextcloud-*
- Donnees restaurees : Corse, Documents, Musics, Notes, Photos...
Prevention : Ajoute dependance Docker sur NFS
# /etc/systemd/system/docker.service.d/wait-nfs.conf
[Unit]
After=mnt-stock_1to.mount mnt-stock_8to.mount
Requires=mnt-stock_1to.mount
Services Nextcloud :
- URL : https://nextcloud.33800.nowhere84.com
- Containers : nextcloud-app-1, nextcloud-cron-1, nextcloud-db-1
- Port : 8060 sur dev-portainer
- Donnees : /mnt/stock_1to/nextcloud/ (NFS depuis Proxmox 155)
- Users : Gouroubleu, Ornella, admin, test
Fichiers modifies
| Fichier |
Machine |
Action |
| /etc/systemd/system/zfs-import-stock1to.service |
Proxmox 155 |
Cree |
| /etc/systemd/system/nfs-server-wait-zfs.service |
Proxmox 155 |
Cree |
| /etc/default/zfs |
Proxmox 155 |
Modifie |
| pihole.33800.nowhere84.com.conf |
nginx |
Renomme + fix port |
| syncthing.33800.nowhere84.com.conf |
nginx |
Renomme |
| generate.d/09-architecture.sh |
PVE |
Refonte complete |
| /etc/systemd/system/docker.service.d/wait-nfs.conf |
dev-portainer |
Cree |
Commits GitLab
e29eda5 : feat: architecture.html dynamique v2.0
4359f9a : feat: initial commit infra-configs (110 fichiers)
Prochaines etapes
Voir backlog : /home/gouroubleu/backlog/13-01-2026-dashboard-dynamique-suite.md
Phase 2 : Audit modules generate.d/
- Identifier valeurs hardcodees dans 01-index.sh a 10-projects.sh
- Lister modules a migrer avec effort
Phase 3 : Migration progressive
- Un module par session
- Tester apres chaque modification
Phase 4 : Verification automatique
- Script verify-dashboard.sh
- Cron quotidien/hebdo
- Notification anomalies
Autres
- Ajouter Nextcloud au CLAUDE.md (service non documente)
- Ajouter wait-nfs.conf au repo infra-configs
- Verifier sync Anbernic (~127 Go restants)