Cipi Symfony demo

Symfony on Cipi · zero-downtime releases

Served by release 1

Every deploy checks a commit out into releases/<n>, installs it, warms its cache, runs the migrations — and only then points current at it. 2 checks to look at

Leave a message

Written to the database by this release; a Messenger worker (--queue=async) then counts its words and signs it with its own release.

Guestbook

  1. asfasfasf · 2026-12-02 10:31 UTC · written by release 1

    asfasf

    waiting for a worker

  2. asfasf · 2026-12-02 10:31 UTC · written by release 1

    asfasf

    waiting for a worker

Checks

✓ Release releases/1
✓ Commit d21e6f2af260
✓ .env.local linked from shared/.env
The app's environment: sudo cipi app env <app>
✓ APP_ENV prod, debug off
✓ Database MariaDB 11.8.6
✓ Migrations 1 executed, 0 new
Run by the deploy before the release goes live.
✓ Cache warmed 2026-12-02 10:30:54 UTC, in the release
var/cache/prod belongs to the release; cache:clear runs before current moves.
✓ Sessions var/sessions → shared/, visit 1 of this session
✓ Logs var/log → shared/, prod.log 222 B
Every release writes to the same prod.log: sudo cipi app logs <app>
! Share dir var/share/prod in the release; app cache since release 1 at 2026-12-02 10:31:02 UTC
Symfony 7.4 keeps cache.app (and the Scheduler's state) in APP_SHARE_DIR, data "that should persist between deploys". Here it is part of the release, so it starts empty at every deploy. To keep it: sudo cipi app env <app> --set=APP_SHARE_DIR=/home/<app>/shared/var/share
! Messenger doctrine transport, 2 waiting, 0 processed
An entry has waited 3 min: is a worker consuming "async"? sudo cipi worker add <app> --queue=async
i Scheduler no heartbeat yet
A message every minute, once a worker runs the schedule: sudo cipi worker add <app> --queue=scheduler_default
✓ AssetMapper compiled, 2 asset(s) in public/assets
asset-map:compile runs in each release before it goes live.
i Asset build not built
Optional: --node-build="npm run build" writes public/build-info.json at every deploy.
i PHP 8.5.13 (fpm-fcgi, OPcache on)
i Symfony 7.4.25
i Valkey REDIS_URL set
The app's Valkey (Redis protocol), from the .env.local: not used by the demo.
i Rendered at 2026-12-02 10:34:58 UTC