Desktop client no longer updates files and hangs Windows Explorer

Hi all.
I have an home installed Nextcloud system, with both desktop (Windows) and mobile (Android and iOS) clients. I’ve just realized that the desktop client 3.6.4-x64 running under Windows 10 is no longer able to sync files from server, while mobile apps and web interface work with (almost no apparent) issues.

My system:
Nextcloud version (eg, 20.0.5): 25.0.2 (installed from snap 25.0.2snap1)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.5
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.4): 8.0

The issue you are facing:
nextcloud desktop client 3.6.4-x64 running under Windows 10 starts, connets to server (icon turns green) then starts syncing new files; at this point it hangs and is no more responding, I only can kill it by Device Manager; moreover, WIndows Exporer is no more responding until I kill nextcloud desktop client

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. start desktop client
  2. wait until syncing start

The output of your Nextcloud log in Admin > Logging:

{"reqId":"zJg1kcxCsPk4XIpX1Xoh","level":3,"time":"2023-01-06T16:50:26+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/casa/bda19eb41bec87992a81c09b5ebce50f/0000000000000000-0000000004408072","message":"Dimensione prevista del file 4408072 bytes, letto (dal client Nextcloud) e scritto (nell'archivio Nextcloud) 1220608 bytes. Potrebbe trattarsi di un problema di rete sul lato d'invio o di un problema di scrittura nell'archivio sul lato server.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.23.1","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Dimensione prevista del file 4408072 bytes, letto (dal client Nextcloud) e scritto (nell'archivio Nextcloud) 1220608 bytes. Potrebbe trattarsi di un problema di rete sul lato d'invio o di un problema di scrittura nell'archivio sul lato server.","Code":0,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Connector/Sabre/Directory.php","line":151,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Upload/UploadFolder.php","line":45,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":297,"message":"Dimensione prevista del file 4408072 bytes, letto (dal client Nextcloud) e scritto (nell'archivio Nextcloud) 1220608 bytes. Potrebbe trattarsi di un problema di rete sul lato d'invio o di un problema di scrittura nell'archivio sul lato server.","exception":{},"CustomMessage":"Dimensione prevista del file 4408072 bytes, letto (dal client Nextcloud) e scritto (nell'archivio Nextcloud) 1220608 bytes. Potrebbe trattarsi di un problema di rete sul lato d'invio o di un problema di scrittura nell'archivio sul lato server."}}
{"reqId":"k8cseBr4z2TiNtl3BOgK","level":3,"time":"2023-01-07T07:58:53+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"Bfg9cx298Q5pg6FLZqbb","level":3,"time":"2023-01-07T09:02:31+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"y2epAeN4rQXBazk0WFQt","level":3,"time":"2023-01-07T09:17:08+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"fYKWDbN7u3lbNzg3wQ74","level":3,"time":"2023-01-07T09:26:44+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"WLJ1IC5BgDNSUAq4hgMd","level":3,"time":"2023-01-07T09:27:27+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\Theming\\Jobs\\MigrateBackgroundImages, arguments: Array\n(\n    [stage] => prepare\n)\n)","userAgent":"--","version":"25.0.2.3","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/appdata_ocqcgufret1p/theming/global","Code":0,"Trace":[{"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/private/Files/Node/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/snap/nextcloud/33054/htdocs/lib/private/Files/Node/LazyFolder.php","line":149,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/private/Files/AppData/AppData.php","line":132,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/theming/lib/Jobs/MigrateBackgroundImages.php","line":168,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/theming/lib/Jobs/MigrateBackgroundImages.php","line":100,"function":"storeUserIdsToProcess","class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/theming/lib/Jobs/MigrateBackgroundImages.php","line":79,"function":"runPreparation","class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/public/BackgroundJob/QueuedJob.php","line":58,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/public/BackgroundJob/QueuedJob.php","line":48,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/snap/nextcloud/33054/htdocs/lib/private/Files/Node/Root.php","Line":209,"message":"Error while running background job (class: OCA\\Theming\\Jobs\\MigrateBackgroundImages, arguments: Array\n(\n    [stage] => prepare\n)\n)","exception":{},"CustomMessage":"Error while running background job (class: OCA\\Theming\\Jobs\\MigrateBackgroundImages, arguments: Array\n(\n    [stage] => prepare\n)\n)"}}
{"reqId":"1cLnzcco4pqsxCiKSnvE","level":3,"time":"2023-01-07T09:32:39+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Cannot access offset of type string on string","userAgent":"--","version":"25.0.2.3","exception":{"Exception":"TypeError","Message":"Cannot access offset of type string on string","Code":0,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Theming\\Jobs\\MigrateBackgroundImages","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/public/BackgroundJob/QueuedJob.php","line":58,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/lib/public/BackgroundJob/QueuedJob.php","line":48,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/snap/nextcloud/33054/htdocs/apps/theming/lib/Jobs/MigrateBackgroundImages.php","Line":74,"CustomMessage":"--"}}
{"reqId":"YGFTI01Tb6qY8y4ZfaSw","level":3,"time":"2023-01-07T14:51:38+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"R7fXFtCRyQN9VNS5IvYB","level":3,"time":"2023-01-07T14:55:22+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"a1dvg9YeJVvVDQStYMVI","level":3,"time":"2023-01-07T14:56:31+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}
{"reqId":"nNka4PCxa3B5Nqw3p2p4","level":3,"time":"2023-01-07T15:08:02+00:00","remoteAddr":"93.66.233.132","user":"casa","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.2.3","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":129,"function":"isAt","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\\DAV\\BulkUpload\\MultipartRequestParser","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\\DAV\\BulkUpload\\BulkUploadPlugin","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/snap/nextcloud/33054/htdocs/remote.php","line":171,"args":["/snap/nextcloud/33054/htdocs/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/snap/nextcloud/33054/htdocs/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":111,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/snap/nextcloud/current/htdocs/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
    ),
  ),
  'supportedDatabases' =>
  array (
    0 => 'mysql',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/tmp/sockets/redis.sock',
    'port' => 0,
  ),
  'log_type' => 'file',
  'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
  'logfilemode' => 416,
  'instanceid' => 'ocqcgufret1p',
  'passwordsalt' => 'XXXX',
  'secret' => 'XXXX',
  'trusted_domains' =>
  array (
    0 => '192.168.1.11',
    2 => 'ffss.homepc.it',
  ),
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '25.0.2.3',
  'overwrite.cli.url' => 'http://192.168.1.11',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'XXXX',
  'installed' => true,
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' =>
  array (
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
  'preview_max_x' => '1024',
  'enable_previews' => 'false',
  'maintenance' => false,
  'loglevel' => 2,
  'app_install_overwrite' =>
  array (
    0 => 'files_external_onedrive',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

[Sat Jan 07 08:58:53.494160 2023] [proxy_fcgi:error] [pid 4054116:tid 140364321105664] (70007)The timeout specified has expired: [
client 93.66.233.132:1028] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 10:02:31.535149 2023] [proxy_fcgi:error] [pid 4054116:tid 140364186887936] (70007)The timeout specified has expired: [
client 93.66.233.132:1035] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 10:17:08.316210 2023] [proxy_fcgi:error] [pid 4054116:tid 140364195280640] (70007)The timeout specified has expired: [
client 93.66.233.132:1025] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 10:19:47.721793 2023] [mpm_event:notice] [pid 4052414:tid 140364881999040] AH00491: caught SIGTERM, shutting down
[Sat Jan 07 10:22:06.708248 2023] [ssl:warn] [pid 2413:tid 139777142928576] AH01909: 127.0.1.1:443:0 server certificate does NOT i
nclude an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' direc
tive globally to suppress this message
[Sat Jan 07 10:22:06.760944 2023] [ssl:warn] [pid 2413:tid 139777142928576] AH01909: 127.0.1.1:443:0 server certificate does NOT i
nclude an ID which matches the server name
[Sat Jan 07 10:22:06.762337 2023] [lbmethod_heartbeat:notice] [pid 2413:tid 139777142928576] AH02282: No slotmem from mod_heartmon
itor
[Sat Jan 07 10:22:06.764544 2023] [mpm_event:notice] [pid 2413:tid 139777142928576] AH00489: Apache/2.4.54 (Unix) OpenSSL/1.1.1 co
nfigured -- resuming normal operations
[Sat Jan 07 10:22:06.764630 2023] [core:notice] [pid 2413:tid 139777142928576] AH00094: Command line: 'httpd -d /snap/nextcloud/33
054 -D EnableHTTPS -D EnableHSTS -D FOREGROUND'
[Sat Jan 07 10:22:06.803036 2023] [unixd:alert] [pid 2418:tid 139777142928576] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:22:06.803130 2023] [unixd:alert] [pid 2420:tid 139777142928576] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:22:06.803263 2023] [unixd:alert] [pid 2419:tid 139777142928576] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:24:34.929988 2023] [unixd:alert] [pid 3481:tid 139777142928576] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:26:44.596322 2023] [proxy_fcgi:error] [pid 3481:tid 139775935764224] (70007)The timeout specified has expired: [cli
ent 93.66.233.132:1045] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 10:29:44.601010 2023] [mpm_event:notice] [pid 2413:tid 139777142928576] AH00491: caught SIGTERM, shutting down
[Sat Jan 07 10:29:51.870318 2023] [ssl:warn] [pid 4880:tid 140006203221184] AH01909: 127.0.1.1:443:0 server certificate does NOT i
nclude an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' direc
tive globally to suppress this message
[Sat Jan 07 10:29:51.877164 2023] [ssl:warn] [pid 4880:tid 140006203221184] AH01909: 127.0.1.1:443:0 server certificate does NOT i
nclude an ID which matches the server name
[Sat Jan 07 10:29:51.877614 2023] [lbmethod_heartbeat:notice] [pid 4880:tid 140006203221184] AH02282: No slotmem from mod_heartmon
itor
[Sat Jan 07 10:29:51.879500 2023] [mpm_event:notice] [pid 4880:tid 140006203221184] AH00489: Apache/2.4.54 (Unix) OpenSSL/1.1.1 co
nfigured -- resuming normal operations
[Sat Jan 07 10:29:51.879601 2023] [core:notice] [pid 4880:tid 140006203221184] AH00094: Command line: 'httpd -d /snap/nextcloud/33
054 -D EnableHTTPS -D EnableHSTS -D FOREGROUND'
[Sat Jan 07 10:29:51.881153 2023] [unixd:alert] [pid 4883:tid 140006203221184] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:29:51.881460 2023] [unixd:alert] [pid 4884:tid 140006203221184] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:29:51.883586 2023] [unixd:alert] [pid 4885:tid 140006203221184] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 10:35:14.249144 2023] [unixd:alert] [pid 5417:tid 140006203221184] AH02155: getpwuid: couldn't determine user name fro
m uid 4294967295, you probably need to modify the User directive
[Sat Jan 07 15:51:38.690540 2023] [proxy_fcgi:error] [pid 5417:tid 140005850699520] (104)Connection reset by peer: [client 93.66.2
33.132:1029] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 15:55:21.020346 2023] [proxy_fcgi:error] [pid 4885:tid 140005892597504] (104)Connection reset by peer: [client 93.66.2
33.132:1031] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 15:56:30.903436 2023] [proxy_fcgi:error] [pid 5417:tid 140005917841152] (104)Connection reset by peer: [client 93.66.2
33.132:1031] AH01075: Error dispatching request to : (reading input brigade)
[Sat Jan 07 16:08:02.220981 2023] [proxy_fcgi:error] [pid 5417:tid 140005892663040] (70007)The timeout specified has expired: [cli
ent 93.66.233.132:1034] AH01075: Error dispatching request to : (reading input brigade)

1 Like

I have reinstalled from scratch Nextcloud snap 25.0.2 and WIndows Desktop Client 3.6.4.
Now it works

Hello again,
after three days Nextcloud client is no longer syncing again, as described above: client starts, but soon it gets stuck in syncing, until I kill it.
Any suggestion how to debug?
Thanks in advance

The error with the user id can be found in a few snap setups:

Not sure if it is normal to have numeric user-ids for snap setups.

Hi tflidd,
sorry I can’t get the point about numeric user-ID (my user id is literal). Moreover, most of the post you quoted are related to errors in server IP address. In my case I’m pretty sure about IP address, as I have two other Desktop Clients on other PCs running Windows 11, and mobile clients in two phones, all of them behave correctly.
So it’s just the Desktop Client on the Windows 10 machine which hangs.
I’m sharing hereby the output of C:\Program Files (x86)\Nextcloud\nextcloud.exe --logwindow I extracted this morning, I could see some warning inside but no error messages. Hope it can be useful: https://ffss.homepc.it/index.php/s/3c9WffonTzC2L5G
Thanks for the support

Just rechecking the uid issue. That was the webserver. Perhaps the webserver user has changed, and some host might not be configured correctly (can be independent problem).
I’d check for your test if they mobile device and your computer are accessing from the same location as the desktop PC to exclude that there is a network problem.

Other idea is to check if you can directly access webdav, just to figure out if there is a client issue or a server-related problem: https://docs.nextcloud.com/desktop/3.6/troubleshooting.html

I can’t see anything on your client log, but I am not familiar with the sync process in detail. If you can isolate the issue to the client, you might check in the client bug tracker and raise an issue there if you don’t find anything that helps you.

Ok, after digging a bit into desktop bug tracker (in particular Nextcloud Desktop Hangs (on file upload) after update Linux[Bug]: · Issue #5267 · nextcloud/desktop · GitHub), I could get the desktop client working by setting the following:

  • no proxy (previously was: system proxy)
  • no bandwidth limit (previous: automatic limit)

Thanks!

snap nextcloud-stondino NC 15
Windows 11 client.
I set no proxy option and my user pic loaded for the first time.
Thanks…