Random file_put_contents error

Problem Description

Nextcloud version: Nextcloud AIO v9.0.1 (latest updates applied)
Operating system and version: Raspberry Pi OS 12


I get random PHP file_put_contents errors in my logs.
I don’t notice anything going wrong;
…but errors in my log make me uncomfortable.
Any ideas what is the reason for these error?

Sadly I don’t know how to reproduce these errors :frowning:

Logs and PHP Config

{"reqId":"7hXWxhk0BRiOHVFybcjE","level":2,"time":"2024-06-18T02:44:27+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Used memory grew by more than 10 MB when executing job OC\\Core\\BackgroundJobs\\GenerateMetadataJob (id: 12826, arguments: null): 60.9 MB (before: 30.8 MB)","userAgent":"--","version":"29.0.2.2","data":{"app":"cron"}}
{"reqId":"lbGILZeIu4BzRkyEsedD","level":3,"time":"2024-06-21T08:43:40+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/3/3/5/e/4/c/5/133942/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"0H1efHQgu3nefp2YPYvK","level":3,"time":"2024-06-22T08:33:55+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/6/0/5/f/c/3/7/132719/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"rIjYAzcZL2XzPC8vpsla","level":3,"time":"2024-06-22T08:38:46+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/7/8/a/d/c/e/b/132717/256-160.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"xZG97rL0qYtkVxhypzgP","level":3,"time":"2024-06-22T08:43:51+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/6/0/5/f/c/3/7/132719/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"xZG97rL0qYtkVxhypzgP","level":2,"time":"2024-06-22T08:43:55+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"issue while running UpdateSingleMetadata","userAgent":"--","version":"29.0.2.2","exception":{"Exception":"OCP\\Lock\\LockedException","Message":"\"ss24/GPGPU/Assignment3/images/sep_ref.jpg\" is locked, existing lock on file: exclusive","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/View.php","line":2068,"function":"lockPath","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,false]},{"file":"/var/www/html/lib/private/Files/View.php","line":1151,"function":"lockFile","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1]},{"file":"/var/www/html/lib/private/Files/View.php","line":584,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["file_get_contents","/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",["read"]]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":54,"function":"file_get_contents","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg"]},{"file":"/var/www/html/apps/photos/lib/Listener/SizeMetadataProvider.php","line":64,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Photos\\Listener\\SizeMetadataProvider","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["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"],["Closure"],["Closure"]],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/FilesMetadataManager.php","line":114,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/Job/UpdateSingleMetadata.php","line":60,"function":"refreshMetadata","class":"OC\\FilesMetadata\\FilesMetadataManager","type":"->","args":[["OC\\Files\\Node\\File"],2]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OC\\FilesMetadata\\Job\\UpdateSingleMetadata","type":"->","args":[["admin",132722]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":57,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":47,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":176,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]}],"File":"/var/www/html/lib/private/Files/View.php","Line":1963,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/e11a81a6889ed356fc90369af1904e8a\"(\"files/ss24/GPGPU/Assignment3/images/sep_ref.jpg\") is locked, existing lock on file: exclusive","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":616,"function":"acquireLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":616,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1955,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":2068,"function":"lockPath","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,false]},{"file":"/var/www/html/lib/private/Files/View.php","line":1151,"function":"lockFile","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1]},{"file":"/var/www/html/lib/private/Files/View.php","line":584,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["file_get_contents","/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",["read"]]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":54,"function":"file_get_contents","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg"]},{"file":"/var/www/html/apps/photos/lib/Listener/SizeMetadataProvider.php","line":64,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Photos\\Listener\\SizeMetadataProvider","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["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"],["Closure"],["Closure"]],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/FilesMetadataManager.php","line":114,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/Job/UpdateSingleMetadata.php","line":60,"function":"refreshMetadata","class":"OC\\FilesMetadata\\FilesMetadataManager","type":"->","args":[["OC\\Files\\Node\\File"],2]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OC\\FilesMetadata\\Job\\UpdateSingleMetadata","type":"->","args":[["admin",132722]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":57,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":47,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":176,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]}],"File":"/var/www/html/lib/private/Files/Storage/Common.php","Line":774,"Previous":{"Exception":"OCP\\Lock\\LockedException","Message":"\"files/e11a81a6889ed356fc90369af1904e8a\"(\"home::admin::files/ss24/GPGPU/Assignment3/images/sep_ref.jpg\") is locked, existing lock on file: exclusive","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":772,"function":"acquireLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files/e11a81a6889ed356fc90369af1904e8a",1,"home::admin::files/ss24/GPGPU/Assignment3/images/sep_ref.jpg"]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":616,"function":"acquireLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":616,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":1955,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,["OC\\Lock\\MemcacheLockingProvider"]]},{"file":"/var/www/html/lib/private/Files/View.php","line":2068,"function":"lockPath","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1,false]},{"file":"/var/www/html/lib/private/Files/View.php","line":1151,"function":"lockFile","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",1]},{"file":"/var/www/html/lib/private/Files/View.php","line":584,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["file_get_contents","/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg",["read"]]},{"file":"/var/www/html/lib/private/Files/Node/File.php","line":54,"function":"file_get_contents","class":"OC\\Files\\View","type":"->","args":["/admin/files/ss24/GPGPU/Assignment3/images/sep_ref.jpg"]},{"file":"/var/www/html/apps/photos/lib/Listener/SizeMetadataProvider.php","line":64,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->","args":[]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Photos\\Listener\\SizeMetadataProvider","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["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"],["Closure"],["Closure"]],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"],"OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent",["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/FilesMetadataManager.php","line":114,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[["OCP\\FilesMetadata\\Event\\MetadataBackgroundEvent"]]},{"file":"/var/www/html/lib/private/FilesMetadata/Job/UpdateSingleMetadata.php","line":60,"function":"refreshMetadata","class":"OC\\FilesMetadata\\FilesMetadataManager","type":"->","args":[["OC\\Files\\Node\\File"],2]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OC\\FilesMetadata\\Job\\UpdateSingleMetadata","type":"->","args":[["admin",132722]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":57,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":47,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":176,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]}],"File":"/var/www/html/lib/private/Lock/MemcacheLockingProvider.php","Line":88}},"message":"issue while running UpdateSingleMetadata","exception":{},"userId":"admin","fileId":132722,"CustomMessage":"issue while running UpdateSingleMetadata"}}
{"reqId":"xZG97rL0qYtkVxhypzgP","level":3,"time":"2024-06-22T08:43:55+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/7/8/a/d/c/e/b/132717/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"kGlpLYeseciZLqmFOi6U","level":3,"time":"2024-06-22T09:08:50+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/6/b/3/4/f/3/b/133911/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"kGlpLYeseciZLqmFOi6U","level":3,"time":"2024-06-22T09:08:52+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/3/3/5/e/4/c/5/133942/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"kxTCwoLdlXW7Aw1pEB5m","level":3,"time":"2024-06-22T09:48:57+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/3/3/5/e/4/c/5/133942/256-160.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"BPLUDLLm3ckjdAQ2AQG3","level":3,"time":"2024-06-22T11:23:59+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"file_put_contents(/mnt/ncdata/appdata_oc4x48ggquvk/preview/0/9/0/9/6/8/8/132722/2048-1280-max.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"--","version":"29.0.2.2","data":{"app":"PHP"}}

The output of your config.php file in /path/to/nextcloud

<?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' => 'MYWPASSWORD',
    'port' => 6379,
  ),
  'overwritehost' => 'MYURL.de',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'MYWPASSWORD',
  'secret' => 'MYWPASSWORD',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'MYURL.de',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '29.0.2.2',
  'overwrite.cli.url' => 'https://MYURL.de/',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => 'MYWPASSWORD',
  'installed' => true,
  'instanceid' => 'oc4x48ggquvk',
  'maintenance' => false,
  'loglevel' => '2',
  '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',
  ),
  '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',
  'updatedirectory' => '/nc-updater',
  'maintenance_window_start' => 100,
  'allow_local_remote_servers' => true,
  'davstorage.request_timeout' => 3600,
  'htaccess.RewriteBase' => '/',
  'dbpersistent' => false,
  'files_external_allow_create_new_local' => false,
  'trusted_proxies' => 
  array (
    0 => '127.0.0.1',
    1 => '::1',
    10 => '172.19.0.1/32',
  ),
  'default_phone_region' => 'DE',
  'mail_from_address' => 'MYNAME',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'MYMAIL.de',
  'mail_smtphost' => 'smtp-mail.MYMAIL.com',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'MYNAME@MYMAIL.de',
  'mail_smtppassword' => 'MYPASSWORD',
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
    0 => 'admin',
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
    0 => 'admin',
  ),
  'data-fingerprint' => '09b49cff0aa447f031be45acd2368851',
  'auth.bruteforce.protection.enabled' => true,
  'ratelimit.protection.enabled' => true,
);

Hi, you could run sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan-app-data preview -vvv and check if that fixes it

1 Like

I left it running with this for a few days and no problems occurred.

I guess this fixed it. Thank you!

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.