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
When uploading a file through iOS app, upload fails
Steps to reproduce
Access mobile app
Upload a file
Expected behavior
File is uploaded
Actual behavior
Upload fails, file is created server side with 0 bytes and following logs appear:
opencloud | {"level":"error","spaceid":"f4fe262b-755d-488c-a26f-5807e8f18f86","nodeid":"bc8303f8-5832-42c5-b186-bc9c0460c75f","error":"failed to upload file to blobstore: failed to move temp file '/var/lib/opencloud/storage/users/projects/F3/.oc-tmp/cb3ec316-c836-4799-bc81-5359e8cc343d' to node '/var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeos/2025/navidad 2025.jpg' - rename /var/lib/opencloud/storage/users/projects/F3/.oc-tmp/cb3ec316-c836-4799-bc81-5359e8cc343d /var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeos/2025/navidad 2025.jpg: invalid cross-device link","time":"2025-11-17T22:46:29Z","message":"could not finalize upload"}
and a neverending following logs
opencloud | 2025-11-17T22:46:30Z ERR cannot get upload error="Failed to get object from bucket: nats: invalid key" line=github.com/opencloud-eu/opencloud/services/postprocessing/pkg/service/service.go:261 service=postprocessing uploadID=
opencloud | 2025-11-17T22:46:30Z ERR continuing error="event error: cannot get upload" line=github.com/opencloud-eu/opencloud/services/postprocessing/pkg/service/service.go:140 service=postprocessing
@micbar@rhafer could you please give me a hand? I'm completely stuck with this issue. I cannot upload anything. I didn't mentioned, but it was working prior to 3.7 version. Let me give you more updated logs (v4):
opencloud | 2025-12-28T23:32:03Z WRN Failed to execute error="{\"id\":\"eu.opencloud.api.thumbnails\",\"code\":425,\"detail\":\"File Processing\",\"status\":\"Too Early\"}" duration=9.612931 line=github.com/opencloud-eu/opencloud/services/thumbnails/pkg/service/grpc/v0/decorators/logging.go:46 method=Thumbnails.GetThumbnail service=thumbnails
opencloud | 2025-12-28T23:32:03Z INF access-log bytes=170 duration=519.238756 line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34 method=GET path="/remote.php/dav/spaces/c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen (2).png" proto=HTTP/1.1 remote-addr=192.168.10.104 request-id=9c46a6c3-01d1-4b1c-94c1-9f6ebbc26f1f service=proxy status=425 traceid=3edd35c50991b41bce9e4808628fba62
opencloud | 2025-12-28T23:32:03Z WRN Failed to execute error="{\"id\":\"eu.opencloud.api.thumbnails\",\"code\":425,\"detail\":\"File Processing\",\"status\":\"Too Early\"}" duration=10.580562 line=github.com/opencloud-eu/opencloud/services/thumbnails/pkg/service/grpc/v0/decorators/logging.go:46 method=Thumbnails.GetThumbnail service=thumbnails
opencloud | 2025-12-28T23:32:03Z INF access-log bytes=170 duration=528.475077 line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34 method=GET path="/remote.php/dav/spaces/c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen.png" proto=HTTP/1.1 remote-addr=192.168.10.104 request-id=b62897bb-6980-4ab7-aa66-22e96ad4ca2e service=proxy status=425 traceid=077715cfac288ee548122ac516a52eba
opencloud | 2025-12-28T23:32:03Z WRN Failed to execute error="{\"id\":\"eu.opencloud.api.thumbnails\",\"code\":425,\"detail\":\"File Processing\",\"status\":\"Too Early\"}" duration=14.68999 line=github.com/opencloud-eu/opencloud/services/thumbnails/pkg/service/grpc/v0/decorators/logging.go:46 method=Thumbnails.GetThumbnail service=thumbnails
opencloud | 2025-12-28T23:32:03Z INF access-log bytes=170 duration=532.080968 line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34 method=GET path="/remote.php/dav/spaces/c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen (1).png" proto=HTTP/1.1 remote-addr=192.168.10.104 request-id=c5de0259-6043-4c72-88e2-6a2aba2bedf0 service=proxy status=425 traceid=d38fb239a4566ca465a32587c9f40468
opencloud | 2025-12-28T23:32:03Z ERR failed to handle deleted item error="error: not found: path not found in cache:/var/lib/opencloud/storage/users/posixfs-xattr-check-2754951330" driver=posix host.name=4b0e42fddadb isDir=false line=github.com/opencloud-eu/reva/[email protected]/pkg/storage/fs/posix/tree/assimilation.go:281 path=/var/lib/opencloud/storage/users/posixfs-xattr-check-2754951330 pkg=rgrpc service=storage-users
opencloud | {"level":"error","spaceid":"f4fe262b-755d-488c-a26f-5807e8f18f86","nodeid":"a6bd1d1b-44f8-4f65-87de-6931d5074c8c","error":"failed to upload file to blobstore: failed to move temp file '/var/lib/opencloud/storage/users/projects/F3/.oc-tmp/9e6dd715-53bf-4959-8ec2-9867586413c8' to node '/var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen.png' - rename /var/lib/opencloud/storage/users/projects/F3/.oc-tmp/9e6dd715-53bf-4959-8ec2-9867586413c8 /var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen.png: invalid cross-device link","time":"2025-12-28T23:32:03Z","message":"could not finalize upload"}
opencloud | 2025-12-28T23:32:03Z ERR Error when updating treesize of parent node. Updated treesize < 0. Reestting to 0 driver=posix host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/storage/pkg/decomposedfs/tree/propagator/sync.go:181 method=sync.Propagate nodeid=2cd880be-ad94-4891-af91-dc0c5cd12ba5 pid=1 pkg=rgrpc service=storage-users sizeDiff=-2973360 spaceid=f4fe262b-755d-488c-a26f-5807e8f18f86 treeSize=0
opencloud | 2025-12-28T23:32:03Z ERR Error when updating treesize of parent node. Updated treesize < 0. Reestting to 0 driver=posix host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/storage/pkg/decomposedfs/tree/propagator/sync.go:181 method=sync.Propagate nodeid=4deaa360-7c1c-479d-897f-81e318ff3fe3 pid=1 pkg=rgrpc service=storage-users sizeDiff=-2973360 spaceid=f4fe262b-755d-488c-a26f-5807e8f18f86 treeSize=0
opencloud | 2025-12-28T23:32:04Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=3d9e6ca52aa9ba2f9abd2ddabc99fd27
opencloud | 2025-12-28T23:32:04Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=eb323392e6719933242c05f5c19251bd
opencloud | {"level":"error","spaceid":"f4fe262b-755d-488c-a26f-5807e8f18f86","nodeid":"eb37c566-d5a9-49a5-88ab-b8d7b5743690","error":"failed to upload file to blobstore: failed to move temp file '/var/lib/opencloud/storage/users/projects/F3/.oc-tmp/c23be6aa-8f99-4166-ae8f-45f4fc78fc75' to node '/var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen (2).png' - rename /var/lib/opencloud/storage/users/projects/F3/.oc-tmp/c23be6aa-8f99-4166-ae8f-45f4fc78fc75 /var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeos/2025/2025.10/2025.10.27 Cards team building/imagen (2).png: invalid cross-device link","time":"2025-12-28T23:32:04Z","message":"could not finalize upload"}
opencloud | 2025-12-28T23:32:04Z ERR Error when updating treesize of parent node. Updated treesize < 0. Reestting to 0 driver=posix host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/storage/pkg/decomposedfs/tree/propagator/sync.go:181 method=sync.Propagate nodeid=2cd880be-ad94-4891-af91-dc0c5cd12ba5 pid=1 pkg=rhttp service=storage-users sizeDiff=-3885565 spaceid=f4fe262b-755d-488c-a26f-5807e8f18f86 treeSize=0
opencloud | 2025-12-28T23:32:04Z ERR Error when updating treesize of parent node. Updated treesize < 0. Reestting to 0 driver=posix host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/storage/pkg/decomposedfs/tree/propagator/sync.go:181 method=sync.Propagate nodeid=4deaa360-7c1c-479d-897f-81e318ff3fe3 pid=1 pkg=rhttp service=storage-users sizeDiff=-3885565 spaceid=f4fe262b-755d-488c-a26f-5807e8f18f86 treeSize=0
opencloud | 2025-12-28T23:32:04Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=6467553f225dad2d9fedc4d6a195fc70
opencloud | 2025-12-28T23:32:04Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=2c8cb5ede8fdd6a25d80d0b79c777cc9
opencloud | {"level":"error","error":"could not find space for path /var/lib/opencloud/storage","path":"/var/lib/opencloud/storage/users","time":"2025-12-28T23:32:04Z","message":"failed to assimilate item"}
opencloud | {"level":"error","error":"xattr.get /var/lib/opencloud/storage/users/posixfs-xattr-check-2754951330 user.oc.space.id: no such file or directory","path":"/var/lib/opencloud/storage/users/posixfs-xattr-check-2754951330","time":"2025-12-28T23:32:04Z","message":"failed to assimilate item"}
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=99f54a4301de947f3c05d9fee2c62fc1
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=edb28b9db91924e474da11bc636f5bc8
opencloud | 2025-12-28T23:32:05Z INF file exceeds content extraction size limit. skipping. Name=F3 ResourceID={"opaque_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} line=github.com/opencloud-eu/opencloud/services/search/pkg/content/tika.go:66 service=search
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=6bf1d9dfcb3d760d3922ffdd2cbcd32b
opencloud | 2025-12-28T23:32:05Z INF file exceeds content extraction size limit. skipping. Name="Fotos y Vídeos" ResourceID={"opaque_id":"63d45dcd-eb41-4290-98ef-9ab579832eda","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} line=github.com/opencloud-eu/opencloud/services/search/pkg/content/tika.go:66 service=search
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=f59f51da141ae471413d237772da7258
opencloud | 2025-12-28T23:32:05Z INF file exceeds content extraction size limit. skipping. Name=2025 ResourceID={"opaque_id":"003be356-a075-428e-8b04-3c059284b655","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} line=github.com/opencloud-eu/opencloud/services/search/pkg/content/tika.go:66 service=search
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=48252e3c3e6a1fdc5153bfbaade2d3df
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=ae99eff96885b9bc93cd41ac59e2bb8c
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=e8ed0c584e1f3f7cb074d88a5e0bffb4
opencloud | 2025-12-28T23:32:05Z INF file download data-server=http://localhost:9158/data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:296 pkg=rgrpc ref={"path":".","resource_id":{"opaque_id":"9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"}} service=storage-users traceid=60568523cf259814031f12fa03b9ebe0
opencloud | 2025-12-28T23:32:05Z ERR failed to create storage space error="internal error: encountered empty space id on disk" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:540 pkg=rgrpc request={"opaque":{"map":{"space_id":{"decoder":"plain","value":"YjkxMDczYTUtNWJhOC00ZGQ3LTg0ZWMtYTNhNTgzYzc1YTVl"}}},"owner":{"id":{"idp":"none","opaque_id":"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e","type":3}},"type":"personal"} service=storage-users status={"code":15,"message":"error creating space","trace":"2f808953a3cc2d76b3f3b0f1a22a575b"} traceid=2f808953a3cc2d76b3f3b0f1a22a575b
opencloud | 2025-12-28T23:32:05Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_INTERNAL" line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/create_home.go:87 service=proxy
opencloud | 2025-12-28T23:32:05Z INF skipping auth check for: /data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/interceptors/auth/auth.go:195 pkg=rhttp service=frontend traceid=98b914085c7eae00c4de14fa2d06ea28
opencloud | 2025-12-28T23:32:05Z ERR error copying data to response error=EOF datatx=spaces handler=download host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000098 resourceid={"opaque_id":"9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} service=storage-users spaceid=c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86!9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18 svc=datatx
opencloud | 2025-12-28T23:32:05Z ERR error writing body after header were set error="unexpected EOF" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000097 service=frontend traceid=98b914085c7eae00c4de14fa2d06ea28
opencloud | 2025-12-28T23:32:05Z ERR content length vs transferred bytes mismatch content-length=2550592 host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:226 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000097 service=frontend traceid=98b914085c7eae00c4de14fa2d06ea28 transferred-bytes=0
opencloud | 2025-12-28T23:32:05Z ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=github.com/rs/[email protected]/log.go:478 service=proxy
opencloud | 2025-12-28T23:32:05Z ERR failed to create storage space error="internal error: encountered empty space id on disk" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:540 pkg=rgrpc request={"opaque":{"map":{"space_id":{"decoder":"plain","value":"YjkxMDczYTUtNWJhOC00ZGQ3LTg0ZWMtYTNhNTgzYzc1YTVl"}}},"owner":{"id":{"idp":"none","opaque_id":"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e","type":3}},"type":"personal"} service=storage-users status={"code":15,"message":"error creating space","trace":"a82ad13d6a944b91711f1d63d250965f"} traceid=a82ad13d6a944b91711f1d63d250965f
opencloud | 2025-12-28T23:32:05Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_INTERNAL" line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/create_home.go:87 service=proxy
opencloud | 2025-12-28T23:32:05Z INF skipping auth check for: /data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/interceptors/auth/auth.go:195 pkg=rhttp service=frontend traceid=86426587ee0ac4acb06955e144b73309
opencloud | 2025-12-28T23:32:05Z ERR error copying data to response error=EOF datatx=spaces handler=download host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000101 resourceid={"opaque_id":"9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} service=storage-users spaceid=c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86!9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18 svc=datatx
opencloud | 2025-12-28T23:32:05Z ERR error writing body after header were set error="unexpected EOF" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000100 service=frontend traceid=86426587ee0ac4acb06955e144b73309
opencloud | 2025-12-28T23:32:05Z ERR content length vs transferred bytes mismatch content-length=2550592 host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:226 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000100 service=frontend traceid=86426587ee0ac4acb06955e144b73309 transferred-bytes=0
opencloud | 2025-12-28T23:32:05Z ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=github.com/rs/[email protected]/log.go:478 service=proxy
opencloud | 2025-12-28T23:32:05Z ERR failed to create storage space error="internal error: encountered empty space id on disk" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:540 pkg=rgrpc request={"opaque":{"map":{"space_id":{"decoder":"plain","value":"YjkxMDczYTUtNWJhOC00ZGQ3LTg0ZWMtYTNhNTgzYzc1YTVl"}}},"owner":{"id":{"idp":"none","opaque_id":"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e","type":3}},"type":"personal"} service=storage-users status={"code":15,"message":"error creating space","trace":"25073ade7dbe66af31a72dbd55e5d43a"} traceid=25073ade7dbe66af31a72dbd55e5d43a
opencloud | 2025-12-28T23:32:05Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_INTERNAL" line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/create_home.go:87 service=proxy
opencloud | 2025-12-28T23:32:05Z INF skipping auth check for: /data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/interceptors/auth/auth.go:195 pkg=rhttp service=frontend traceid=ceccfd4d110c3ec58efb1808f86d0c81
opencloud | 2025-12-28T23:32:05Z ERR error copying data to response error=EOF datatx=spaces handler=download host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000104 resourceid={"opaque_id":"9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} service=storage-users spaceid=c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86!9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18 svc=datatx
opencloud | 2025-12-28T23:32:05Z ERR error writing body after header were set error="unexpected EOF" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000103 service=frontend traceid=ceccfd4d110c3ec58efb1808f86d0c81
opencloud | 2025-12-28T23:32:05Z ERR content length vs transferred bytes mismatch content-length=2550592 host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:226 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000103 service=frontend traceid=ceccfd4d110c3ec58efb1808f86d0c81 transferred-bytes=0
opencloud | 2025-12-28T23:32:05Z ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=github.com/rs/[email protected]/log.go:478 service=proxy
opencloud | 2025-12-28T23:32:05Z ERR failed to create storage space error="internal error: encountered empty space id on disk" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:540 pkg=rgrpc request={"opaque":{"map":{"space_id":{"decoder":"plain","value":"YjkxMDczYTUtNWJhOC00ZGQ3LTg0ZWMtYTNhNTgzYzc1YTVl"}}},"owner":{"id":{"idp":"none","opaque_id":"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e","type":3}},"type":"personal"} service=storage-users status={"code":15,"message":"error creating space","trace":"a69f91eb2b46107b2a1a998b2eabe440"} traceid=a69f91eb2b46107b2a1a998b2eabe440
opencloud | 2025-12-28T23:32:05Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_INTERNAL" line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/create_home.go:87 service=proxy
opencloud | 2025-12-28T23:32:05Z INF skipping auth check for: /data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/interceptors/auth/auth.go:195 pkg=rhttp service=frontend traceid=1e4a8ce7276851e82bfc64c7c1259321
opencloud | 2025-12-28T23:32:05Z ERR error copying data to response error=EOF datatx=spaces handler=download host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000107 resourceid={"opaque_id":"9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} service=storage-users spaceid=c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86!9b9e1f5a-ba20-4b95-96fe-90b09e7c7d18 svc=datatx
opencloud | 2025-12-28T23:32:05Z ERR error writing body after header were set error="unexpected EOF" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000106 service=frontend traceid=1e4a8ce7276851e82bfc64c7c1259321
opencloud | 2025-12-28T23:32:05Z ERR content length vs transferred bytes mismatch content-length=2550592 host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:226 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000106 service=frontend traceid=1e4a8ce7276851e82bfc64c7c1259321 transferred-bytes=0
opencloud | 2025-12-28T23:32:05Z ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=github.com/rs/[email protected]/log.go:478 service=proxy
opencloud | 2025-12-28T23:32:05Z ERR failed to extract resource content error="could not download resource. Request returned with statuscode 502 " line=github.com/opencloud-eu/opencloud/services/search/pkg/search/service.go:583 service=search
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=2751c7612ea36410f8427f92f09cf5d6
opencloud | 2025-12-28T23:32:05Z INF file download data-server=http://localhost:9158/data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:296 pkg=rgrpc ref={"path":".","resource_id":{"opaque_id":"eb37c566-d5a9-49a5-88ab-b8d7b5743690","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"}} service=storage-users traceid=d22a068c01390682d95c19a6e247cd36
opencloud | 2025-12-28T23:32:05Z ERR failed to create storage space error="internal error: encountered empty space id on disk" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:540 pkg=rgrpc request={"opaque":{"map":{"space_id":{"decoder":"plain","value":"YjkxMDczYTUtNWJhOC00ZGQ3LTg0ZWMtYTNhNTgzYzc1YTVl"}}},"owner":{"id":{"idp":"none","opaque_id":"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e","type":3}},"type":"personal"} service=storage-users status={"code":15,"message":"error creating space","trace":"30805d512141840316af43223c8cef9a"} traceid=30805d512141840316af43223c8cef9a
opencloud | 2025-12-28T23:32:05Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_INTERNAL" line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/create_home.go:87 service=proxy
opencloud | 2025-12-28T23:32:05Z INF skipping auth check for: /data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/interceptors/auth/auth.go:195 pkg=rhttp service=frontend traceid=6812204fa1c320827bc41076ba7aa25e
opencloud | 2025-12-28T23:32:05Z ERR error copying data to response error=EOF datatx=spaces handler=download host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000110 resourceid={"opaque_id":"eb37c566-d5a9-49a5-88ab-b8d7b5743690","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} service=storage-users spaceid=c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86!eb37c566-d5a9-49a5-88ab-b8d7b5743690 svc=datatx
opencloud | 2025-12-28T23:32:05Z ERR error writing body after header were set error="unexpected EOF" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000109 service=frontend traceid=6812204fa1c320827bc41076ba7aa25e
opencloud | 2025-12-28T23:32:05Z ERR content length vs transferred bytes mismatch content-length=3885565 host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:226 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000109 service=frontend traceid=6812204fa1c320827bc41076ba7aa25e transferred-bytes=0
opencloud | 2025-12-28T23:32:05Z ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=github.com/rs/[email protected]/log.go:478 service=proxy
opencloud | 2025-12-28T23:32:05Z ERR failed to extract resource content error="could not download resource. Request returned with statuscode 502 " line=github.com/opencloud-eu/opencloud/services/search/pkg/search/service.go:583 service=search
opencloud | 2025-12-28T23:32:05Z INF user idp:"none" opaque_id:"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e" type:USER_TYPE_SERVICE authenticated host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/authprovider/authprovider.go:146 pkg=rgrpc service=auth-service traceid=bd734f7b782a6b391065ed3b42d7fb05
opencloud | 2025-12-28T23:32:05Z INF file download data-server=http://localhost:9158/data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:296 pkg=rgrpc ref={"path":".","resource_id":{"opaque_id":"a6bd1d1b-44f8-4f65-87de-6931d5074c8c","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"}} service=storage-users traceid=7a1dedf1fa5445ff04baf2ec63f4c49f
opencloud | 2025-12-28T23:32:05Z ERR failed to create storage space error="internal error: encountered empty space id on disk" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/grpc/services/storageprovider/storageprovider.go:540 pkg=rgrpc request={"opaque":{"map":{"space_id":{"decoder":"plain","value":"YjkxMDczYTUtNWJhOC00ZGQ3LTg0ZWMtYTNhNTgzYzc1YTVl"}}},"owner":{"id":{"idp":"none","opaque_id":"b91073a5-5ba8-4dd7-84ec-a3a583c75a5e","type":3}},"type":"personal"} service=storage-users status={"code":15,"message":"error creating space","trace":"adfe7cc6cd4d994794ba6b6dd337e3b7"} traceid=adfe7cc6cd4d994794ba6b6dd337e3b7
opencloud | 2025-12-28T23:32:05Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_INTERNAL" line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/create_home.go:87 service=proxy
opencloud | 2025-12-28T23:32:05Z INF skipping auth check for: /data host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/interceptors/auth/auth.go:195 pkg=rhttp service=frontend traceid=82e30f32a5e35801a4afc208e5688d29
opencloud | 2025-12-28T23:32:05Z ERR error copying data to response error=EOF datatx=spaces handler=download host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000113 resourceid={"opaque_id":"a6bd1d1b-44f8-4f65-87de-6931d5074c8c","space_id":"f4fe262b-755d-488c-a26f-5807e8f18f86","storage_id":"c179bdfd-c099-4f4b-8424-b8b949c33abc"} service=storage-users spaceid=c179bdfd-c099-4f4b-8424-b8b949c33abc$f4fe262b-755d-488c-a26f-5807e8f18f86!a6bd1d1b-44f8-4f65-87de-6931d5074c8c svc=datatx
opencloud | 2025-12-28T23:32:05Z ERR error writing body after header were set error="unexpected EOF" host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000112 service=frontend traceid=82e30f32a5e35801a4afc208e5688d29
opencloud | 2025-12-28T23:32:05Z ERR content length vs transferred bytes mismatch content-length=2973360 host.name=4b0e42fddadb line=github.com/opencloud-eu/reva/[email protected]/internal/http/services/datagateway/datagateway.go:226 pkg=rhttp request-id=4b0e42fddadb/X0DPD61X5T-000112 service=frontend traceid=82e30f32a5e35801a4afc208e5688d29 transferred-bytes=0
opencloud | 2025-12-28T23:32:05Z ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=github.com/rs/[email protected]/log.go:478 service=proxy
opencloud | 2025-12-28T23:32:05Z ERR failed to extract resource content error="could not download resource. Request returned with statuscode 502 " line=github.com/opencloud-eu/opencloud/services/search/pkg/search/service.go:583 service=search
I don't explicitly put .oc-tmp in another sotorage. Besides, it started happening recently
But in your case the var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeo is on a separate mount point than the .oc-tmp folder. Currently everything below a space root (var/lib/opencloud/storage/users/projects/F3/ in your case) needs to be on the same volume.
but it was working prior to 3.7 version.
Yeah, because of a severe bug in the upload/postprocessing code (opencloud-eu/reva#380) we needed introduce the .oc-tmp folder.
I guess we need to adjust that to not write the tempfile into a separate folder.
Thanks for the information @rhafer
So I guess the solution would be having all under the same volume (?)
And would it be possible to have to volumes, one for var/lib/opencloud/storage/users/projects and another for var/lib/opencloud/storage/users/users? Or will I have the same error?
Thanks for the information @rhafer So I guess the solution would be having all under the same volume (?)
Yes.
And would it be possible to have to volumes, one for var/lib/opencloud/storage/users/projects and another for var/lib/opencloud/storage/users/users? Or will I have the same error?
I think that should work. (Haven't tried it though).
I also have a similar issue, with all the main subfolders in the user space main directory being mounted in docker compose individually.
Reason for me is for the files to be able to be shared by different services independently, without sharing the irrelevant metadata folders (.oc-trash, .oc-tmp) between them - those remain within the main mount like:
with OPENCLOUD_USER_DIR starting with /var/lib/opencloud .... as per default
Solution
I would suggest to implement fallback behaviour in the specific case of such an invalid cross-device link error to after the rename failing then instead copying the file from temp folder to destination and deleting the original in temp folder - basically a move command.
I think being able to split up folders into different mounted volumes is something worth implementing, with the obvious restriction remaining for them to still be within the same physical storage media.
The question is, whether others agree with the relevance of that usecase or if it's too niche.
Activity
micbar commentedon Nov 21, 2025
This is a server issue.
Your
.oc-tmpfolder seems to be mounted on a different storage.carlosjfcasero commentedon Nov 21, 2025
@micbar these are my volumes:
I don't explicitly put
.oc-tmpin another sotorage. Besides, it started happening recentlymicbar commentedon Nov 21, 2025
@rhafer maybe the hidden folder is ignored by the docker mount?
[-]Error when uploading files via mobile[/-][+]Error when uploading files[/+]carlosjfcasero commentedon Dec 17, 2025
@micbar I have edited the title, it does not only affect to mobile, but also web.
Let me give you more logs with new version 4.1.0
Logs
carlosjfcasero commentedon Dec 28, 2025
@micbar @rhafer could you please give me a hand? I'm completely stuck with this issue. I cannot upload anything. I didn't mentioned, but it was working prior to 3.7 version. Let me give you more updated logs (v4):
rhafer commentedon Jan 29, 2026
But in your case the
var/lib/opencloud/storage/users/projects/F3/Fotos y Vídeois on a separate mount point than the.oc-tmpfolder. Currently everything below a space root (var/lib/opencloud/storage/users/projects/F3/in your case) needs to be on the same volume.Yeah, because of a severe bug in the upload/postprocessing code (opencloud-eu/reva#380) we needed introduce the
.oc-tmpfolder.I guess we need to adjust that to not write the tempfile into a separate folder.
carlosjfcasero commentedon Feb 4, 2026
Thanks for the information @rhafer
So I guess the solution would be having all under the same volume (?)
And would it be possible to have to volumes, one for var/lib/opencloud/storage/users/projects and another for var/lib/opencloud/storage/users/users? Or will I have the same error?
rhafer commentedon Feb 4, 2026
Yes.
And would it be possible to have to volumes, one for var/lib/opencloud/storage/users/projects and another for var/lib/opencloud/storage/users/users? Or will I have the same error?
I think that should work. (Haven't tried it though).
Jip-Hop commentedon May 15, 2026
I think my setup is affected by this too. Either I'm not supposed to use mounts the way I do or this is a bug that should be fixed.
stefandanzl commentedon Oct 10, 2026
I also have a similar issue, with all the main subfolders in the user space main directory being mounted in docker compose individually.
Reason for me is for the files to be able to be shared by different services independently, without sharing the irrelevant metadata folders (
.oc-trash,.oc-tmp) between them - those remain within the main mount like:- ./data:/var/lib/opencloudThe error looks something like this:
with
OPENCLOUD_USER_DIRstarting with/var/lib/opencloud ....as per defaultSolution
I would suggest to implement fallback behaviour in the specific case of such an
invalid cross-device linkerror to after therenamefailing then instead copying the file from temp folder to destination and deleting the original in temp folder - basically amovecommand.I think being able to split up folders into different mounted volumes is something worth implementing, with the obvious restriction remaining for them to still be within the same physical storage media.
The question is, whether others agree with the relevance of that usecase or if it's too niche.