Skip to content

Failing to assimilate due to "file name too long" #1585

Closed

Description

@louiecaulfield

Describe the bug

Files with a long name do not get assimilated

Steps to reproduce

  1. Stop the opencloud daemon
  2. Add a file in user storage with a long path [1] in user storage [2]
  3. Start the opencloud daemon
  4. Observe the error [3] and how the file does not appear in the web interface

[1] abcdefghi/abcde/folder with length 31 charachts/abc/folder name of 17/folder name of 25 characs/This is a very long filename with a number of chars of 84 if you take the exten.sion
[2] /var/lib/opencloud/storage/users/users/46083fad-c95a-4db7-be82-62e40ed96d3a/
[3]

{
"level":"error",
"service":"storage-users",
"host.name":"dccdfb0c717c",
"pkg":"rgrpc",
"driver":"posix",
"error":"open /var/lib/opencloud/storage/users/users/46083fad-c95a-4db7-be82-62e40ed96d3a/.oc-nodes/locks/var-lib-opencloud-storage-users-users-46083fad-c95a-4db7-be82-62e40ed96d3a-abcdefghi-abcde-folder with length 31 charachts-abc-folder name of 17-folder name of 25 characs-This is a very long filename with a number of chars of 84 if you take the exten.sion.mlock: file name too long",
"path":"/var/lib/opencloud/storage/users/users/46083fad-c95a-4db7-be82-62e40ed96d3a/abcdefghi/abcde/folder with length 31 charachts/abc/folder name of 17/folder name of 25 characs/This is a very long filename with a number of chars of 84 if you take the exten.sion",
"time":"2025-09-30T06:50:34Z",
"message":"could not assimilate item"
}

Expected behavior

The file should be assimilated

Actual behavior

The file does not get assimilated

Setup

I use the docker-compose setup from opencloud-eu/opencloud-compose@5c26c75

The relevant change in .env:

COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml

My data is on a BTRFS filesystem

Activity

  1. rhafer commented on Sep 30, 2025

    @rhafer
    Member

    This was already fixed with opencloud-eu/reva#352 which will be part of the next release.

  2. moved this from Qualification to Done in OpenCloud Team Boardon Sep 30, 2025
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

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions