fix rsync permissions: setup-server.sh with setgid dirs, exclude .claude/.pi

This commit is contained in:
Pontoporeia
2026-03-02 15:32:44 +01:00
parent 52978aa658
commit e4b2205eac
4 changed files with 183 additions and 25 deletions

View File

@@ -40,6 +40,10 @@
## Admin / Server
- [x] Create `scripts/setup-server.sh` (one-time server setup: group, ownership, setgid 2775 on dirs)
- [x] Add `just setup-server` recipe (rsync + run setup-server.sh on remote)
- [x] Exclude `.claude` and `.pi` from rsync deploy
- [x] Update `docs/SERVER_SETUP.md` with correct permissions rationale and troubleshooting
- [ ] Add server status view in admin panel (nginx + php-fpm health, site HTTP check)
- [ ] Add server log viewer in admin panel (tail nginx error/access logs via SSH or log endpoint)
- [ ] Add nginx config deploy flow to admin panel (upload `scripts/deploy-server.sh`, run remotely)