Repository navigation
Description
Describe the bug
I have three shares: personal, work and shares.
Personal - This share syncs without any issues but it only had a few files waiting to sync.
Shares - Is empty, so no issues.
Work - This share contains over 2000 files (50-1000 kB each) and over 100 files (100-200 MB each) on my laptop, waiting to be uploaded to the server.
When I attempt to sync the Work share from my laptop, the Opencloud server crashes.
Steps to reproduce
- Open the Opencloud client on my laptop.
- Initiate sync of the Work share.
The crash occurs every time I attempt this.
Expected behavior
The sync should complete successfully.
Actual behavior
- Shortly after starting the sync, the Opencloud server crashes.
- Other running Docker containers and VMs continue to function.
- The Unraid web UI eventually becomes unreachable, and commands like
diagnosticsandpowerdown -rfail. - I can still connect to the Unraid server via SSH.
After running docker logs -f opencloud-opencloud-1 and starting the sync, these are the last lines in the log:
{"level":"info","service":"auth-service","host.name":"af500f5ccf51","pkg":"rgrpc","traceid":"226607b69651bb3ad3887790ce652666","time":"2026-08-07T13:42:19Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146","message":"user idp:\"none\" opaque_id:\"206f2a19-05ea-4e1c-ba9a-6f5eb7f86286\" type:USER_TYPE_SERVICE authenticated"}
{"level":"info","service":"storage-system","host.name":"af500f5ccf51","pkg":"rgrpc","traceid":"4b826d444a1392802d2fc5e60f09f2df","time":"2026-08-07T13:42:19Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146","message":"user idp:\"internal\" opaque_id:\"565fd44d-b9f1-4da8-82ad-99769988d57d\" type:USER_TYPE_SERVICE authenticated"}
{"level":"info","service":"storage-system","host.name":"af500f5ccf51","pkg":"rgrpc","traceid":"4b826d444a1392802d2fc5e60f09f2df","data-server":"http://localhost:9216/data","ref":{"resource_id":{"opaque_id":"jsoncs3-share-manager-metadata","space_id":"jsoncs3-share-manager-metadata"},"path":"./users/9a77ab84-114f-4d50-ad09-e37672bd45b1/received.json"},"time":"2026-08-07T13:42:19Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:296","message":"file download"}
{"level":"error","service":"eventhistory","error":"Failed to store data in bucket 'GE2DAYJUGZRTKLJWMI4WKLJUMQ2GCLLBGI2TCLLEGJSDCMLDGIZTGZJZMI======': nats: timeout","eventid":"140a46c5-6b9e-4d4a-a251-d2d11c233e9b","time":"2026-08-07T13:42:24Z","line":"github.com/opencloud-eu/opencloud/services/eventhistory/pkg/service/service.go:71","message":"could not store event"}
{"level":"error","service":"postprocessing","uploadID":"e629e4e4-1820-4aca-8b83-17958ebf9b8e","error":"Failed to store data in bucket 'MU3DEOLFGRSTILJRHAZDALJUMFRWCLJYMI4DGLJRG44TKODFMJTDSYRYMU======': nats: timeout","time":"2026-08-07T13:42:24Z","line":"github.com/opencloud-eu/opencloud/services/postprocessing/pkg/service/service.go:290","message":"cannot store upload"}
{"level":"error","service":"postprocessing","error":"event error: cannot store upload","time":"2026-08-07T13:42:24Z","line":"github.com/opencloud-eu/opencloud/services/postprocessing/pkg/service/service.go:138","message":"continuing"}
{"level":"error","service":"postprocessing","error":"Error publishing message to topic: nats: timeout","time":"2026-08-07T13:42:24Z","line":"github.com/opencloud-eu/opencloud/services/postprocessing/pkg/service/service.go:297","message":"unable to publish event"}
{"level":"fatal","service":"postprocessing","error":"fatal error: unable to publish event","time":"2026-08-07T13:42:24Z","line":"github.com/opencloud-eu/opencloud/services/postprocessing/pkg/service/service.go:136","message":"fatal error - exiting"}
I have attached the last 47 lines of the log: opencloud-docker-log.txt
The only other occurrence of "error":"fatal error: unable to publish event I found is in issue #2232.
Setup
- Opencloud with docker compose with Traefik and Collabora.
- The setup follows the default setup with traefik, with one customization: I added a macvlan network to assign Opencloud its own IP address.
- Docker image:
opencloudeu/opencloud-rolling:7.2.0
Server
Unraid 7.3.2
Compose Manger Plus plugin
Laptop
Framework 13, Fedora 44, Appimage client
Details
OpenCloud 3.0.3.2073 72fe8f
Libraries Qt 6.9.2, OpenSSL 3.5.4 30 Sep 2025
Using virtual files plugin: off
OS: fedora-7.1.4-204,fc44.x86_64 (build arch: x86_64, CPU arch: x86_64)
QPA: waylandAdditional context
The issue still occurs with all other Docker containers down and VMs powered off.
Opencloud ran fine for a few weeks before this issue started. Around the same time as the issue started, I
Updated Unraid from 7.3.1 to 7.3.2
Added another drive to the Unraid array (not used by Opencloud)
Swapped out the old router to a Ubiquiti Cloud Gateway Ultra
I also have a support thread started at the Unraid forum.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
micbar commentedon Aug 14, 2026
how does opencloud use the unraid storage? Which protocol is used?
The opencloud team is not behind the unraid integration. We do not know that kind of system and its limitations.
@michl1919 FYI
junkerderprovinz commentedon Aug 18, 2026
I run OpenCloud on Unraid myself, so happy to answer the storage question.
Protocol: none. It's a plain local bind mount from the host filesystem into the container. What matters is which host path gets bound:
/mnt/user/<share>goes throughshfs, Unraid's FUSE layer.The forum thread linked above says the OpenCloud share is cache -> array, so it's on the FUSE path, and on the parity array too once the mover runs.
Worth checking before assuming storage speed is the whole story:
nats: timeout, even on fast SSD with no Unraid involved. Quick check:opencloud storage-users uploads sessions --processing.services/postprocessing/pkg/service/service.go, theErrFatalreturn right after the publish call), with no retry. That looks like the real bug to me, and it would explain the crash regardless of storage.On the version: 7.2.0 predates opencloud-eu/reva#720 (fsync improvements, landed in 7.3.0+), so upgrading is worth doing, but that fix touches file writes rather than the NATS side and probably won't fix this crash on its own.
Storage-side mitigation, if it does turn out to matter: move
/var/lib/opencloudoffshfsonto a direct pool path.junkerderprovinz commentedon Aug 18, 2026
Opened #3347 with an actual fix for the crash-on-publish-timeout bug, not just the storage-side mitigation discussed above. Found two related closed issues that look like the same root cause: #2232 and #2422, both closed without a fix. Details in the PR.
SlayerOwl commentedon Aug 28, 2026
I have now updated OpenCloud from 7.2.0 to 7.5.0. This resolved the issue and my work share is now syncing properly.
Thank you @junkerderprovinz for your input, and the OpenCloud team for addressing this.