Repository navigation
Closed
Labels
Description
Describe the bug
After upgrading from version 4.0.8 to 7.2.3 the users space doesn't load anymore nor can I create new ones.
Steps to reproduce
- Have a running instance with version 4.0.8
- Upgrade to version 7.2.3 as it is mentioned on https://docs.opencloud.eu/docs/admin/maintenance/upgrade/upgrade-7.x.x
- Start the instance and wait for the migration to finish, all spaces are gone from the WebUI.
Expected behavior
All spaces and data being shown after the upgrade.
Actual behavior
The space of the logged in user doesn't show up and new spaces can't be created.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
docker-compose.yml:
services:
office:
container_name: office
image: ghcr.io/euro-office/documentserver:latest
restart: unless-stopped
ports:
- 127.0.0.1:8080:80/tcp
env_file:
- .env.office
networks:
opencloud:
opencloud:
container_name: opencloud
image: opencloudeu/opencloud:7.2.3
restart: unless-stopped
ports:
- 127.0.0.1:9200:9200/tcp
volumes:
- ./opencloud/config:/etc/opencloud
- ./opencloud/data:/var/lib/opencloud
depends_on:
valkey-sentinel:
condition: service_started
office:
condition: service_started
env_file:
- .env.opencloud
entrypoint:
- /bin/sh
command: [ "-c", "opencloud init || true; opencloud server" ]
networks:
opencloud:
valkey:
container_name: valkey
image: valkey/valkey:9-alpine
restart: unless-stopped
volumes:
- ./valkey/valkey.conf:/usr/local/etc/valkey/valkey.conf:ro
- ./valkey/data:/data
command: valkey-server /usr/local/etc/valkey/valkey.conf
networks:
opencloud:
valkey-sentinel:
container_name: valkey-sentinel
image: valkey/valkey:9-alpine
restart: unless-stopped
volumes:
- ./valkey/valkey-sentinel.conf:/usr/local/etc/valkey/valkey-sentinel.conf
depends_on:
valkey:
condition: service_started
command: valkey-sentinel /usr/local/etc/valkey/valkey-sentinel.conf
networks:
opencloud:
networks:
opencloud:
external: true
.env.office:
JWT_SECRET=xxx
WOPI_ENABLED=true
.env.opencloud:
COLLABORATION_APP_ADDR=https://office-cloud.example.com
COLLABORATION_APP_ICON=https://office-cloud.example.com/web-apps/apps/documenteditor/main/resources/img/favicon.ico
COLLABORATION_APP_NAME=Euro-Office
COLLABORATION_APP_PRODUCT=OnlyOffice
COLLABORATION_JWT_SECRET=
COLLABORATION_WOPI_SECRET=
COLLABORATION_WOPI_SRC=https://office-cloud.example.com
EURO_OFFICE_DOMAIN=office-cloud.example.com
IDM_ADMIN_PASSWORD=xxx
NOTIFICATIONS_SMTP_AUTHENTICATION=auto
NOTIFICATIONS_SMTP_ENCRYPTION=ssltls
NOTIFICATIONS_SMTP_HOST=cloud.example.com
NOTIFICATIONS_SMTP_PASSWORD=xxx
NOTIFICATIONS_SMTP_PORT=465
NOTIFICATIONS_SMTP_SENDER='OPENCLOUD <cloud.example.com>'
NOTIFICATIONS_SMTP_USERNAME=
NOTIFICATIONS_WEB_UI_URL=https://cloud.example.com
OC_ADD_RUN_SERVICES=collaboration
OC_BASE_DATA_PATH=/var/lib/opencloud
OC_CACHE_STORE_NODES=valkey-sentinel:26379/myprimary
OC_CACHE_STORE=redis-sentinel
OC_CACHE_TTL=6h
OC_CONFIG_DIR=/etc/opencloud
OC_INSECURE=false
OC_JWT_SECRET=xxx
OC_LOG_LEVEL=error
OC_MAX_CONCURRENCY=10
OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=false
OC_URL=https://cloud.example.com
PROXY_CSP_CONFIG_FILE_LOCATION=/etc/opencloud/csp.yaml
PROXY_ENABLE_BASIC_AUTH=true
PROXY_HTTP_ADDR=0.0.0.0:9200
PROXY_TLS=false
SHARING_LOG_LEVEL=info
STORAGE_USERS_POSIX_WATCH_FS=true
THUMBNAILS_MAX_INPUT_HEIGHT=16384
THUMBNAILS_MAX_INPUT_WIDTH=16384
Additional context
I already found out that it seems related to the following environment variables:
OC_CACHE_STORE_NODES=valkey-sentinel:26379/myprimary
OC_CACHE_STORE=redis-sentinel
OC_CACHE_TTL=6h
The issue with the upgrade doesn't occur if the default cache store "nats-js-kv" is used.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
micbar commentedon Aug 14, 2026
@rhafer @aduffeck @tbsbdr
This problem occurs when people do not use nats as store.
I thought we do not support redis anymore?
rhafer commentedon Oct 28, 2026
Yes, I thought that as well. IMO we should make it pretty cleare that valkey/redis is unsupported.
@xImMoRtALitY99 Is there a specific reason why you switched to valkey? Of was it just for testing.
xImMoRtALitY99 commentedon Oct 29, 2026
I think I used Redis/Valkey for OC_CACHE_STORE_NODES back when running a separate collaboration service/container was still required, possibly some leftover configuration from when I was using OCIS before migrating to OC. Once I noticed that the collaboration service had been integrated into the main binary, I removed most of the additional settings and environment variables.
I noticed the issue with Redis/Valkey before migrating my data to OC. I used Valkey instead of Redis(even though it wasn’t mentioned in the documentation) because I hated Redis’s license change and what it meant for the open-source community.
rhafer commentedon Nov 9, 2026
@tbsbdr I think we should add a note to the release notes for 9.0.x about "redis being deprecated as a backend for all caches and stores."
micbar commentedon Nov 11, 2026
@tbsbdr This is just a release notes topic.
If that sentence above is added, we could remove the blocker here.
tbsbdr commentedon Nov 12, 2026
Like this? @micbar, please refine the note. You’re best placed to put yourself in the shoes of an affected admin. #3815 (comment)
micbar commentedon Nov 13, 2026
Correct. That closes the issue.