Skip to content

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

Closed
opencloud-eu/reva
#594

Description

@oliver124810

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

I am uploading a lot of files using the Windows Desktop Client. Two of them fails to upload. The error in the server log is:

stat:could not read child node: internal error: Missing parent ID on node
  • This happens with 2 files only, among the thousands I uploaded.
  • They are are PDF files. In the same directory ("Papers"), there are around 200 other PDF files that were uploaded successfully
  • The 2 problematic files have nothing specific
  • Deleting the "Papers" directory and repeating leads to the same errors about the same 2 files among the 200

Steps to reproduce

Good question...

Expected behavior

No error

Actual behavior

The error described above.

Setup

  • Docker with image 63a457e77616 (5.0.1). I cannot update it right now
  • The server data is stored on a local ext4 partition

Additional context

As a workaround, I created a "test" directory and copied there "Papers" directory. They were uploaded successfully. So I deleted the original "Papers" directory and moved "test/Papers" to replace it.

I am aware that this issue might be difficult to reproduce and solve. Still, some more information in the log files or some instructions what to do to troubleshoot the issue would be very helpful in case it occurs again, to me or someone else.

Activity

  1. oliver124810 commented on Apr 13, 2026

    @oliver124810
    Author

    During the troubleshooting, I also tried to upload the file with a different name and rename it afterwars to the original name. It caused the same error:

    opencloud-1      | {"level":"debug","service":"frontend","host.name":"ace187ad6389","pkg":"rhttp","traceid":"532f59af27b0030797d57c34650f5a1e","request-id":"a23b6f9d-1cb0-4964-b71d-1ad1af707cd3","method":"MOVE","head":"remote.php","tail":"/dav/spaces/227dd25c-4648-4c59-9c5e-a4295c91473b$a92e4587-39ee-45d3-a336-3effe4c71d87/.../Papers/newname.pdf","time":"2026-04-13T09:45:36Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/http/services/owncloud/ocdav/ocdav.go:195","message":"http routing"}
    opencloud-1      | {"level":"debug","service":"frontend","host.name":"ace187ad6389","pkg":"rhttp","traceid":"532f59af27b0030797d57c34650f5a1e","request-id":"a23b6f9d-1cb0-4964-b71d-1ad1af707cd3","spaceid":"227dd25c-4648-4c59-9c5e-a4295c91473b$a92e4587-39ee-45d3-a336-3effe4c71d87","path":"/.../Papers/newname.pdf","overwrite":"F","time":"2026-04-13T09:45:36Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/http/services/owncloud/ocdav/move.go:189","message":"move"}
    opencloud-1      | {"level":"error","service":"frontend","host.name":"ace187ad6389","pkg":"rhttp","traceid":"532f59af27b0030797d57c34650f5a1e","request-id":"a23b6f9d-1cb0-4964-b71d-1ad1af707cd3","spaceid":"227dd25c-4648-4c59-9c5e-a4295c91473b$a92e4587-39ee-45d3-a336-3effe4c71d87","path":"/.../Papers/newname.pdf","status":{"code":15,"message":"stat:could not read child node: internal error: Missing parent ID on node","trace":"6919bbeabc333b5c72887905877640a4"},"code":500,"time":"2026-04-13T09:45:36Z","line":"github.com/opencloud-eu/reva/[email protected]/internal/http/services/owncloud/ocdav/errors/error.go:178","message":"Internal Server Error"}
    opencloud-1      | {"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"a23b6f9d-1cb0-4964-b71d-1ad1af707cd3","traceid":"6919bbeabc333b5c72887905877640a4","remote-addr":"10.4.99.2","method":"MOVE","status":500,"path":"/remote.php/dav/spaces/227dd25c-4648-4c59-9c5e-a4295c91473b$a92e4587-39ee-45d3-a336-3effe4c71d87/.../Papers/newname.pdf","duration":10.521482,"bytes":0,"time":"2026-04-13T09:45:36Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
    
  2. micbar commented on Apr 16, 2026

    @micbar
    Member
  3. self-assigned this
    on Apr 16, 2026
  4. aduffeck commented on Apr 16, 2026

    @aduffeck
    Member

    Hm, since the issue is tied to specific paths I currently suspect a stale cache entry being the culprit.

    @oliver124810 Can you provide the config you're running your opencloud with? I'm particularly interested in the STORAGE_* and *_CACHE_* bits.

  5. oliver124810 commented on Apr 16, 2026

    @oliver124810
    Author

    @aduffeck Looking at the compose and .env files, I cannot see any variable STORAGE_ or *_CACHE_* that is set. I use this as a basis:
    https://github.com/opencloud-eu/opencloud-compose

    If the issue is related to the cache, a workaround / confirmation would be to restart the server, next time.

  6. aduffeck commented on Apr 16, 2026

    @aduffeck
    Member

    @oliver124810 Ah, so you are using the default which is an in-memory cache, so those two paths that caused issues should indeed work again after a restart. Is there any chance you could try to verify that?

    Were those paths used in the past already? If yes could you please try to look for suspicious log messages containing these paths from back then?

  7. oliver124810 commented on Apr 16, 2026

    @oliver124810
    Author

    @aduffeck I tried to reproduce the issue with the same file set in a new space, but the error did not occur this time. The paths were new when the error occurred. Unfortunately, the logs have been delete already, sorry :(

  8. added a commit that references this issue on Apr 17, 2026
    3edca67
  9. moved this from Qualification to Done in OpenCloud Team Boardon Apr 20, 2026
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