Skip to content

CI. opencloud log contains a lot of errors #2045

Open

Description

@v-scharf

Describe the bug

A clear and concise description of what the bug is.

Expected behavior

common errors:

1.

 {"level":"error","service":"storage-users","host.name":"47160733b7f6","pkg":"rgrpc","driver":"posix","error":"could not find space for path /root/.opencloud/storage/users/users","path":"/root/.opencloud/storage/users/users/60e5a1b8-6631-475f-a154-007aeeb463bb","time":"2025-12-16T09:51:08Z","message":"could not assimilate item"}
Image

2.

{"level":"error","service":"storage-users","host.name":"47160733b7f6","pkg":"rgrpc","traceid":"6cc74a292c405d0fcc798ff65526c6c7","error":"node.Xattr /root/.opencloud/storage/users/users/2422fc26-1ab7-498c-9138-9834c959444a user.oc.name: no data available","status":{"code":15,"message":"error listing spaces","trace":"6cc74a292c405d0fcc798ff65526c6c7"},"filters":[{"type":2,"Term":{"Id":{"opaque_id":"9b32213a-b0fd-4a66-8733-10e9bf5f2568$8c3f6175-9151-4ba2-bb46-65591dee6589!8c3f6175-9151-4ba2-bb46-65591dee6589"}}},{"type":4,"Term":{"SpaceType":"+grant"}}],"time":"2025-12-16T09:50:49Z","message":"failed to list storage spaces"}

3.

{"level":"error","service":"storage-system","host.name":"31596aa22793","pkg":"rhttp","datatx":"spaces","spaceid":"jsoncs3-share-manager-metadata!jsoncs3-share-manager-metadata","path":"/storages/695bd973-cb26-4067-a672-13d319386dbc/6d85a6b0-b00c-4d35-8440-5af6391c0484!6d85a6b0-b00c-4d35-8440-5af6391c0484.json","svc":"datatx","handler":"download","error":"Decomposedfs: error download blob 'a0e9640d-5c4d-4703-bb26-4e735a6199ec': could not read blob '/root/.opencloud/storage/metadata/spaces/js/oncs3-share-manager-metadata/blobs/cc/86/f7/bc/-2f36-4537-b035-62f0a54e6319': open /root/.opencloud/storage/metadata/spaces/js/oncs3-share-manager-metadata/blobs/cc/86/f7/bc/-2f36-4537-b035-62f0a54e6319: no such file or directory","action":"download","time":"2025-12-16T09:55:19Z","message":"unexpected error"}
{"level":"error","service":"storage-system","host.name":"31596aa22793","pkg":"rhttp","traceid":"0043e7631d667951206579d2ef4ac778","host":"127.0.0.1","method":"GET","uri":"/data/spaces/jsoncs3-share-manager-metadata%21jsoncs3-share-manager-metadata/storages/695bd973-cb26-4067-a672-13d319386dbc/6d85a6b0-b00c-4d35-8440-5af6391c0484%216d85a6b0-b00c-4d35-8440-5af6391c0484.json","url":"/storages/695bd973-cb26-4067-a672-13d319386dbc/6d85a6b0-b00c-4d35-8440-5af6391c0484%216d85a6b0-b00c-4d35-8440-5af6391c0484.json","proto":"HTTP/1.1","status":500,"size":0,"start":"16/Dec/2025:09:55:19 +0000","end":"16/Dec/2025:09:55:19 +0000","time_ns":1008434,"time":"2025-12-16T09:55:19Z","message":"http"}

Activity

  1. denclade commented on Dec 16, 2025

    @denclade

    I would like to add the following error messages which I get alot without seeing actual issues on the webpage.

    OC Version: 4.0.1 stable (Standard docker-compose setup with Keycloak in autoprovisioning mode

    4.

    {"level":"error","service":"storage-users","host.name":"3b20a4a26a1a","pkg":"rgrpc","driver":"posix","error":"EOF","spaceID":"xxx","time":"2025-12-16T14:13:29Z","message":"trashbin: error reading trash directory"}

    This error occurs for various spaces. I checked some of them, usually the trashbin is just empty, creating a file in the space and deleting it results in the file appearing in the trashbin just fine, so I don't know if there's an actual error.

    Edit: Can be ignored, seems to be fixed in rolling already: opencloud-eu/reva#454

    5.

    I guess this just means that the user has an expired token (as it says), but then it should not be an error-level log?

    {"level":"error","service":"proxy","error":"failed to verify access token: token has invalid claims: token is expired","authenticator":"oidc","path":"/graph/v1.0/me","user_agent":"Mozilla/5.0 (Macintosh) mirall/3.0.3.2073 (OpenCloud, macos-24.6.0 ClientArchitecture: arm64 OsArchitecture: arm64)","client.address":"xxx","network.peer.address":"","network.peer.port":"","time":"2025-12-16T14:43:23Z","message":"failed to authenticate the request"}
  2. added
    Type:Maintenance
    and removed on Jan 29, 2026
  3. moved this from Qualification to Prio <= 3 in OpenCloud Team Boardon Jan 29, 2026
  4. michaelstingl commented on Feb 7, 2026

    @michaelstingl
    Contributor

    2.

    {"level":"error","service":"storage-users","host.name":"47160733b7f6","pkg":"rgrpc","traceid":"6cc74a292c405d0fcc798ff65526c6c7","error":"node.Xattr /root/.opencloud/storage/users/users/2422fc26-1ab7-498c-9138-9834c959444a user.oc.name: no data available","status":{"code":15,"message":"error listing spaces","trace":"6cc74a292c405d0fcc798ff65526c6c7"},"filters":[{"type":2,"Term":{"Id":{"opaque_id":"9b32213a-b0fd-4a66-8733-10e9bf5f2568$8c3f6175-9151-4ba2-bb46-65591dee6589!8c3f6175-9151-4ba2-bb46-65591dee6589"}}},{"type":4,"Term":{"SpaceType":"+grant"}}],"time":"2025-12-16T09:50:49Z","message":"failed to list storage spaces"}
    

    Error 2 is likely caused by #1878 — orphaned index references after user deletion.

  5. michaelstingl commented on Jun 27, 2026

    @michaelstingl
    Contributor

    This issue collects several unrelated error classes. Only Error 2 is the user-deletion read error.

    Error 2 (node.Xattr ... user.oc.name: no data available, "error listing spaces", code 15) happens when a space still references a user that has been deleted, so reading that user fails the whole listing. A reva fix makes the listing skip such a user instead of failing:

    The rest have separate causes:

    See #1878 for the user-deletion problem behind Error 2 and what the reva fix does not cover.

    🤖 drafted with Claude Code, reviewed before submitting.

  6. duskvolt commented on Jul 19, 2026

    @duskvolt

    Adding more of the same class as Error 5 — benign conditions logged at error level ("a log-level question rather than a failure"). Observed on 7.3.0 (vendored reva v2.47.0), posix driver with STORAGE_USERS_POSIX_WATCH_FS=true, files also added/moved/deleted directly on the backend filesystem. Continuing the numbering:

    6. failed to handle moved away item / failed to handle deleted item — reva pkg/storage/fs/posix/tree/assimilation.go (~283–298 / ~311). The watcher reacts to the driver's own operations: the blobstore finalizes uploads via temp-file rename and trash is a rename, and there is no self-operation guard — so every app-side upload/move/delete logs these. Companion line: could not get spaceID and nodeID from cache (posix idcache.go ~74), an expected cache miss during the same self-ops.

    7. resource info is missing checksum — services/thumbnails/.../service.go:324. Fires when a preview is requested in the pre-assimilation window (TouchFile creates nodes without checksums). The thumbnail succeeds later.

    8. cannot get upload — services/postprocessing/.../service.go. UploadReady is emitted with an empty UploadID for fs-assimilated files (no upload session exists), so postprocessing logs an error for every backend-added file.

    9. failed to get user locale — services/settings/.../service.go:159. The user simply has no stored language; the code falls back to the default. Fires on many requests until the user saves a language once.

    10. resource id is required (services/activitylog/.../service.go:294, ItemPurged arrives with null resource id) and could not delete parent id cache (service.go:665, parent cache entry already evicted) — both on hard deletes/trash purge; the delete itself succeeds.

    11. Client disconnects logged at error — constant with mobile/desktop clients (previews cancelled while scrolling, video scrubbing): error happened in MultiHostReverseProxy with context canceled (services/proxy/.../proxy.go:52), GetUserByClaim ... code = Canceled (reva grpc log interceptor), and broken pipe + content length vs transferred bytes mismatch (reva ocdav get.go / datatx download.go).

    Suggested direction: a self-operation guard (or debug level) for 6, downgrade-to-debug for the expected-state cases in 7–10, and treating client cancellation as debug in 11 — same spirit as #2951. Happy to split any of these into separate issues if preferred.

  7. junkerderprovinz commented on Sep 27, 2026

    @junkerderprovinz

    Error 8 (cannot get upload with an empty uploadID) now has its own issue in #3606 and a fix in #3607.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type:Maintenance

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions