You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stat:could not read child node: internal error: Missing parent ID on node #2604
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.
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"}
@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?
@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 :(
Activity
oliver124810 commentedon Apr 13, 2026
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:
micbar commentedon Apr 16, 2026
@aduffeck @dragonchaser FYI
aduffeck commentedon Apr 16, 2026
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.oliver124810 commentedon Apr 16, 2026
@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.
aduffeck commentedon Apr 16, 2026
@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?
oliver124810 commentedon Apr 16, 2026
@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 :(
Fix race conditions in the hybrid metadata backend