Windows Client meldet, dass die Datei auf dem Server gelöscht wurde... Sie ist aber da!

[/details]

Nextcloud version: 27.0.0
Operating system and version: Ubuntu 23.04
Apache or nginx version: Apache/2.4.55
PHP version: 8.1.12
Windows Client: 3.9

The issue you are facing:

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

Steps to replicate it:

  1. Erstelle ein Foto mit einem Android Handy
  2. Lade es über die Android Nextcloud App auf den Nextcloud Server hoch
  3. Synchronisiere den Windows Client (Virtual Files)
  4. Das Öffnen des eben erstellten Fotos ist nicht möglich.
  5. Beim Versuch das Foto offline verfügbar zu machen, meldet der Client, dass die Datei auf dem Server gelöscht wurde (File with name /SofortUpload/Camera/2023/07/20230720_161816.jpg could not be located)

The output of your Nextcloud log in Admin > Logging:

Kein neuer Eintrag bei der Durchführung.

The output of the Sync Log of the Windows client:

#=#=#=# Syncrun started 2023-07-20T15:09:55Z
#=#=#=#=# Propagation starts 2023-07-20T15:09:56Z (last step: 819 msec, total: 819 msec)
||SofortUpload/Camera/2023/07/20230720_170858.jpg|64|2|1689865739|262cd68b24099a84624524f82be8d932|1766980|00212629ocym55vn0jcx|3|Die Datei wurde vom Server gelöscht (File with name /SofortUpload/Camera/2023/07/20230720_170858.jpg could not be located)|404|1766980|1689865739|f6450005-933b-45af-af35-779b76d01141|
#=#=#=# Syncrun finished 2023-07-20T15:09:56Z (last step: 81 msec, total: 900 msec)

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

<?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => ',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'XXX',
    1 => 'xxx.xxx.ch',
  ),
  'trusted_proxies' =>
  array (
    0 => 'xxx',
    1 => '127.0.0.1',
    2 => '::1',
  ),
  'overwrite.cli.url' => 'http://xxx',
  'overwriteprotocol' => 'https',
  'datadirectory' => '/var/www/nextcloud/data/',
  'dbtype' => 'mysql',
  'version' => '27.0.0.8',
  'dbname' => 'nextclouddb',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'filelocking.enable' => 'true',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'password' => 'xxx',
    'timeout' => 0.5,
    'dbindex' => 1,
  ),
  'session_lifetime' => 3600,
  'session_keepalive' => false,
  'remember_login_cookie_lifetime' => 0,
  'default_phone_region' => 'CH',
  'default_locale' => 'de_CH',
  'force_language' => 'de',
  'theme' => '',
  'loglevel' => 2,
  'simpleSignUpLink.shown' => false,
  'allow_local_remote_servers' => true,
  'htaccess.RewriteBase' => '/',
  'mail_from_address' => 'xx',
  'mail_smtpmode' => 'xx',
  'mail_sendmailmode' => 'xx',
  'mail_domain' => 'xx',
  'mail_smtphost' => 'xx',
  'mail_smtpport' => 'xxx',
  'maintenance' => false,
);

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

XXX - XXX [20/Jul/2023:17:19:07 +0200] "PROPFIND /remote.php/dav/files/XXX/ HTTP/1.1" 207 5667 "-" "Mozilla/5.0 (Windows) mirall/3.9.0stable-Win64 (build 20230613) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
XXX - XXX [20/Jul/2023:17:19:07 +0200] "PROPFIND /remote.php/dav/files/XXX/SofortUpload HTTP/1.1" 207 1639 "-" "Mozilla/5.0 (Windows) mirall/3.9.0stable-Win64 (build 20230613) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
XXX - XXX [20/Jul/2023:17:19:07 +0200] "PROPFIND /remote.php/dav/files/XXX/SofortUpload/Camera HTTP/1.1" 207 22780 "-" "Mozilla/5.0 (Windows) mirall/3.9.0stable-Win64 (build 20230613) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
XXX - XXX [20/Jul/2023:17:19:07 +0200] "PROPFIND /remote.php/dav/files/XXX/SofortUpload/Camera/2023 HTTP/1.1" 207 1500 "-" "Mozilla/5.0 (Windows) mirall/3.9.0stable-Win64 (build 20230613) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
XXX - XXX [20/Jul/2023:17:19:07 +0200] "PROPFIND /remote.php/dav/files/XXX/SofortUpload/Camera/2023/07 HTTP/1.1" 207 2762 "-" "Mozilla/5.0 (Windows) mirall/3.9.0stable-Win64 (build 20230613) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

KEINE


Hatte das Problem bereits jemand?
Ich habe versucht den occ maintenance:repair durchzuführen, hat aber nichts gebracht. 

Bin um jeden Input dankbar...

Beste Grüsse!!

Habe eine neue entwicklung festgestellt…
Als ich es heute nochmals versucht habe, hat es auf einmal funktioniert, ohne weiteres zutun…

Den Cronjob habe ich gestern auch herer male laufen lassen, ohne erfolg. Nach ca. 2 Stunden testen habe ich es immernoch nicht hinbekommen.

Heute geht es auf einmal. Wenn ich jedoch wieder eine neue Datei hochlade, geht es wieder nicht…

So als ergänzung… Einen files:scan habe ich auch ausprobiert…