You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: restructure 1.x → 3.x upgrade around the 2.8 config converter
Mirror upstream display-api-service #496: rework UPGRADE.md so the
config migration is driven by the API's app:utils:convert-env-to-3x
command (run on 1.x via `task upgrade_prep`, producing env.3x) instead
of the sed-based env:migrate.
- UPGRADE.md: add a pre-upgrade checklist that exports the running 1.x
configuration BEFORE the stack is stopped (the converter reads the
live app + admin/client config.json); make the converter the primary
env-migration path and demote the sed rename to a <details> fallback;
add #496-style checkbox checklists and a table of contents.
- env:migrate: prefer env.3x when present — split off the trailing
infrastructure advisory into .env.symfony.infra-advisory and write the
rest to .env.symfony.migrated; fall back to the sed conversion of a
1.x .env.docker.local otherwise.
Fold in the four MariaDB upgrade gaps from review:
- mariadb service sets MARIADB_AUTO_UPGRADE=1 — the 10.x → 11.4
system-table upgrade now runs automatically on first boot against the
carried-over data (also refreshes the healthcheck user); correct the
old "auto-runs on first start" claim accordingly.
- mariadb service sets stop_grace_period: 1m — no SIGKILL mid-flush
right before the major cut; UPGRADE.md step 1 also verifies the 10.x
server shut down cleanly.
- document `rm -f docker-compose.yml` before `git checkout` (1.x leaves
an untracked generated compose file that blocks the checkout).
- document the data-volume / COMPOSE_PROJECT_NAME continuity check so a
mismatched project name can't silently boot an empty database.
Also gitignore the secret-bearing migration intermediates (env.3x,
.env.symfony.migrated, .env.symfony.infra-advisory), fix the rollback to
restore the 1.x plain-SQL dump under a regenerated 1.x compose file, and
sync the README task table + MariaDB FAQ.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments