Venolio

Upgrade Venolio

Self-hosting

New releases are listed in your account at https://venol.io/account, with their notes in the changelog at https://venol.io/changelog. The server never checks for updates itself.

Before you upgrade

  • Check that your licence covers the release. Each licence covers releases published up to its Updates until date, shown in Settings → Server licence. A later release runs as Team (up to 10 members, no single sign-on or SCIM) until you renew updates; no data is locked. See Licence.
  • Take a backup and keep the release you run now, its compose.yml and its image references. Going back after an upgrade may need that backup.

Upgrade

  1. Take a backup.

  2. Download the new release bundle from your account and unpack it in a new folder.

  3. In your installation folder, replace compose.yml with the new one, and copy the image lines (VENOLIO_APP_IMAGE, VENOLIO_PROXY_IMAGE, VENOLIO_POSTGRES_IMAGE) from the new .env.example into your .env. Keep everything else in .env, above all COMPOSE_PROJECT_NAME and APP_ENCRYPTION_KEY.

  4. Get the images: they are pulled from the registry, or on a server without internet access run the new bundle’s ./scripts/load-images.sh.

  5. Start the new release:

    docker compose up -d --wait
    docker compose ps
    
  6. Check that the health address answers, you can sign in and a page saves, and look at Settings → Server licence.

Venolio updates its database on start. People see the server as unavailable while the containers restart.

Never change COMPOSE_PROJECT_NAME during an upgrade: Compose would attach different, empty volumes.

Going back

After an upgrade has changed the database, an older release may not start on it. To go back, restore the backup you took before the upgrade with the older release’s compose.yml and image lines (see Backups and restore).

Settings that moved into the app

Older releases read many server settings from environment variables. They are now set in the web app (see Configuration reference). On the first start of a newer release, while no server settings are saved yet, the server:

  • reads each of those variables once (and its _FILE variant, if you used a file), checks the value like one entered in the app and saves it;
  • writes the names of the variables it took over to its log;
  • leaves a setting at its default and logs why, if a value fails the check.

After that the variables have no effect. A later start that still finds one logs that it is no longer read, and Settings shows “Environment variables no longer read” with their names. Check the values in Settings, then remove the variables from .env and any compose.override.yml.

The variables concerned:

Area Variables
Files MAX_UPLOAD_BYTES, MIN_FREE_DISK_BYTES, VENOLIO_ARCHIVE_MAX_BYTES
AI apps (MCP) VENOLIO_MCP_OAUTH_CIMD, VENOLIO_MCP_OAUTH_CIMD_HOSTS, VENOLIO_MCP_OAUTH_DCR_HTTPS
Sign-in OIDC_ISSUER_URL, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, VENOLIO_SSO_GOOGLE_CLIENT_ID, VENOLIO_SSO_GOOGLE_CLIENT_SECRET, VENOLIO_SSO_MICROSOFT_CLIENT_ID, VENOLIO_SSO_MICROSOFT_CLIENT_SECRET, VENOLIO_SSO_MICROSOFT_TENANT, VENOLIO_SSO_GITHUB_CLIENT_ID, VENOLIO_SSO_GITHUB_CLIENT_SECRET
Calendars and mail CALENDAR_GOOGLE_CLIENT_ID, CALENDAR_GOOGLE_CLIENT_SECRET, CALENDAR_MICROSOFT_CLIENT_ID, CALENDAR_MICROSOFT_CLIENT_SECRET, MAIL_GOOGLE_CLIENT_ID, MAIL_GOOGLE_CLIENT_SECRET, MAIL_MICROSOFT_CLIENT_ID, MAIL_MICROSOFT_CLIENT_SECRET, MAIL_MICROSOFT_TENANT
Drive, Slack, GitHub INTEGRATIONS_GOOGLE_CLIENT_ID, INTEGRATIONS_GOOGLE_CLIENT_SECRET, INTEGRATIONS_SLACK_CLIENT_ID, INTEGRATIONS_SLACK_CLIENT_SECRET, GITHUB_APP_ID, GITHUB_APP_PRIVATE_KEY_PEM (or GITHUB_APP_PRIVATE_KEY), GITHUB_APP_WEBHOOK_SECRET
Attachments and imports ATTACHMENT_OCR_ENABLED, VENOLIO_NOTION_RUNNER_CONCURRENCY
AI VENOLIO_AI_TOKEN, VENOLIO_AGENT_BILLING, AI_BASE_URL, AI_API_KEY, AI_MODEL, AI_TRANSCRIPTION_MODEL
Outbound connections CALENDAR_EXTERNAL_ALLOW_PRIVATE, GIT_PROVIDERS_ALLOW_PRIVATE, OBSERVABILITY_ALLOWED_BASE_URLS, PRODUCT_API_ALLOWED_BASE_URLS, VENOLIO_ADDON_CATALOGS
System e-mail the VENOLIO_SMTP_* variables (see E-mail (SMTP))

VENOLIO_AI_URL and VENOLIO_AI_CREDIT_RATES are no longer read and not taken over; remove them.

Session length, the shortest password, invitation limits and retention periods were fixed in older releases; they are now settings with the same defaults (see Security and Data retention).

Moving to PostgreSQL 19

Releases from 0.4.1 run PostgreSQL 19. An installation that still holds an older PostgreSQL database does not start: the database container refuses and names the old data. Nothing is lost. Move the data over once:

  1. With the release you run now, take a backup.

  2. Update compose.yml and the image lines as above, then stop the installation: docker compose stop.

  3. Put the old database aside inside its volume, where it stays for going back:

    docker compose run --rm --no-deps -T --entrypoint sh db -c \
      'cd /var/lib/postgresql && mkdir -p pre-19 && find . -mindepth 1 -maxdepth 1 ! -name pre-19 -exec mv {} pre-19/ \;'
    
  4. Restore the backup into the new release.

  5. Check health, sign-in and a saved page as for any upgrade.

To go back, start the previous images again and move the contents of pre-19 back to the top of the volume. Delete pre-19 only after the installation has run well on PostgreSQL 19 and a new backup restores.

About this part of Venolio: Your server, your data, your rules

Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.