VOR Stream v26.1.7 is the seventh patch release on the v26.1 line. It moves the application database to PostgreSQL 18 with a guided, in-place migration, so v26.1 installations stay on a supported PostgreSQL release. It tightens how the compute engine, the web application and the service registry protect secrets and permissions, renews the bundled Consul certificate authority until 2031, and strengthens the accuracy of SQL results, S3 input, job reruns and date handling. After upgrading, recreate each process with vor create process; the Breaking Changes section explains why.

Highlights

PostgreSQL 18

New installations run PostgreSQL 18.7. An existing PostgreSQL 14 database moves to PostgreSQL 18 in place once an administrator authorizes the migration in the inventory file. The playbook checks for free disk space, copies the data with PostgreSQL’s own upgrade tool, validates the new database before switching to it, and returns to PostgreSQL 14 if anything fails before the switch. The PostgreSQL 14 copy stays on the host, so the database can be returned to it by hand afterward.

Getting Started

Upgrading PostgreSQL 14 to 18 covers the steps, the checks to run afterward, and rollback. The new inventory settings are in the inventory file reference.

Accurate SQL results

SQL v2 queries return the rows the SQL describes:

  • GROUP BY, UNION, INTERSECT, EXCEPT, DISTINCT  and joins on keys tell apart values that read alike when written end to end, such as  (1,'11') and (11,'1'). They treat  -0 and 0 as equal, and the same moment in two time zones as one value. Missing values join each other on every join path, so a query returns the same rows with or without SQL optimization.
  • Conditions keep their parentheses: a and (b or c) filters as written, and not (...)  and if(...) work inside larger expressions.
  • A FULL JOIN with conditions beyond its keys keeps every right row, and a FULL JOIN whose left side is an empty subquery returns the right rows.
  • A join that follows an outer join with an empty side returns its rows.
  • A failure in any part of a SQL node ends the job with an error that names the node.

See SQL for the join syntax, including which table each join holds in memory.

Long jobs end cleanly and explain an expired token

A job that runs past the sign-in token it started with shows its final status in the web interface. The engine logs when each job’s token expires and warns if the job is still running at that moment, and vor run ends such a job by printing when the token expired and which setting to raise. On an Ansible installation that setting is vor_token_ttl, in the inventory file reference.

Stronger protection for secrets and permissions

  • The SDK API’s GetSecrets call gives a signed-in user no stored credentials except the message queue credentials a Python node needs to start. Earlier releases returned the username and password at any secret path the SDK API could read, including every database connection stored for nodes and the email account, and could create database users, whatever the secret’s allowed groups.
  • A database connection name in a process can reach only the connections stored for nodes, and the engine answers every connection it cannot share the same way, so a name reveals nothing about which connections exist. See Setting up Database Connections.
  • Model edit permissions come from the groups assigned to the model’s own playpen, in the Models screen, the API, model imports and methodology imports. See User groups and Permissions.
  • The service registry’s API and UI on port 8500 require an access token, and each VOR Stream service holds a token scoped to what it does. Administrators sign in to the UI with a read-only token, as Consul UI Access describes.
  • The web application reads the engine’s registration in the service registry as plain configuration.

A Consul certificate authority valid until 2031

The Consul certificate authority in the deployment package expires on May 3, 2027, and installations that use it stop working on that date. v26.1.7 ships a certificate authority valid until October 19, 2031. Upgrading moves every host to it and restarts the services that depend on it. Installations with their own certificate authority are unaffected. See Rotating Consul TLS Certificates.

Breaking Changes

Action Required

The following changes require attention when upgrading from versions prior to v26.1.7.

Set up playpen file permissions before upgrading

A playpen upgrade moves aside, as the installation account, the node code that no longer builds, including code that other people’s processes created. On a host where people other than the installation account run vor, set up the common group, umask002  and setgid playpen root that Playpen File Permissions describes before upgrading. Then run that page’s check on each playpen, and its fix where the check lists anything. A file the engine still cannot move stays where it is: the engine names it in a warning in its playpen upgrade log, or in super.log after vor update playpen, and carries on with the upgrade.

Recreate each process after upgrading

Node code generated by versions prior to v26.1.7 does not build against the v26.1.7 engine. This applies to every kind of node, so it affects every existing process. Once a playpen has upgraded, which happens when the service first starts on the new version, run vor create process for each process in it. Do not pass -f, which overwrites node files you have edited. Until a process is recreated, a job that runs it stops with a message asking you to run vor create process. On an installation that has disabled automatic upgrades, run vor update playpen first.

Hand-written Go node code that reads  hh.JobTerminated reads it with hh.JobTerminated.Load().

Authorize the PostgreSQL migration

An installation with a PostgreSQL 14 database stops at the PostgreSQL step of the deployment unless postgresql_allow_major_upgrade=true is set in hosts.ini. This applies to every PostgreSQL installation managed by the playbooks. Installations on Microsoft SQL Server are unaffected. See Upgrading PostgreSQL 14 to 18.

The service registry API requires a token

Tools that read Consul’s API on port 8500, such as monitoring, health checks and scripts, need an access token, and the Consul UI needs a sign-in token. The health endpoint /v1/status/leader stays open. vor show connections –dashboard works as before. The System Status page in the web interface is removed.

Model edit permissions follow the model’s playpen

A user whose model edit permission came from a group for a different playpen can view, but not change, the models of this one. Assign model permissions through a group for the model’s playpen wherever editing is intended.

Results that may change

Processes built on the behavior below produce different results after the upgrade:

  • Queries that rely on the SQL behavior described under Accurate SQL results return different rows once their process is recreated.
  • An impossible date, such as 31/02/2024 or a US-order date with a day over 12, loads as missing with a conversion warning. Dates written with slashes are read as day, month, year. A SQL date literal with an impossible date stops vor create process with an error naming the literal. See Missing values.
  • Once its process is recreated, a model node that runs scenarios (scenario=true) starts each scenario from the input observation, and each row it writes to its output and exception queues holds only that horizon’s values. In earlier versions, a scenario’s first horizon started from the values the previous scenario ended with, and a row could hold values from an earlier horizon or scenario. Within a scenario, a custom model still reads the values it returned on earlier horizons, but a scenario value missing from a horizon is no longer filled in from the horizon before. See Scenarios in a Model Node.
  • A database connection name that contains a ..  path segment is refused. A connection whose list of allowed groups holds only empty entries admits no playpen.
  • The SDK API’s request log lines use new wording and field names, such as finished call and grpc.error. Update log searches and alerts that match the old text.
  • Formulas that call a function the engine does not provide are refused when the model or factor is saved, including a time-horizon function such as lag in a model’s local transformation. See Time-horizon functions. Models saved earlier are not revalidated.
  • The engine’s S3 support no longer includes the AWS S3 transfer manager. Custom playpen Go code that uses it adds it to the playpen’s go.mod, which playpen upgrades keep, as Custom Dependencies describes.

Security

The release also includes these updates:

  • The web server moves to Caddy 2.11.9, Vault to 2.2.2 and the Go toolchain to 1.27.4, closing the advisories published against the earlier versions.
  • The sign-in libraries behind the engine’s identity-provider validation and vor login move to their maintained releases, closing three advisories.
  • The spreadsheet library behind the SDK’s Excel reader, the compression library in the engine, the web application’s DNS library and the engine’s telemetry libraries move to their patched releases.
  • The SDK API keeps the passwords of email requests out of its most detailed log level.
  • vor create process and vor create queue draw their diagrams without a shell, so a label or name in a process file or table definition is drawn as written, quotes, backticks and backslashes included, and is never run as a command.
  • The Consul server key on each host is readable only by the installation account.
  • Each deployment closes Consul’s ACL bootstrap endpoint on every Consul server, and it stays closed between deployments. Only administrators need to reach port 8500, as the Ports & Networking Reference lists. The Consul paragraph of the Upgrade Notes has a token review to run after upgrading.
  • The sqlcmdcommand installed on the Django host moves from 1.10.0 to 1.11.0, closing the 29 advisories published against 1.10.0. VOR Stream does not run it; if you run it by hand, sqlcmd install azsql-edge  is gone, and -G  with no username signs in with  ActiveDirectoryDefault (pass --authentication-method=ActiveDirectoryIntegrated to keep Windows integrated sign-in).
  • The jq command installed beside sqlcmd on the Django host moves from 1.6 to 1.8.2, closing the 20 advisories published against 1.6. VOR Stream does not run it; if you run it by hand, --argfile is gone (use --slurpfile), index, indices and rindex count characters rather than bytes, and tonumber rejects surrounding whitespace.

    Every update is checked against the project’s dependency scanners before release.

    Stability & Quality Improvements

    Complete input data.S3 input nodes read every row of large objects, plain or compressed. A rerun with the same name starts from empty message queues, so it reads only its own data. A Python node that rewinds to an inner group on a queue with two grouping keys reads each inner group the number of times it asks for; regenerate the playpen’s queues with vor create queue to pick this up. vor create queue stops with an error when any queue fails to register.

    Job reliability. Jobs finish without message broker errors when several end or start together. With debug tracing on, a job that fails during setup ends with its error. A study that selects a structured model through its methodology scores it. vor run –study-id runs the named study whatever the state of other studies in the playpen, and  vor run --study  names any study it cannot read. When a job is stopped, its report lists Python nodes waiting on a signal alongside Go nodes. An output with no label takes the default label when its process is recreated.

    Playpens. Creating, upgrading and deleting playpens keeps each playpen’s Go modules in that playpen and leaves the engine’s own module cache and working directory untouched, including when several playpens upgrade at once. See Playpen Management.

    Run options. A slider in a playpen’s run or study options takes decimal bounds, such as 0.001 to 0.1. A slider left untouched starts at, and is saved with, its configured  value, or its  minwhen it has no value.

    Models. Opening, listing and exporting models return complete definitions while another user saves a structured model. A model list, a model export, or a framework or methodology page leaves out a model that another user deletes while it loads. Renaming a lookup reference carries the new name to every predictor that uses it. Local transformations are checked against the functions available to models when they are saved.

    Uploads. An upload type holds at most one link that makes it available to every playpen, on both PostgreSQL and Microsoft SQL Server. See Playpen Scoping.

    SDK. The SDK API keeps serving every client when one request hits an internal error, and answers that request with an error that points to its log. The Python SDK package and its reference match the services the SDK API provides.

    User guide. The user guide in the deployment package works without internet access, with its fonts, diagrams, image viewer and sortable tables included, and each page shows the date it was last updated. New and expanded pages cover striping cloud volumes for disk throughput, which table each SQL join holds in memory, missing values for each data type, and restarting Caddy after a custom configuration change. The data sources, data types, IO nodes and job options pages describe transformations, curves, scenario weights, database nodes and array columns as the engine handles them. The Models page explains which import path reads each export format.

    Administration & Deployment

    PostgreSQL 18.7. Building PostgreSQL 18 needs the bison, flex, perl and libicu-devel packages on the database host, which System Requirements lists. When the application’s database credentials come from Vault, the playbook creates a second database role for Vault to manage them with, because PostgreSQL 16 and later require it. An installation that runs its own PostgreSQL server creates that role itself, as the inventory file reference describes.

    Consul access tokens. The playbooks create a token for each VOR Stream service and host and update the Vault and RabbitMQ configuration to use them. Run the full playbook, without --limit, so every host receives its token and the new certificate authority together. The consul_endpoint inventory setting is no longer used and can be removed.

    Microsoft SQL Server on version 9 hosts. On AlmaLinux and Rocky Linux 9, the playbooks enable the repository that provides the ODBC development package. On Red Hat Enterprise Linux 9, enable CodeReady Linux Builder before deploying, as System Requirements describes.

    Host restarts. The web application’s worker processes stop as soon as they are told to, so rebooting or shutting down the host that runs it takes seconds.

    Bundled versions. Compute hosts receive Go 1.27.4, and RabbitMQ moves to 4.3.8. Scripts that call RabbitMQ’s management API send JSON bodies with content-type: application/json, and use a user with the administrator tag for runtime parameters. The Third-Party Software page lists every bundled version.

    Upgrade Notes

    Review before upgrading

    On PostgreSQL installations, set postgresql_allow_major_upgrade=true in hosts.ini and make sure /opt/vor has free space greater than the database plus 1 GiB. Stop the application services on hosts other than the database host while the PostgreSQL step runs. Where people other than the installation account run vor, set up the playpen file permissions first. After the upgrade, recreate every process with vor create process.

    PostgreSQL. Record any PostgreSQL settings edited outside the playbooks and reapply them on PostgreSQL 18; the new database receives only the settings the playbooks manage. If the application’s database credentials come from Vault, run the PostgreSQL step outside a scheduled credential rotation. An installation that keeps its PostgreSQL data outside /opt/vor/pgsql/data moves its data to PostgreSQL 18 before deploying, because the guided migration supports only the default location. If /opt/vor/pgsql/data is a symbolic link to another volume, the migration copies the database onto /opt/vor, and PostgreSQL 18 keeps its data there afterwards. Before you set postgresql_allow_major_upgrade=true, check that /opt/vor has free space greater than the linked data directory plus 1 GiB: the playbook’s space check measures the link, not the directory it points to. After the migration, confirm the result as Confirming the migration describes, set postgresql_allow_major_upgrade  back to false, and keep  /opt/vor/pgsql-14-retained  until you no longer need a way back. If you return to PostgreSQL 14 and the application’s database credentials come from Vault’s database secrets engine, Vault still signs in as the separate _vault role that only PostgreSQL 18 has, so the application gets no database credentials. Start PostgreSQL 14 with supervisorctl start postgres, then, with  VAULT_ADDR and a token set as in Changing Stored Passwords, write username=<database_user> and that user’s PostgreSQL 14 password to database/config/<database_name>-django. That password is the database_password that hosts.ini held at the last deployment before the upgrade, unless database_vault_path is a database/static-creds/ path: Vault may then have rotated it on PostgreSQL 18 since cutover, so first set it in PostgreSQL 14 to the value vault read -field=password <database_vault_path> prints, as Changing the Password on the Database describes. Vault signs in with the new values before it saves them, and answers error verifying connection when PostgreSQL 14 refuses them. Installations that take PostgreSQL incremental backups take a new full backup after the upgrade.

    Consul. Upgrade before May 3, 2027 if your installation uses the certificate authority from the deployment package. Give an access token to everything that reads Consul’s API on port 8500, and create read-only UI tokens as Consul UI Access describes. Scripts that read the Consul bootstrap token run as the installation account. Consul, RabbitMQ or Vault configuration maintained outside the playbooks needs the access tokens from the playbook templates. Include every Consul server in the first deployment of this release, without --limit, so it closes Consul’s ACL bootstrap endpoint on each of them. A deployment that finds Consul already set up but /opt/vor/consul/data/bootstrapToken missing on the first Consul host stops and says so. Copy that file from the same path on another VOR Stream host or from a backup, owned by the installation account with mode 0600. Otherwise, as the installation account on that host, run consul acl bootstrap, write the reset index it reports to /opt/vor/consul/data/acl-bootstrap-reset on every Consul server, run consul acl bootstrap again and save its SecretID as bootstrapToken, owned the same way; then delete every acl-bootstrap-reset and rerun the playbook. Earlier deployments each created a management token that stays valid. After upgrading, list the tokens with consul acl token list  as Consul UI Access describes, and delete with consul acl token delete -accessor-id <id> every token with the global-management policy that you did not create yourself, except the one consul acl token read -self reports for bootstrapToken. Check too that the anonymous token, 00000000-0000-0000-0000-000000000002, lists no policies or roles, and that consul acl role list and consul acl auth-method list show only entries you created: the playbooks create none.

    Playpens. Where people other than the installation account run vor, set up the playpen file permissions before upgrading. Recreate every process with vor create process, and regenerate the queues of playpens with Python nodes that rewind inner groups, with vor create queue.

    Permissions and connections. Check that each user’s groups grant model edit in the playpens where it is intended. Check stored database connections whose list of allowed groups holds only empty entries. A Python node started by hand, rather than by vor run, needs its message queue user and password set in its environment unless its credential path matches the installation’s default.

    Installations on v0.10.x through v26.1.5. The Vault, Consul and RabbitMQ upgrades in the v26.1.6 release also apply. Save a Vault Raft snapshot and a Consul snapshot before deploying, so a rollback can restore them, and empty a separately mounted RabbitMQ data volume first.