Four ownCloud Infinite Scale 8.2 patch releases, one friendly round-up
Between 2 October and 26 November we shipped four maintenance releases for oCIS 8.2. Here’s what changed, what we’d like you to do, and what you can leave alone.
If you run ownCloud Infinite Scale (oCIS), you may have noticed a steady stream of patch releases lately. We know that’s a lot of release notes to keep up with, so we’ve pulled the 8.2 line together here. You’ll find what’s new, what we recommend, and what to check before you update.
A quick word about 8.0. That line also picked up some security and bug fixes in recent weeks, but we won’t walk through them here. If you’re still on 8.0, skip ahead to the “Still on 8.0?” section below. We’re also testing the 9.0 release candidates, and we cover those in a separate post.
The short version
- On the 8.2 line: update to the latest release, which is 8.2.4 at the time of writing (26 November).
- Still on 8.0? Please move to the latest 8.2 release, and have a look at our 2.0 post before you start.
- Two settings may need a look if you’re updating from an earlier 8.2 version. GRPC_MAX_CONNECTION_AGE is replaced by new keepalive settings (8.2.1). And if you run multi-instance oCIS with LDAP, you need an explicit OCIS_LDAP_USER_FILTER (8.2.2).
- Copying our Collabora examples? From 8.2.4 they need admin credentials in your .env
- Planning ahead: the owncloudsql and posixfs storage drivers, along with their environment variables, are scheduled for removal in oCIS 9.0.0. We announced this with 8.2.3.
Still on 8.0?
If you’re still running the 8.0 line, our advice is simple: move to the latest 8.2 release, which is 8.2.4 at the time of writing. The 8.0 line also received some security and bug fixes recently, and we won’t go through them one by one, because those fixes live on in the newer lines. More generally, we’d encourage everyone in the community to move to the newest version as soon as it’s available. Our focus is on the latest release, and we can’t keep several stable branches going at once.
Moving from 8.0 to 8.2 takes a little care, so please read our 8.2.0 release post before you start. Two things in it are worth checking. First, the default for OIDC group auto-provisioning has changed. If your deployment relies on groups coming from your OIDC provider, you’ll need to set PROXY_AUTOPROVISION_CLAIM_GROUPS explicitly after upgrading, or group memberships from your provider will stop being synced at login. Second, self-service password changes now go through a dedicated endpoint, which matters if you have scripts or integrations that change passwords. The other new settings in 8.2.0 (two switches for turning off public or direct sharing, and an optional audience check for OIDC tokens) keep today’s behaviour until you change them. The 8.2.1 and 8.2.2 notes below apply to you as well.
2 October: 8.2.1
On the security side, 8.2.1 updates the gRPC library to close a denial-of-service issue in how gRPC servers handle certain connections. It also updates an image-decoding library, refreshes the Go toolchain and other dependencies, and strengthens protection against repeated password guessing on password-protected public links.
A few fixes are worth knowing about:
- Running share operations at the same time could corrupt share metadata, and that’s fixed.
- LDAP instance lookups are now cached, which saves repeated round-trips to your directory.
- A brief hiccup at your OIDC provider now produces a retryable “service unavailable” answer instead of an authentication error, so clients no longer read it as a failed login.
- Deleting a space also accepts an X-Purge header, for clients that send it that way.
This release also changes some configuration, so it’s worth a quick look at your environment variables. GRPC_MAX_CONNECTION_AGE is replaced (not kept alongside) by client-side keepalive, which you tune with GRPC_CLIENT_KEEPALIVE_TIME and GRPC_CLIENT_KEEPALIVE_TIMEOUT. Keepalive pings stay off unless you set those variables. TLS is now available for NATS store and registry connections and for the frontend’s stat cache store connection. The janitor that cleans up expired public shares is now configurable with OCIS_SHARING_ENABLE_EXPIRED_SHARES_CLEANUP and OCIS_SHARING_JANITOR_RUN_INTERVAL. And a new OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION setting lets you switch off public-link resolution during PROPFIND requests, which can lighten the load on large collections.
21 October: 8.2.2
This one comes with a heads-up. A fix to the LDAP master-ID filter means that, in multi-instance deployments using LDAP, the graph, auth-basic, users and groups services now refuse to start unless OCIS_LDAP_USER_FILTER is set explicitly. Please set it before you upgrade. Single-instance deployments, and deployments that don’t use LDAP, aren’t affected.
The rest is gentler. Vue is updated, and so are Vite, markdown-it and follow-redirects, which closes five published advisories. App passwords and basic auth now work when PROXY_USER_OIDC_CLAIM is set to a non-default value (multi-instance deployments still reject those requests). GET /graph/v1.0/me falls back to your default language instead of failing when a language lookup doesn’t work out. And the ocis_multi example now lets the ownCloud Marketplace through its Content-Security-Policy.
6 November: 8.2.3
A small release. It updates three Go libraries, including a fix for a panic in the compression library oCIS uses for payloads. It also fixes a data race in the web service’s theme handling, where simultaneous requests could mix up theme values (or, in the worst case, crash the service). Busy deployments, multi-tenant setups and anything behind a load balancer fanning out to several web service instances are the likeliest to notice.
This release also sets a clock running. Environment variables with OWNCLOUDSQL in the name (used by storage-users, auth-basic, users, groups and sharing) and with POSIX in the name (used by storage-users) are now deprecated. They still work today. But the owncloudsql and posixfs storage drivers, and these variables with them, are scheduled for removal in oCIS 9.0.0. If you use either driver, now is a good time to plan your move.
26 November: 8.2.4
Our newest 8.2 release, and the one we’d like you on. On the security side, it updates two indirect Go libraries to close known vulnerabilities, and there’s nothing to configure for that.
Most of the rest is about sharing, and it makes group shares behave better. The share manager now cleans up stale group shares, which are leftover entries pointing at shares that no longer exist. It does that carefully, only after a five-minute grace period, so a rolling upgrade can’t make valid shares vanish for group members. It also needs far fewer storage round-trips to do its work (purging a space with 20 group shares drops from 41 uploads to 3). It sends one expiry notification per expired share instead of many, and it recovers more gracefully when an upload fails partway through. If you’ve ever seen a share look accepted when it wasn’t, or been flooded with expiry notices, this one is for you.
Under heavy load, requests waiting on a share cache lock now give up once the client has gone, so abandoned requests no longer pile up and hold on to memory. Reading cached file metadata is cheaper too: a bounded, process-local layer keeps decoded attributes (by default up to 16,384 entries and about 64 MiB per cache). Listing a user’s storage spaces, as /graph/v1.0/me/drives does, no longer reads every space root from disk. And drives for received shares now carry an etag on the drive root, so clients can spot changes in shared folders by comparing it.
A few smaller things. Viewer apps in the web UI, like the PDF viewer, now check that a file type is supported before loading it, and show an error message if it isn’t. The antivirus service creates a dedicated ICAP client for every scan, which only matters if you run ANTIVIRUS_SCANNER_TYPE=icap. And the Collabora examples in ocis_full and ocis_ocm are hardened: Collabora is restricted to the hosts it needs, runs on its own internal network, and the admin console requires credentials. If you copy those examples, please set COLLABORA_ADMIN_USER and COLLABORA_ADMIN_PASSWORD in your .env file.
No breaking changes are listed for 8.2.4, apart from the example Collabora setup needing those credentials.
Getting the update with Docker
If you run the official image, pulling the latest 8.2 release is a single command:
docker pull owncloud/ocis:8.2.4
The image page is on Docker Hub. If you’d rather pin another exact version, use its full tag.
A short checklist before you update
- Back up your data and configuration, as you would for any update.
- If you rely on GRPC_MAX_CONNECTION_AGE, move to GRPC_CLIENT_KEEPALIVE_TIME and GRPC_CLIENT_KEEPALIVE_TIMEOUT.
- If you run multi-instance oCIS with LDAP, set OCIS_LDAP_USER_FILTER before updating to 8.2.2 or later.
- If you copy our Collabora examples, set COLLABORA_ADMIN_USER and COLLABORA_ADMIN_PASSWORD in your .env
- Check whether any of your configuration uses the OWNCLOUDSQL or POSIX environment variables.
- Coming from 8.0? Read our 2.0 post first, and check how your deployment handles OIDC groups and password changes.
Looking ahead
oCIS 9.0 is on its way, and we’d love your help testing it. Our 9.0 release candidate post covers what’s inside and how to try it. If something doesn’t look right after an update, tell us. You can open an issue on GitHub or start a thread on ownCloud Central, and we’ll happily help.
Thank you for running ownCloud, and for telling us when things go sideways. It makes every release better.
Warmly,
The ownCloud team


