21 lines
472 B
Markdown
21 lines
472 B
Markdown
|
|
# Debugging
|
||
|
|
|
||
|
|
Häufige Fehler und Log-Analyse.
|
||
|
|
|
||
|
|
## Port 8081 belegt
|
||
|
|
|
||
|
|
```bash
|
||
|
|
ss -tulnp | grep 8081
|
||
|
|
pkill -f "python3 .*serve.py"
|
||
|
|
```
|
||
|
|
|
||
|
|
## 404 bei `/templates.json`
|
||
|
|
|
||
|
|
`templates.json` liegt in `web/templates.json`. Der Handler mappt `/templates.json` genau dorthin — andere Pfade unter `/templates/...` auf `<ROOT>/templates/...`.
|
||
|
|
|
||
|
|
## 404 bei `/templates/user/<name>.md`
|
||
|
|
|
||
|
|
Prüfen, ob die Datei unter `templates/user/` tatsächlich existiert.
|
||
|
|
|
||
|
|
> Stub — noch auszuarbeiten.
|