[DOC] Update troubleshooting guide with Redis system service solution
This commit is contained in:
parent
e9f166c162
commit
b1b50dcd10
2 changed files with 74 additions and 1 deletions
|
|
@ -16,7 +16,25 @@
|
|||
|
||||
**Problème**: `address already in use` sur port 6379
|
||||
|
||||
**Solution**:
|
||||
**Causes possibles**:
|
||||
- Service Redis système actif (`systemctl status redis`)
|
||||
- Container Docker Redis déjà en cours d'exécution
|
||||
|
||||
**Solutions**:
|
||||
|
||||
**Option A: Arrêter le service Redis système** (Recommandé)
|
||||
```bash
|
||||
# Vérifier si Redis système est actif
|
||||
systemctl status redis
|
||||
|
||||
# Arrêter le service
|
||||
sudo systemctl stop redis
|
||||
|
||||
# Optionnel: Désactiver au démarrage
|
||||
sudo systemctl disable redis
|
||||
```
|
||||
|
||||
**Option B: Arrêter le container Docker Redis**
|
||||
```bash
|
||||
# Arrêter l'instance existante
|
||||
docker stop veza_redis
|
||||
|
|
@ -25,6 +43,15 @@ docker stop veza_redis
|
|||
docker compose up -d redis
|
||||
```
|
||||
|
||||
**Vérification**:
|
||||
```bash
|
||||
# Vérifier que le port est libre
|
||||
ss -tlnp | grep 6379
|
||||
|
||||
# Vérifier les containers
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
**Status**: ✅ **RÉSOLU**
|
||||
|
||||
---
|
||||
|
|
|
|||
46
STATUS_INFRA.md
Normal file
46
STATUS_INFRA.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# ✅ Status Infrastructure - Veza
|
||||
|
||||
## 🐳 Containers Docker
|
||||
|
||||
```bash
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
**Status actuel** (après `make infra-up`):
|
||||
- ✅ `veza_postgres` - **healthy** (port 5432)
|
||||
- ✅ `veza_redis` - **healthy** (port 6379)
|
||||
- ✅ `veza_rabbitmq` - **healthy** (ports 5672, 15672)
|
||||
|
||||
---
|
||||
|
||||
## 🔍 Vérification Rapide
|
||||
|
||||
### 1. PostgreSQL
|
||||
```bash
|
||||
docker compose exec postgres psql -U veza -d veza -c "SELECT version();"
|
||||
```
|
||||
|
||||
### 2. Redis
|
||||
```bash
|
||||
docker compose exec redis redis-cli ping
|
||||
# Devrait retourner: PONG
|
||||
```
|
||||
|
||||
### 3. RabbitMQ
|
||||
```bash
|
||||
curl -u veza:password http://localhost:15672/api/overview
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Prochaines Étapes
|
||||
|
||||
1. ✅ Infrastructure démarrée
|
||||
2. ⏭️ Démarrer le backend: `cd veza-backend-api && go run cmd/api/main.go`
|
||||
3. ⏭️ Démarrer le frontend: `cd apps/web && npm run dev`
|
||||
4. ⏭️ Tester: http://localhost:3000
|
||||
|
||||
---
|
||||
|
||||
**Dernière mise à jour**: Après résolution du conflit Redis (service système)
|
||||
|
||||
Loading…
Reference in a new issue