Skip to content

Error: stat:could not read child node: internal error: Missing parent ID on node and file gets dettached from updates #2821

Closed
opencloud-eu/reva
#650

Description

@ensapra

Describe the bug

Every so often, a file is no longer synced on my desktop. When looking at the server, I can see the file has the error

stat:could not read child node: internal error: Missing parent ID on node

when trying to open it.

The only way to fix it is restarting the whole server, which gets really annoying

Steps to reproduce

  1. Edit the file in Android?
  2. Edit the file or open it also in Opencloud?
  3. Suddenly it doesn't get updated anymore
  4. Checking server shows the error

Expected behavior

The file should be properly synced and the update be automatically downloaded. If there is conflict of some sort, it should show the option to resolve it in some way?

Actual behavior

The file gets blocked and no longer sync, no error shows anywhere unless manually checked.

Setup

  • Android Phone with access to my Obsidian folder (where the file resides) downloaded locally.
  • Syncthing on my Android Phone syncing the local Obsidian Folder in Android with the actual folder in the OpenCloud server
  • Open Cloud Desktop on my local computer with Obsidian permanently downloaded

I use the default OpenCloud configuration with proxy through Tailscale for external access on my other devices.

Additional context

The reason I'm using Syncthing is because I'm waiting for this option to be available so I can natively only use OpenCloud
opencloud-eu/android#24 (comment)

Activity

  1. ensapra commented on May 22, 2026

    @ensapra
    Author

    I can see similar issues like
    #2604
    and
    opencloud-eu/reva#594

    but altough closed as "fixed" it's still happening

  2. ensapra commented on May 22, 2026

    @ensapra
    Author

    I see there's a new version available, 7.0.0. I'm still at 6.1.0. I will try updating and notify back

  3. the-hotmann commented on May 22, 2026

    @the-hotmann

    Same error here.
    After downgrading back to 6.2.0 it worked again.

  4. ensapra commented on May 22, 2026

    @ensapra
    Author

    I just updated to 6.2 and I will report back and see if it happens again. Cannot update to 7.0 since I cannot seem to make it work

  5. ensapra commented on Jun 4, 2026

    @ensapra
    Author

    Still happening in 6.2.0

  6. ensapra commented on Jun 4, 2026

    @ensapra
    Author
    Image
  7. moved this from Qualification to In Progress in OpenCloud Team Boardon Jun 4, 2026
  8. aduffeck commented on Jun 5, 2026

    @aduffeck
    Member

    @ensapra could you provide the dump of the xattrs of such a file, e.g. using getfattr -d /path/to/file? I'm curious to see what's actually written on disk.

  9. ensapra commented on Jun 7, 2026

    @ensapra
    Author

    Let me try to get that. The server broke while updating last time so i gotta get on-site to fix it. I will get back once i get the data

  10. ensapra commented on Jun 23, 2026

    @ensapra
    Author

    @aduffeck
    Still an issue in 7.1.0 rolling. Running get fattr. On a proper file there's metadata
    udo getfattr -d STEPS.md

    file: STEPS.md

    user.oc.blobid="3665ea6f-bce6-4bf0-bdaa-12468f39f25f"
    user.oc.blobsize="169"
    user.oc.cs.adler32=0s+vQ6yw==
    user.oc.cs.md5=0s68WmIOczM4vwtCh7EqVycA==
    user.oc.cs.sha1=0skrx8evB/MfkPUEt5nYPnDV2KF5M=
    user.oc.id="bac579a7-d81d-411e-8908-1b662e8387e9"
    user.oc.mtime="2024-06-27T06:49:02Z"
    user.oc.name="STEPS.md"
    user.oc.parentid="da44d3fd-5ff5-4117-b6b3-33c4e4141f7e"
    user.oc.type="1"

    but in the problematic file there's nothing

    Image
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