Deploy: keep only the active release on Strato (file quota), release history as Git tags in Gitea
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
669fb45731
commit
7355466231
7 files changed
+58
-25
No files matched your search
+3
-3
@@ -118,15 +118,15 @@ ## 8. Bekannte Eigenheiten und Lösungen
|
||||
| Domain-Ziel `current/public` nicht wählbar | Strato erlaubt kein Symlink-Ziel | Domain auf den Deploy-Ordner, `.htaccess` leitet weiter |
|
||||
| Ersteinrichtung mit Factories schlägt fehl | Produktion ohne Dev-Pakete | `ProductionSeeder` |
|
||||
| Kein SSL für Subdomain | Paket erlaubt SSL nur für Hauptdomains | Testbetrieb auf `stommer.info` |
|
||||
| `Disk quota exceeded` beim Hochladen | Webspace-Kontingent voll (geteilt mit allen anderen Seiten/Backups im Paket); jede Version belegt ~136 MB | Staging behält nur 2 Versionen (`DEPLOY_KEEP=2`); halbe Versionen/`upload-*.tgz` eines abgebrochenen Laufs im Deploy-Ordner löschen. **Ordner außerhalb des Deploy-Ordners entscheidet nur Lars** (teils produktiv). |
|
||||
| `Disk quota exceeded` beim Hochladen / Hinweis „zu viele Dateien“ | Webspace-Kontingent voll (geteilt mit allen anderen Seiten/Backups im Paket); jede Version belegt ~136 MB | Es ist die **Anzahl der Dateien** (Inode-Limit), nicht der Platz. Der Server behält nur die aktive Version (Geschichte als Git-Tags in Gitea), `vendor` wird beim Build ausgedünnt (~15.000 statt ~19.500 Dateien je Version); Reste abgebrochener Läufe räumt das nächste Deployment selbst weg. **Ordner außerhalb des Deploy-Ordners entscheidet nur Lars** (teils produktiv). |
|
||||
| Windows: Symlinks, `php` nicht im PATH | Git Bash | Deploy nur gegen Strato testen; `export PATH="<php-ordner>:$PATH"` |
|
||||
|
||||
## 9. Nützliche Befehle
|
||||
|
||||
```bash
|
||||
bash scripts/deploy.sh staging deploy # ausliefern (letzter Commit)
|
||||
bash scripts/deploy.sh staging rollback # vorige Version
|
||||
bash scripts/deploy.sh staging releases # Versionen auf dem Server
|
||||
bash scripts/deploy.sh staging releases # aktive Version + Deploy-Tags in Git
|
||||
bash scripts/deploy.sh staging deploy deploy/staging/<zeitstempel> # frühere Version erneut ausliefern
|
||||
bash scripts/deploy.sh staging artisan about # Zustand der Installation
|
||||
bash scripts/deploy.sh staging artisan migrate:status
|
||||
ssh -i ~/.ssh/strato_fewo stu100093250@51539426.ssh.w1.strato.hosting \
|
||||
|
||||
Reference in new issue
Block a user