Add expanded GitHub wiki content and publish guide
This commit is contained in:
parent
c0ea660e48
commit
42f3baecb6
8 changed files with 302 additions and 0 deletions
34
docs/wiki/Operations-Runbook.md
Normal file
34
docs/wiki/Operations-Runbook.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Operations Runbook
|
||||
|
||||
## Health & Status
|
||||
|
||||
```bash
|
||||
systemctl status staysense-api.service --no-pager
|
||||
systemctl status staysense-import.timer --no-pager
|
||||
curl -s https://staysense.vanityontour.de/api/health
|
||||
```
|
||||
|
||||
## Logs
|
||||
|
||||
```bash
|
||||
journalctl -u staysense-api.service --no-pager -n 120
|
||||
journalctl -u staysense-import.service --no-pager -n 120
|
||||
```
|
||||
|
||||
## Häufige Fehlerbilder
|
||||
|
||||
1. `Kein Live-Score` bei Nutzern
|
||||
- API Health prüfen
|
||||
- `/api/spot/score` direkt mit Testkoordinaten prüfen
|
||||
|
||||
2. DB readonly / Schreibfehler
|
||||
- Datenverzeichnisrechte prüfen
|
||||
- Service-User und Besitzrechte prüfen
|
||||
|
||||
3. Importdaten veraltet
|
||||
- Timer-Status prüfen
|
||||
- Import-Service manuell starten
|
||||
|
||||
```bash
|
||||
systemctl start staysense-import.service
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue