"Could not create path" error

Nextcloud version 29.0.0 (AIO)
Operating system and version Ubuntu 24.04

I get multiple errors of Could not create path.
The client has synced most of the files but dumps the above error for some.
The file extensions are mostly .lnk, but also others such as .py, .txt or .tex.
I had already added .lnk files in the client ignore list but .lnk files still show up as errors so it seems like it still tries to sync it.
I had run already the following commands trying to fix the issue without success:
occ files:scan --all
occ files:cleanup
occ files:repair-tree
occ files:scan-app-data
Mutliple attempts forcing the client to sync had neither resolved it .
I have checked some of the mentioned paths if they exist. They do and files were synced here without problem.
In the screenshot below, I censored the paths but left two examples visible .

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

Steps to replicate it:

  1. Load files to sync into server directly
  2. Run occ scan:files --all
  3. Launch client to sync
  4. Perhaps modify some files during step 3

The output of your Nextcloud log in Admin > Logging:

{"reqId":"TgO9AKzdvx3LSZmaQbvp","level":2,"time":"2024-05-28T09:43:45+00:00","remoteAddr":"IPADDRESS","user":"admin","app":"no app in context","method":"GET","url":"/ocs/v1.php/cloud/capabilities","message":"Transaction took 1.338366985321s","userAgent":"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3pre) Gecko/20070330","version":"29.0.0.19","exception":{"Exception":"Exception","Message":"Transaction took 1.338366985321s","Code":0,"Trace":[{"file":"/var/www/html/lib/private/DB/ConnectionAdapter.php","line":154,"function":"commit","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":64,"function":"commit","class":"OC\\DB\\ConnectionAdapter","type":"->","args":[]},{"file":"/var/www/html/lib/private/Authentication/Token/PublicKeyTokenProvider.php","line":516,"function":"atomic","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":[["Closure"],["OC\\DB\\ConnectionAdapter"]]},{"file":"/var/www/html/lib/private/Authentication/Token/Manager.php","line":249,"function":"updatePasswords","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Authentication/Listeners/UserLoggedInListener.php","line":60,"function":"updatePasswords","class":"OC\\Authentication\\Token\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OC\\Authentication\\Listeners\\UserLoggedInListener","type":"->","args":[["OCP\\User\\Events\\PostLoginEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\User\\Events\\PostLoginEvent"],"OCP\\User\\Events\\PostLoginEvent",["Symfony\\Component\\EventDispatcher\\EventDispatcher"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"]],"OCP\\User\\Events\\PostLoginEvent",["OCP\\User\\Events\\PostLoginEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\User\\Events\\PostLoginEvent"],"OCP\\User\\Events\\PostLoginEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\User\\Events\\PostLoginEvent",["OCP\\User\\Events\\PostLoginEvent"]]},{"file":"/var/www/html/lib/private/User/Session.php","line":402,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\User\\Events\\PostLoginEvent"]]},{"file":"/var/www/html/lib/private/User/Session.php","line":643,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":366,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":463,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":602,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1135,"function":"tryBasicAuthLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/ocs/v1.php","line":63,"function":"handleLogin","class":"OC","type":"::","args":["*** sensitive parameters replaced ***"]}],"File":"/var/www/html/lib/private/DB/Connection.php","Line":691,"message":"Transaction took 1.338366985321s","exception":{},"CustomMessage":"Transaction took 1.338366985321s"}}
{"reqId":"D2DZGLYcmjnIsndKJJag","level":2,"time":"2024-05-28T09:46:26+00:00","remoteAddr":"IPADDRESS","user":"admin","app":"core","method":"POST","url":"/login/confirm","message":"Login failed: 'admin' (Remote IP: 'IPADDRESS')","userAgent":"Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0","version":"29.0.0.19","data":{"app":"core"}}
{"reqId":"PkKQEM6BTRyMXTWZbx3C","level":2,"time":"2024-05-28T10:16:23+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Transaction took 4.2828550338745s","userAgent":"--","version":"29.0.0.19","exception":{"Exception":"Exception","Message":"Transaction took 4.2828550338745s","Code":0,"Trace":[{"file":"/var/www/html/lib/private/DB/ConnectionAdapter.php","line":154,"function":"commit","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/var/www/html/lib/private/Files/Utils/Scanner.php","line":290,"function":"commit","class":"OC\\DB\\ConnectionAdapter","type":"->","args":[]},{"file":"/var/www/html/apps/files/lib/Command/ScanAppData.php","line":121,"function":"scan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":["/appdata_ocowv4w08xn5"]},{"file":"/var/www/html/apps/files/lib/Command/ScanAppData.php","line":156,"function":"scanFiles","class":"OCA\\Files\\Command\\ScanAppData","type":"->","args":[["Symfony\\Component\\Console\\Output\\ConsoleOutput"],""]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":298,"function":"execute","class":"OCA\\Files\\Command\\ScanAppData","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/core/Command/Base.php","line":177,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1040,"function":"run","class":"OC\\Core\\Command\\Base","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":301,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["OCA\\Files\\Command\\ScanAppData"],["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":171,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/lib/private/Console/Application.php","line":213,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/console.php","line":113,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/DB/Connection.php","Line":691,"message":"Transaction took 4.2828550338745s","exception":{},"CustomMessage":"Transaction took 4.2828550338745s"}}
{"reqId":"kzPQ87ciLjRFk2ae1QEa","level":3,"time":"2024-05-28T10:24:36+00:00","remoteAddr":"IPADDRESS","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts.json","message":"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/custom_apps/deck/lib/Service/ConfigService.php#234","userAgent":"COOLWSD HTTP Agent 24.04.1.4","version":"29.0.0.19","data":{"app":"PHP"}}
{"reqId":"Dje8uhzlz2L6H3IdUmlX","level":2,"time":"2024-05-28T10:27:16+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Transaction took 230.7294318676s","userAgent":"--","version":"29.0.0.19","exception":{"Exception":"Exception","Message":"Transaction took 230.7294318676s","Code":0,"Trace":[{"file":"/var/www/html/lib/private/DB/ConnectionAdapter.php","line":154,"function":"commit","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/var/www/html/lib/private/Files/Utils/Scanner.php","line":290,"function":"commit","class":"OC\\DB\\ConnectionAdapter","type":"->","args":[]},{"file":"/var/www/html/apps/files/lib/Command/Scan.php","line":180,"function":"scan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":["/admin",true,null]},{"file":"/var/www/html/apps/files/lib/Command/Scan.php","line":241,"function":"scanFiles","class":"OCA\\Files\\Command\\Scan","type":"->","args":["admin","/admin",null,["Symfony\\Component\\Console\\Output\\ConsoleOutput"],false,true,false]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":298,"function":"execute","class":"OCA\\Files\\Command\\Scan","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/core/Command/Base.php","line":177,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1040,"function":"run","class":"OC\\Core\\Command\\Base","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":301,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["OCA\\Files\\Command\\Scan"],["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":171,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/lib/private/Console/Application.php","line":213,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/var/www/html/console.php","line":113,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/DB/Connection.php","Line":691,"message":"Transaction took 230.7294318676s","exception":{},"CustomMessage":"Transaction took 230.7294318676s"}}
{"reqId":"HTCbJXX7mY0FXgI5jbmq","level":3,"time":"2024-05-28T10:30:54+00:00","remoteAddr":"IPADDRESS","user":"admin","app":"PHP","method":"POST","url":"/remote.php/dav/bulk","message":"file_put_contents(/mnt/ncdata/admin/SOMEPATH/SOMEFILE.txt): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.0.19","data":{"app":"PHP"}}
{"reqId":"HTCbJXX7mY0FXgI5jbmq","level":3,"time":"2024-05-28T10:30:54+00:00","remoteAddr":"IPADDRESS","user":"admin","app":"no app in context","method":"POST","url":"/remote.php/dav/bulk","message":"Could not create path \"/admin/SOMEPATH/SOMEFILE.txt\"","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.0.19","data":{"path":"/admin/SOMEPATH/SOMEFILE.txt"}}

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

<?php
$CONFIG = array (
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'appsallowlist' => false,
  'check_data_directory_permissions' => false,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => 'd24c43c67d0d91c7d601597756010d4ead30ba0fe09e2477',
    'port' => 6379,
  ),
  'overwritehost' => 'IPADDRESS',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'kFBIvcaLNjktctn+7L0LHTXwnvUj8V',
  'secret' => 'dSgPPIJE2WxUglDerqagYRIH713BZJ7YhIvwW+t1WgMa34aY',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'IPADDRESS',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '29.0.0.19',
  'overwrite.cli.url' => 'IPADDRESS',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => '50832dc0777d42e516cbdd34c1d8e9026294f413cdae7170',
  'installed' => true,
  'instanceid' => 'ocowv4w08xn5',
  'maintenance' => false,
  'updatedirectory' => '/nc-updater',
  'loglevel' => '2',
  'app_install_overwrite' =>
  array (
    0 => 'nextcloud-aio',
  ),
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => '10485760',
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'enabledPreviewProviders' =>
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
    7 => 'OC\\Preview\\Krita',
    0 => 'OC\\Preview\\Imaginary',
  ),
  'enable_previews' => true,
  'upgrade.disable-web' => true,
  'mail_smtpmode' => 'smtp',
  'trashbin_retention_obligation' => 'auto, 30',
  'versions_retention_obligation' => 'auto, 30',
  'activity_expire_days' => '30',
  'simpleSignUpLink.shown' => false,
  'share_folder' => '/Shared',
  'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
  'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
  'maintenance_window_start' => 100,
  'allow_local_remote_servers' => true,
  'davstorage.request_timeout' => 3600,
  'htaccess.RewriteBase' => '/',
  'dbpersistent' => false,
  'auth.bruteforce.protection.enabled' => true,
  'ratelimit.protection.enabled' => true,
  'files_external_allow_create_new_local' => true,
  'trusted_proxies' =>
  array (
    0 => '127.0.0.1',
    1 => '::1',
    10 => 'IPADDRESS',
  ),
  'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
  'preview_imaginary_key' => 'd2613b0d795d4e124d9613278d5465b31f8b2bd300124368',
);

syslog:

2024-05-28T13:02:47.057920+02:00 raspberrypi systemd[1]: Starting fwupd-refresh.service - Refresh fwupd metadata and update motd...
2024-05-28T13:02:47.218655+02:00 raspberrypi systemd[1]: fwupd-refresh.service: Deactivated successfully.
2024-05-28T13:02:47.221212+02:00 raspberrypi systemd[1]: Finished fwupd-refresh.service - Refresh fwupd metadata and update motd.
2024-05-28T13:03:22.266021+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-d8e504dd7fb60af25638fa6a228f9b2c7743ce6b5632e09b6accbf2eab4f5287-runc.k4n9HU.mount: Deactivated successfully.
2024-05-28T13:03:53.056362+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:03:53.052756755+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:56059" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:56059->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=1b1bf34632d427af traceID=8d906359b8fb688e2100214527e6f25d
2024-05-28T13:03:54.122661+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:03:54.119660841+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:44537" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:44537->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=8798d4e14a3b1bd6 traceID=a0c17a874970e3d4795d4462a79a98c1
2024-05-28T13:03:54.125143+02:00 raspberrypi systemd-resolved[636]: Grace period over, resuming full feature set (UDP+EDNS0) for DNS server fd00::eadf:70ff:fe4b:40d4.
2024-05-28T13:03:56.626092+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:03:56.623561400+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:36380" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:36380->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=e10f2eb4230d7b47 traceID=c01494fefcb81cddf8a6953963cd4c6d
2024-05-28T13:04:52.844276+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.MgcqYB.mount: Deactivated successfully.
2024-05-28T13:05:01.276204+02:00 raspberrypi CRON[27137]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2024-05-28T13:05:01.278423+02:00 raspberrypi CRON[27136]: (root) CMD (/home/duckdns/duck.sh >/dev/null 2>&1)
2024-05-28T13:05:53.185610+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-d8e504dd7fb60af25638fa6a228f9b2c7743ce6b5632e09b6accbf2eab4f5287-runc.NCewz3.mount: Deactivated successfully.
2024-05-28T13:05:53.222553+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.p1rLza.mount: Deactivated successfully.
2024-05-28T13:05:57.582280+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:05:57.578919956+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:60565" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:60565->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=cd405b0e8c41b3da traceID=fbb8a73be810e5be839653fc92a5f4f6
2024-05-28T13:05:57.592019+02:00 raspberrypi systemd-resolved[636]: Using degraded feature set UDP instead of UDP+EDNS0 for DNS server fd00::eadf:70ff:fe4b:40d4.
2024-05-28T13:05:59.735105+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:05:59.732545358+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:33275" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:33275->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=656a1af6f96e3adb traceID=5fd035789e9156525ddc5f14e09f47fb
2024-05-28T13:06:02.239271+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:06:02.236055780+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:45467" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:45467->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=52b694830c7a6c5c traceID=c55a14a08749601ac4aac54f364e33b4
2024-05-28T13:06:03.054749+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:06:03.053587857+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:39447" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:39447->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=232fe6fca9a912a0 traceID=7ee9ac4456f95d0ee69b389c8f12e9e4
2024-05-28T13:06:03.737997+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:06:03.735155502+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:55542" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:55542->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=7c8d70b5cb82dad3 traceID=2000621a3f45b9d1cbfb4e87b28cd1a4
2024-05-28T13:06:23.386720+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-d8e504dd7fb60af25638fa6a228f9b2c7743ce6b5632e09b6accbf2eab4f5287-runc.BlLZDq.mount: Deactivated successfully.
2024-05-28T13:07:00.968706+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-8b965b9ed08124674694d23bab0ff43500323888662c120d97e89c27d74f30ac-runc.TBog1g.mount: Deactivated successfully.
2024-05-28T13:07:15.702583+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:07:15.699926785+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:51681" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:51681->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t AAAA" spanID=0dfb86fcc4bfd519 traceID=3b8bf305e8670196f0a68cab25b021ff
2024-05-28T13:07:24.989596+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-d8e504dd7fb60af25638fa6a228f9b2c7743ce6b5632e09b6accbf2eab4f5287-runc.jIH2aY.mount: Deactivated successfully.
2024-05-28T13:08:35.519446+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:08:35.515763713+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:35106" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:35106->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t AAAA" spanID=2a7cf86beb9338c1 traceID=f48d5523e123cfe4cfdeedd8cd19f934
2024-05-28T13:08:38.022744+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:08:38.019456482+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:57492" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:57492->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t AAAA" spanID=e2d93259c8d37b5f traceID=77ead1b890ea6124f694a75832b014a6
2024-05-28T13:08:39.521655+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:08:39.519174224+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:34983" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:34983->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t AAAA" spanID=3fbae1d9d39b4554 traceID=33d6fc26e04a87569caa1afc2a10171d
2024-05-28T13:08:45.983402+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:08:45.980927234+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:53298" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:53298->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t AAAA" spanID=eb8d42685e1d0b14 traceID=f64839aa6779626afc857bd485dcdac8
2024-05-28T13:08:45.984003+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:08:45.980582088+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:54798" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:54798->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t AAAA" spanID=2f4c7aa917cb7fba traceID=ee62428511fe8fa6fe911e09c669816a
2024-05-28T13:09:06.601535+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-8b965b9ed08124674694d23bab0ff43500323888662c120d97e89c27d74f30ac-runc.BX062U.mount: Deactivated successfully.
2024-05-28T13:09:40.822454+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:09:40.819560667+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:51824" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:51824->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=cf208a0238a0d999 traceID=3c666a4f9047beea34e7e871779558ec
2024-05-28T13:09:43.325505+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:09:43.322179270+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:52738" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:52738->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=a351f6ba27cae2a7 traceID=bcab9527e999080f2c8dbc2dfb8a166f
2024-05-28T13:09:44.826111+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:09:44.823254353+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:42804" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:42804->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=e4a45e67b2ac4d6f traceID=5e141b761a791e59af82f11e053dca9f
2024-05-28T13:10:01.721877+02:00 raspberrypi CRON[29990]: (root) CMD (/home/duckdns/duck.sh >/dev/null 2>&1)
2024-05-28T13:10:07.743004+02:00 raspberrypi systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2024-05-28T13:10:07.785284+02:00 raspberrypi systemd[1]: sysstat-collect.service: Deactivated successfully.
2024-05-28T13:10:07.787421+02:00 raspberrypi systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2024-05-28T13:10:55.255055+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.bNSwDr.mount: Deactivated successfully.
2024-05-28T13:10:56.142300+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-d8e504dd7fb60af25638fa6a228f9b2c7743ce6b5632e09b6accbf2eab4f5287-runc.gVQZLa.mount: Deactivated successfully.
2024-05-28T13:11:25.430549+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.jKmPJA.mount: Deactivated successfully.
2024-05-28T13:11:49.765880+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:11:49.764385506+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:39306" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:39306->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=fbf914e2092b8731 traceID=6ab23afb5875db115bd055ae4df245d4
2024-05-28T13:11:52.269201+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:11:52.266096449+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:60381" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:60381->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=c64bc0cd0a482438 traceID=9d209bacdbfb16444aabcfbc1b075152
2024-05-28T13:11:52.448416+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:11:52.447772939+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:44830" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:44830->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=e76f1484160af1c3 traceID=aad8e1b8ae777be72869752ff25f9c07
2024-05-28T13:11:53.769407+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:11:53.766944504+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:59188" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:59188->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=95327360ab2c1513 traceID=29c3fa83283c578a4f8901f6cbfc936a
2024-05-28T13:11:54.954342+02:00 raspberrypi dockerd[887]: time="2024-05-28T13:11:54.951030234+02:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:127.0.0.1:46821" dns-server="udp:127.0.0.53:53" error="read udp 127.0.0.1:46821->127.0.0.53:53: i/o timeout" question=";IPADDRESS.\tIN\t A" spanID=1d83464dbac2c0b9 traceID=c6aa66d6c1ff4f6963b2c22739ca9922
2024-05-28T13:13:20.537109+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33c487821a7206ec1e2cabee405482cff0d75079bdaad2f7ff91dd03bdb3b41f-runc.cTDzra.mount: Deactivated successfully.
2024-05-28T13:13:56.196749+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.ZtMkdw.mount: Deactivated successfully.
2024-05-28T13:13:56.219817+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-d8e504dd7fb60af25638fa6a228f9b2c7743ce6b5632e09b6accbf2eab4f5287-runc.kv0hnw.mount: Deactivated successfully.
2024-05-28T13:14:26.347404+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.nI9gQq.mount: Deactivated successfully.
2024-05-28T13:15:01.176149+02:00 raspberrypi CRON[32847]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2024-05-28T13:15:01.177389+02:00 raspberrypi CRON[32848]: (root) CMD (/home/duckdns/duck.sh >/dev/null 2>&1)
2024-05-28T13:15:20.983648+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33c487821a7206ec1e2cabee405482cff0d75079bdaad2f7ff91dd03bdb3b41f-runc.ltKakb.mount: Deactivated successfully.
2024-05-28T13:15:22.013402+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-8b965b9ed08124674694d23bab0ff43500323888662c120d97e89c27d74f30ac-runc.POBNbl.mount: Deactivated successfully.
2024-05-28T13:16:20.220374+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-ce167e177414ece9a744c36e04ac05e6748c9c7ffe117a8076cc1aa22eeec646-runc.1o9sfz.mount: Deactivated successfully.
2024-05-28T13:17:01.527796+02:00 raspberrypi CRON[33993]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
2024-05-28T13:18:27.177650+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-7b085eae2ac7b03d0fdeed43b13e02708d459d1548f957c1f91328de78015009-runc.yE8X7z.mount: Deactivated successfully.
2024-05-28T13:18:58.449362+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.E8w8mv.mount: Deactivated successfully.
2024-05-28T13:20:01.557070+02:00 raspberrypi CRON[35703]: (root) CMD (/home/duckdns/duck.sh >/dev/null 2>&1)
2024-05-28T13:20:07.738322+02:00 raspberrypi systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2024-05-28T13:20:07.784054+02:00 raspberrypi systemd[1]: sysstat-collect.service: Deactivated successfully.
2024-05-28T13:20:07.786603+02:00 raspberrypi systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2024-05-28T13:22:58.608094+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-40fa9b6bb58121bfb47abdbe85833614fbc76e9a48fdca1c652d878dcefc4702-runc.88qNHS.mount: Deactivated successfully.
2024-05-28T13:22:59.004879+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-33056b09d02675a870b6876227724c2362f568ae51bb0744da2a89f25894ad2d-runc.Kld1DG.mount: Deactivated successfully.
2024-05-28T13:23:22.806638+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-2b253ce3635811e9008a5e454f298586f1811cdaaec70c6a18204147bd176b85-runc.qOzJOU.mount: Deactivated successfully.
2024-05-28T13:23:30.293295+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-7b085eae2ac7b03d0fdeed43b13e02708d459d1548f957c1f91328de78015009-runc.nhNj5E.mount: Deactivated successfully.
2024-05-28T13:25:01.313811+02:00 raspberrypi CRON[38511]: (root) CMD (/home/duckdns/duck.sh >/dev/null 2>&1)
2024-05-28T13:25:01.315361+02:00 raspberrypi CRON[38512]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2024-05-28T13:26:23.513218+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-13e4bf6047adfc35065dcf6bd9b9c115c2f850bc7196364dfcb797a8659562ce-runc.HRp6kD.mount: Deactivated successfully.
2024-05-28T13:27:23.746879+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-13e4bf6047adfc35065dcf6bd9b9c115c2f850bc7196364dfcb797a8659562ce-runc.ftY1Tc.mount: Deactivated successfully.
2024-05-28T13:27:27.429307+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-8b965b9ed08124674694d23bab0ff43500323888662c120d97e89c27d74f30ac-runc.jDi36N.mount: Deactivated successfully.
2024-05-28T13:28:24.035320+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-2b253ce3635811e9008a5e454f298586f1811cdaaec70c6a18204147bd176b85-runc.DIkqkU.mount: Deactivated successfully.
2024-05-28T13:28:33.335391+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-7b085eae2ac7b03d0fdeed43b13e02708d459d1548f957c1f91328de78015009-runc.YndvTA.mount: Deactivated successfully.
2024-05-28T13:29:53.348382+02:00 raspberrypi systemd[1]: run-docker-runtime\x2drunc-moby-ce167e177414ece9a744c36e04ac05e6748c9c7ffe117a8076cc1aa22eeec646-runc.Z0gXxC.mount: Deactivated successfully.
2024-05-28T13:30:00.631635+02:00 raspberrypi systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2024-05-28T13:30:00.674668+02:00 raspberrypi systemd[1]: sysstat-collect.service: Deactivated successfully.
2024-05-28T13:30:00.677287+02:00 raspberrypi systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2024-05-28T13:30:01.096156+02:00 raspberrypi CRON[41299]: (root) CMD (/home/duckdns/duck.sh >/dev/null 2>&1)

Did these have /files/ after /admin as the first part of the the path before you edited them?

The line of code this is hitting is a fairly standard PHP file_puts_contents() call. The error suggests a permission problem.

Anything special about how you’re mounting /mnt/ncdata into the container or running your Docker environment (i.e. rootless)? What about file ownership?

The error is coming up when trying to write to those paths on the server-side. It’s possible they’re readable, which might explain why you’re seeing them sync’d alright I guess.

Yes.

I made a standard AIO installation and set /mnt/ncdata as the parent directory of my files to be synced. I didn’t modify file ownership.

I had read before that .lnk files are for some reason generally an issue. So apart from these, the files which make problems seem to be such which I modified while the synchronization was done. So an older version of these are on the server and writing the new version can’t be done it seems.

I checked the permissions of some of the problematic folders and they are all drwxrwxr-x; files have -rw-rw-r-- . Owner is the Raspberry Pi user (which is different to admin from NC).

Are they the same owners as your non-problematic files?

Are you using Docker in a standard way or are you running rootless?

Well, it looks like the files don’t even get written to the server. So I can only check the owners of the old file on the server or files which do not cause an error (means, which I haven’t modified yet on the local machine).

The parent main folder which contains all sub-folders is called HiDrive with permissions drwxr-xr-x. Same for the folder ncdata.
All sub-folders have the permissions drwxrwxr-x and all files -rw-rw-r--.

I installed Nextcloud AIO normally.

I remember that I set up a remote access key. They are added to the known_hosts in Windows and to the authorized_keys on the server. Could here be the problem?

Meanwhile some other error showed up which seems like related, saying \Sabre\DAV\Exception\Forbidden and that it cannot copy the file:

{"reqId":"MglAucGdConxXtHSSSii","level":3,"time":"2024-05-29T15:59:32+00:00","remoteAddr":"84.158.25.175","user":"admin","app":"PHP","method":"PUT","url":"/remote.php/dav/files/admin/HiDrive/SOMEPATH.txt","message":"file_put_contents(/mnt/ncdata/admin/files/SOMEPATH.txt.ocTransferId117228361.part): Failed to open stream: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.0.19","data":{"app":"PHP"}}
{"reqId":"MglAucGdConxXtHSSSii","level":3,"time":"2024-05-29T15:59:32+00:00","remoteAddr":"84.158.25.175","user":"admin","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/admin/HiDrive/SOMEPATH.txt","message":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.0.19","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1137,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":492,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":374,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","Line":282,"message":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)","exception":{},"CustomMessage":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)"}}
{"reqId":"MglAucGdConxXtHSSSii","level":3,"time":"2024-05-29T15:59:32+00:00","remoteAddr":"84.158.25.175","user":"admin","app":"webdav","method":"PUT","url":"/remote.php/dav/files/admin/HiDrive/SOMEPATH.txt","message":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)","userAgent":"Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"29.0.0.19","exception":{"Exception":"Sabre\\DAV\\Exception","Message":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1137,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":492,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":374,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","Line":282,"message":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)","exception":{},"CustomMessage":"Fehler beim Kopieren der Datei in den Zielspeicherort (kopiert: -1 Byte, erwartete Dateigr\u00f6\u00dfe: 1589 Bytes)"}}


Edit: I tried to upload a file through the Nextcloud browser interface. It works for the main sync folder (under ncdata/admin/files) but not for /ncdata/admin/files/HiDrive, it then dumps a message saying

which says that the process was blocked though the access control.