InvalidPath Dateiname ist zu lang

German:
Ich habe auf meinem Samsung-Smartphone die automatische Fotosynchronisation aktiviert. Jeden Tag, wenn es mit dem WLAN verbunden ist, werden die Fotos aktualisiert. Allerdings werden zwei Fotos permanent von Nextcloud kopiert, sodass der Dateiname sehr lang wird. Dadurch kann die SQL MariaDB diese nicht mehr speichern, da er zu lang ist. Täglich erhalte ich 100 Fehlermeldungen aufgrund dieses Fotos, dessen Name zu lang ist. Auf dem Smartphone existiert nur eine Kopie des Fotos, aber auf Nextcloud gibt es etwa 20 Kopien, die ungefähr so aussehen: “name.jpg (2) (3) (4) (3) (2) (1) (2) (1) (5) (1)…”, und so weiter. Das führt dazu, dass der Dateiname so lang wird, dass MariaDB ihn nicht speichern kann. Ich habe versucht, die Fotos von Nextcloud zu löschen, aber sie werden dennoch kopiert. Ich habe Gesichtserkennung aktiviert, aber auf den beiden Fotos, die permanent kopiert werden, sind keine Menschen oder Gesichter zu sehen, sondern eine Landschaft. Ich denke, dass dies damit zusammenhängt. Was denkt ihr darüber?

English:
I have activated the automatic photo synchronization on my Samsung smartphone. Every day, when it is connected to the WLAN, the photos are updated. However, two photos are permanently copied by Nextcloud, causing the file name to become very long. As a result, SQL MariaDB cannot save it anymore because it is too long. Every day, I receive 100 failures due to this photo, whose name is too long. On the smartphone, there is only one copy of the photo, but on Nextcloud, there are about 20 copies that look like this: “name.jpg (2) (3) (4) (3) (2) (1) (2) (1) (5) (1)…”, and so on. This leads to the file name becoming so long that MariaDB cannot save it. I have tried to delete the photos from Nextcloud, but they still get copied. I have facial recognition enabled, but there are no people or faces visible on the two photos that are permanently copied, just a landscape. I think this has something to do with it. What do you think?

InvalidPath Dateiname ist zu lang

  1. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.phpZeile 83
OCA\DAV\Connector\Sabre\Directory->getChild
()
  1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/LockPlugin.phpZeile 68
Sabre\DAV\Tree->getNodeForPath
()
  1. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.phpZeile 89
OCA\DAV\Connector\Sabre\LockPlugin->getLock
()
  1. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.phpZeile 456
Sabre\DAV\Server->emit
()
  1. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.phpZeile 253
Sabre\DAV\Server->invokeMethod
()
  1. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.phpZeile 321
Sabre\DAV\Server->start
()
  1. /var/www/nextcloud/apps/dav/lib/Server.phpZeile 370
Sabre\DAV\Server->exec
()
  1. /var/www/nextcloud/apps/dav/appinfo/v2/remote.phpZeile 35
OCA\DAV\Server->exec
()
  1. /var/www/nextcloud/remote.phpZeile 172
undefinedundefinedrequire_once
(
  "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"
)

Roh-Protokolleintrag

{
  "reqId": "ZceGe_l0Q5kH7RL5BpLDAAAAAAY",
  "level": 3,
  "time": "2024-02-10T14:21:47+00:00",
  "remoteAddr": "37.201.185.52",
  "user": "aile",
  "app": "webdav",
  "method": "PUT",
  "url": "/remote.php/dav/files/aile/Photos/Ayse/2019/07/20190724_142808_002%20(2)%20(2)%20(3)%20(2)%20(4)%20(2)%20(3)%20(2)%20(3)%20(2)%20(3)%20(2)%20(2)%20(2)%20(3)%20(3)%20(3)%20(2)%20(2)%20(2)%20(2)%20(2)%20(3)%20(2)%20(3)%20(2)%20(2)%20(2)%20(2)%20(2)%20(2)%20(2)%20(2)%20(2)%20(3)%20(2)%20(2)%20(2)%20(5)%20(2)%20(2)%20(2)%20(3)%20(2)%20(2)%20(3)%20(2)%20(4)%20(2)%20(2)%20(3)%20(2)%20(2)%20(2)%20(2)%20(2)%20(2).jpg",
  "message": "Dateiname ist zu lang",
  "userAgent": "Mozilla/5.0 (Android) Nextcloud-android/3.27.0",
  "version": "28.0.2.5",
  "exception": {
    "Exception": "OCA\\DAV\\Connector\\Sabre\\Exception\\InvalidPath",
    "Message": "Dateiname ist zu lang",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php",
        "line": 83,
        "function": "getChild",
        "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/Connector/Sabre/LockPlugin.php",
        "line": 68,
        "function": "getNodeForPath",
        "class": "Sabre\\DAV\\Tree",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
        "line": 89,
        "function": "getLock",
        "class": "OCA\\DAV\\Connector\\Sabre\\LockPlugin",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 456,
        "function": "emit",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 253,
        "function": "invokeMethod",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 321,
        "function": "start",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/Server.php",
        "line": 370,
        "function": "exec",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php",
        "line": 35,
        "function": "exec",
        "class": "OCA\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/remote.php",
        "line": 172,
        "args": [
          "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",
    "Line": 219,
    "message": "Dateiname ist zu lang",
    "exception": [],
    "CustomMessage": "Dateiname ist zu lang"
  },
  "id": "65ca62fce5891"
}