Deployment & Settings Changes - v1.75.0
Release Date: 2026-11-24
Summary
Impact Level: MEDIUM
Action Required: YES
Backward Compatible: YES
Eight Flyway migrations (V128 to V135) run when editor-service starts. Every user signs in once after the upgrade, so editor-service is replaced as a whole rather than replica by replica. Editor-service checks its signing key pair at startup. Reference files for saved schemas are stored in object storage, with an optional Helm value for a separate bucket. Deployments whose services connect as a database role other than the migration user set one new variable before upgrading. The converter moves to this release together with editor-service.
Upgrade order: editor-service, the editor frontend and the converter together, then booking-service once the migrations have finished.
Manual steps
| Step | Required for | When |
|---|---|---|
| Replace every editor-service replica together | All deployments | During the upgrade |
| Check the signing key pair | Deployments that supply their own pair, and installs outside Helm and Compose | Before the upgrade |
| Keep reference files private | Deployments with S3 storage | Before the upgrade |
| Set the application database roles | Deployments with separate migration and application database roles | Before the upgrade |
| Upgrade booking-service and the converter | All deployments | With editor-service; booking-service once the migrations finish |
| Re-render the backgrounds of older venues | Deployments with backgrounds rendered before 1.70.0 | Optional, once after the upgrade |
Replace every editor-service replica together
Account sessions end after a password change, a completed password reset, disabling or re-enabling an account, and sign-out. Every user signs in once after the upgrade. Run a single editor-service version during the upgrade: stop the old replicas, then start the new ones, before the editor accepts traffic again.
The chart’s editor Deployment uses a rolling update, which runs old and new pods side by side while it replaces them. Scale it to zero before the upgrade, and once the upgrade has applied, check that it runs editor.replicaCount replicas again:
kubectl -n <namespace> scale deployment/<release>-editor --replicas=0
The editor is unavailable from the scale-down until the new pods are ready. A single container that is stopped before its replacement starts, as in the Compose bundle, needs nothing more.
Check the signing key pair
Editor-service validates its configured RSA signing key pair at startup and logs the SHA-256 fingerprint of the public key. Startup stops with an error that names both settings when a key is unreadable, is not an RSA key, or the two keys do not match.
Supply a deployment-specific pair:
| Variable | Format |
|---|---|
SEATMAP_SECURITY_RSA_PRIVATE_KEY |
PKCS#8 private-key PEM, inline or as a file: path |
SEATMAP_SECURITY_RSA_PUBLIC_KEY |
SPKI public-key PEM, inline or as a file: path |
Use keys of at least 2048 bits, and give the editor frontend the same public key (CORE_PUBLIC_KEY_FILE; the chart mounts it at /keys/public-key). The Helm chart and the Docker Compose bundle already supply a pair: Helm reads it from the <release>-rsa Secret, with private-key and public-key entries, and the bundle generates a 2048-bit pair on its first start and keeps it. Replacing a pair signs every user out once.
From 1.76.0, editor-service refuses to start without a valid external pair of at least 2048 bits. This release logs a warning at startup when the configured pair does not meet that requirement.
Keep reference files private
Reference files attached to a saved schema (SVG, PNG, JPEG and PDF) are stored in S3 object storage, so SEATMAP_STORAGE_TYPE must be s3. Editor-service writes each file under the schema-references/ prefix with no public ACL, and serves it only through the authenticated editor endpoint.
By default the files go to global.s3.bucket. To keep them apart from backgrounds, set global.s3.referenceBucket (SEATMAP_STORAGE_S3_REFERENCE_BUCKET_NAME) to another bucket. Before upgrading, check that no bucket policy, ACL default or CDN rule makes schema-references/* readable by the public; a bucket-wide public-read grant or a CDN origin that covers the whole bucket applies to this prefix too.
The S3 credentials of editor-service need s3:PutObject and s3:GetObject on the reference bucket. Removing a reference removes its object, so they also need s3:DeleteObject.
Set the application database roles
On installs where the migrations run as the schema owner and the services connect as a separate, restricted role, set SPRING_FLYWAY_PLACEHOLDERS_APPROLES on editor-service before upgrading. Use the role that editor-service and booking-service connect as, or a comma-separated list when they use different roles.
After every migration run, editor-service grants each listed role SELECT, INSERT, UPDATE and DELETE on the tables and views of the schema and USAGE, SELECT and UPDATE on its sequences. It grants no access to the Flyway history table. Default privileges give the same access to tables that later migrations add, so a new table no longer needs a manual grant. The first start grants every existing table. Each listed role must exist, or editor-service stops at startup with an error that names it.
This is a Spring property, not a chart value, so set it through your existing configuration override or as an environment variable:
spring.flyway.placeholders.approles: app_role
SPRING_FLYWAY_PLACEHOLDERS_APPROLES=app_role
Installs where the services connect as the user that runs the migrations, including Helm and Docker Compose installs, need no change.
Upgrade booking-service and the converter
Upgrade editor-service and the editor frontend together. With Helm they share a pod, so one upgrade covers both. Installs that deploy them separately start editor-service first: saving shared-aisle settings, fixed label geometry and reference placement needs the new editor-service.
Upgrade booking-service as soon as editor-service reports healthy. Deleting an event through the Booking API archives it only on this version of booking-service; an event that an earlier booking-service deletes after V134 has run keeps its previous status and does not appear under Archived. No migration in this release adds a column to event, so the earlier booking-service keeps reading events while the migrations run. Once booking-service runs this version, a later migration that adds an event column no longer interrupts its event reads.
Upgrade the converter with editor-service. Backgrounds above 268 million pixels and the close-zoom vector copy of a background need this release’s converter: set converter.image.tag to 1.75.0 with the other image tags, or deploy the same image for a converter that runs as its own release. The vector copy (detail.svg) is stored gzip-compressed with Content-Encoding: gzip on S3 and uncompressed on local storage, so a proxy or CDN in front of the bucket must pass that header through. The converter takes no new settings.
Re-render the backgrounds of older venues
Backgrounds rendered before 1.70.0 have no detail tiles, so on phones and tablets older venues look blurry when zoomed in. A global administrator can re-render them in batches instead of re-saving every chart. Run it once after the upgrade:
- Call
POST /api/admin/backgrounds/tiles/backfillwith a global administrator token. It is a dry run by default and lists the charts without tiles. - Repeat with
dryRun=false, passing the returnednextAfterSchemaIdasafterSchemaId, until it comes back empty. Each call queues up tolimitcharts (default 50) as bulk image jobs, and editor saves keep priority over them.
The section-title backfill from 1.70.0 now re-renders the background images of the charts it repairs. Installs that already ran it re-render the charts it returned with POST /api/image-jobs?schemaId={id}, or a whole organization with POST /api/image-jobs/restart/organization/{organizationId}.
Database changes
Eight migrations run on upgrade. Flyway applies them automatically at editor-service startup. It applies migrations in order, so an install that skips releases also runs the migrations of the releases it skips: follow their deployment guides as well. Take the usual database backup first, because V134 updates existing rows.
| Migration | Effect | Locks and data impact |
|---|---|---|
V128__add_auth_version_to_registered_user |
Adds registered_user.auth_version BIGINT NOT NULL DEFAULT 0, which ends account sessions after a password change, reset, disable, re-enable or sign-out |
Short exclusive lock on registered_user; the constant default adds the column without rewriting the table |
V129__venue_shape_svg_path |
Adds nullable venue_shape.svg_path for custom SVG venue outlines |
Short exclusive lock on venue_shape; no rewrite |
V130__venue_shape_tier_guides |
Adds nullable venue_shape.guides (jsonb) for level guides |
Short exclusive lock on venue_shape; no rewrite |
V131__schema_artwork_revision |
Adds schema.artwork_revision and schema.artwork_built_revision (BIGINT NOT NULL DEFAULT 0) and the partial index schema_artwork_behind_idx |
Short exclusive lock on schema for the columns, no rewrite. The index is built without CONCURRENTLY: writes to schema wait while it builds and reads continue. It is empty when created, so the build is a single pass over the table |
V132__schema_references |
Creates schema_reference for the metadata of reference files, with an index on (schema_id, created_at) |
New table; the foreign key to schema takes a brief lock on schema |
V133__schema_reference_s3_storage |
Adds the S3 location (storage_bucket, object_key) to schema_reference, makes data nullable, and creates schema_reference_object_cleanup with a delete trigger that queues object removal |
Touches only the tables V132 creates |
V134__archive_status_for_deleted_events |
Sets status = 'ARCHIVED' on events that are already marked archived, so they appear under Archived in the Events Hub |
Row locks on the archived events only, no table lock. Not reversible; the earlier release reads the ARCHIVED status |
V135__schema_reference_placement |
Adds nullable schema.reference_placement (jsonb) for the placement of a reference image |
Short exclusive lock on schema; no rewrite |
Each ALTER TABLE waits for transactions that already use its table before it takes its lock. PostgreSQL 11 or later adds a column with a constant default without rewriting the table.
A Flyway callback, afterMigrate__grant_application_roles.sql, runs after every migrate, including one with nothing pending. It is not recorded in the schema history, and with SPRING_FLYWAY_PLACEHOLDERS_APPROLES empty, the default, it grants nothing.
Configuration changes
New Helm values
| Value | Default | Effect |
|---|---|---|
global.s3.referenceBucket |
empty | Bucket for reference files. Empty reuses global.s3.bucket. Reaches editor-service as SEATMAP_STORAGE_S3_REFERENCE_BUCKET_NAME |
New settings
These are Spring properties, not chart values. Set them through your existing configuration override or as environment variables.
| Property | Variable | Default | Effect |
|---|---|---|---|
spring.flyway.placeholders.approles |
SPRING_FLYWAY_PLACEHOLDERS_APPROLES |
empty | Database roles that receive table access after each migration |
seatmap.images.artwork-sweep-interval-ms |
SEATMAP_IMAGES_ARTWORK_SWEEP_INTERVAL_MS |
60000 |
How often each editor-service replica looks for seat maps whose booking artwork fell behind and queues their rebuild |
seatmap.images.artwork-sweep-initial-delay-ms |
SEATMAP_IMAGES_ARTWORK_SWEEP_INITIAL_DELAY_MS |
60000 |
Delay before that check runs for the first time after a start |
The signing key variables from Check the signing key pair are not new, but editor-service now validates them.
Exporter resource values
The Helm chart ignores a null in datastoreMetrics.postgres.resources and datastoreMetrics.redis.resources, such as limits.cpu: null, instead of failing the upgrade. The exporters keep their other requests and limits, so a values file that already sets such a null needs no change.
Kubernetes changes
The editor container receives SEATMAP_STORAGE_S3_REFERENCE_BUCKET_NAME from global.s3.referenceBucket; it is empty unless you set the value.
The editor pods keep reading their signing key pair from the <release>-rsa Secret. Keep that Secret during the upgrade and any rollback.
Docker Compose
The Compose bundle’s compose.yaml is unchanged. Its setup service keeps the installation’s key pair, and booking-service still starts only after editor-service is healthy, which happens after the migrations complete.
The bundle stores files locally unless STORAGE_TYPE is s3. To store reference files, set STORAGE_TYPE=s3 and the bundle’s S3_* settings. The bundle passes no variable for a separate reference bucket; to use one, add SEATMAP_STORAGE_S3_REFERENCE_BUCKET_NAME to the editor service’s environment.
Library snapshots and schema files
Library snapshots that carry this release’s content use newer versions. Editors on earlier releases, including federation consumers, decline them, so keep editors aligned when exchanging layouts.
| Snapshot version | Content |
|---|---|
| 3 | A venue shape with a custom SVG path |
| 4 | Level guides |
| 5 | A section bound to a part of its level guide |
| 6 | A path-based section bound by this release’s editor |
| 7 | Fixed row labels or outline titles |
| 8 | Named SVG guides within a level |
An earlier editor opens a schema file that carries this content, but its first save changes the file. A section bound to a part of its guide keeps the binding in the earlier editor until that editor’s first save erases it. An earlier editor shows a path-based section that this release’s editor bound with the earlier layout. The two layouts differ at the Chamfer and Round corners of guides and venue shapes, and the earlier editor’s first save writes its layout back. This release’s editor-service refuses a save from an earlier editor when the schema uses named guides and answers 409 with “This seatmap uses named level guides. Update the editor before saving.” An editor of this release connected to an earlier editor-service turns its named-guide tools off.
Rollback
Rolling the application back to the previous version is supported. The migrations add columns, tables, four indexes, CHECK constraints and a delete trigger on schema_reference, apart from V134, which sets the status of events that were already archived. The earlier release does not read the new columns and tables, and it knows the ARCHIVED status. Reference files already in object storage stay there, unused. Do not delete the <release>-rsa Secret.
Before rolling editor-service back, wait until no replica of this release is running. A replica that stops normally moves the Redis list image_generation_queue:priority to the head of image_generation_queue. Then check the list:
LLEN image_generation_queue:priority
If it is not 0, run RPOPLPUSH image_generation_queue:priority image_generation_queue that many times.
After the rollback:
- Earlier releases cannot read the
SUPERSEDEDstatus that this release gives image jobs it skips, so their admin image-job list fails until everyimage_job:<id>hash whosestatusisSUPERSEDEDis changed withHSET image_job:<id> status COMPLETED. - Earlier releases rebuild a seat map’s booking artwork during the save, not in the image job, and they do not update
artwork_revisionorartwork_built_revision. A seat map whose rebuild had not finished before the rollback keeps its previous booking artwork until it is saved again. This read-only query lists those seat maps. Its list does not shrink as they are saved again, and the next upgrade rebuilds every seat map on it:
SELECT id, name FROM schema WHERE artwork_built_revision < artwork_revision AND NOT is_archived;
Layouts saved with this release’s content follow Library snapshots and schema files after a rollback.