Skip to content

Persistent HTTP 425 "too early" on jsoncs3 share-manager-metadata for one specific large space, blocks access via Web UI (works fine via mobile app / WebDAV) #3240

Closed
opencloud-eu/reva
#976

Description

@laforge01

I ran into this issue after upgrading my home-hosted OpenCloud instance from 6.3.0 to 7.3.0. My English is limited, so please excuse any awkward phrasing — happy to clarify anything in the comments.

Describe the bug

After upgrading from 6.3.0 to 7.3.0, one specific space (the one with unrestricted quota, containing ~5,900 files) consistently fails to load in the Web UI — both when browsing into it and when listing its members/permissions. Two other, smaller spaces (205 and 791 files) work fine. Files remain fully accessible via the Android app and WebDAV throughout — this looks like a metadata/share-listing issue only, not a storage/data problem.

Steps to reproduce

  1. Have a space with several thousand files, plus one or more smaller spaces
  2. Upgrade from 6.3.0 to 7.3.0 (rolling)
  3. Log into the Web UI
  4. Navigate into the large space, or open its member/permissions list

Expected behavior

The space should open and show its contents and members like the smaller spaces do.

Actual behavior

  • Web UI shows an endless loading spinner when opening the space or its member list
  • GET /graph/v1beta1/drives/{storageid}${spaceid}/root/permissions returns HTTP 500
  • Backend logs show repeated:
    ERR failed to list shares in space error="error: too early: /data/spaces/jsoncs3-share-manager-metadata!jsoncs3-share-manager-metadata/storages/{storageid}/{spaceid}.json" driver=jsoncs3 handler=ListReceivedShares service=sharing
    
  • Underlying request:
    WRN ... status=425 ... url=/storages/{storageid}/{spaceid}.json
    
  • Behavior is intermittent per login session: right after a fresh login the large space sometimes loads once, but then subsequent requests — including to the other, otherwise-healthy spaces — also start failing with the same "too early" error, until logging out and back in.

Setup

Docker Compose, official opencloud-compose repo (legacy layout with a separate collaboration container, not the newer single-process layout). Relevant services: opencloud, collaboration, collabora, clamav, radicale.

Details

OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling
OC_DOCKER_TAG=latest (currently resolves to 7.3.0)
OC_CONFIG_DIR=/opt/ocloud/config
OC_DATA_DIR=/opt/ocloud/data

Things already tried, without effect:

  • docker compose restart opencloud — temporarily works for the current session, issue recurs later
  • Setting SHARING_USER_SHARING_JSONCS3_CACHE_TTL=60 on the opencloud service — no change
  • Confirmed host and container clocks are in sync
  • Confirmed the post-upgrade space-members migration completed successfully (Migration finished ... migrated=3 total=3)

Additional context

Possibly related to #2428 (incomplete NATS event configuration for storage-system/ocm), which may prevent cache-invalidation events from propagating for the jsoncs3 share manager, causing a stale lock/timestamp state that never resolves for larger spaces specifically.

No data loss at any point — files stayed fully accessible via WebDAV/mobile clients throughout.

Activity

  1. micbar commented on Aug 10, 2026

    @micbar
    Member
  2. laforge01 commented on Sep 19, 2026

    @laforge01
    Author

    Just a gentle follow-up after a bit over a month — no pressure at all, I know these things take time and I imagine there's plenty on your plates.

    I'm still seeing this on 7.3.0 and haven't upgraded to 7.4.0 yet, since the changelog didn't seem to touch this area. Happy to test on 7.4.0 or grab any additional logs/debug output if that would help narrow it down — just let me know what would be useful.

    Thanks for taking a look either way.

  3. zell-mbc commented on Oct 22, 2026

    @zell-mbc

    I am on v.8.1.0 and experience the same issue. This is a bit of a bummer because I think the web UI is the only place to set members for the space. In other words, I am unable to add new members to my space.
    If there is anything I can do to help let me know.

    Edit: v9.0.0

  4. moved this from Qualification to Prio 2 in OpenCloud Team Boardon Oct 28, 2026
  5. self-assigned this
    on Nov 4, 2026
  6. moved this from Prio 2 to Needs Review in OpenCloud Team Boardon Nov 9, 2026
  7. micbar commented on Nov 11, 2026

    @micbar
    Member

    From my POV, this just needs a review.

  8. moved this from Needs Review to In Progress in OpenCloud Team Boardon Nov 11, 2026
  9. laforge01 commented on Nov 12, 2026

    @laforge01
    Author

    Thank you very much for looking into this and for the fix, and for the clear explanation in the PR. It's good to finally know what was behind it. It matches what I saw: a single metadata file that stayed stuck after the upgrade.

    In the meantime I have switched to a fresh instance, and I had saved my files from the old one via WebDAV, which worked fine all along. So it's resolved for me, and I can't say much about the fix in practice.

    This was my first bug report, and it was a good experience. Thanks again to you and the team.

  10. zell-mbc commented on Nov 18, 2026

    @zell-mbc

    I can confirm v9.2.0 fixed this issue for me!
    Thanks for the swift turnaround 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions