Preview-Generation // proc_open() // Video-Files

Setup

  • Nextcloud Server version (e.g., 29.x.x):
    • [Nextcloud Hub 10 31.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Synology DSM7
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NGinx
  • PHP version (e.g, 8.3):
    • 8.3.19
  • Installation method
    • Docker-Compose in Portainer
  • Are you using CloudfIare, mod_security, or similar?
    • Strato Domain

Summary of the issue you are facing:

I have a problem with the Previewgeneration of files exept images. I read a lot of posts and forums and fixes that dont work for me sadly. Is there any way to fix it on the Synology NAS or is it even related to the synology? In my research i found an already installed preversion of ffmpeg4 which i removed and used ffmpeg7. I tryed coping the binary data to a local folder on my volume and changed all the time the path in the config.php. While generation i can see that nextcloud is trying to but as the logs tell it failes. I hope i can get the help here :slight_smile: Most of the forums are close or outdated so i opened a new one.

Steps to replicate it (hint: details matter!):

  1. Installed nextcloud via docker-compose with redis and postgres-db
  2. Aktivated the app Preview-Generator
  3. Added SynoCli Video Drivers which was needed for ffmpeg7 in the community and also ffmpeg7 in my synology packet center
  4. Edited the config.php:
'preview_ffmpeg_path' => '/volume1/@appstore/ffmpeg/bin/ffmpeg'
'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\Movie',
    ...
    ...
  ),
  1. Restarted everything and run the command:
docker exec -u www-data nextcloud_app php occ preview:generate-all -p "/AsD/files/Test" -vvv
  1. Got error-message in the nextcloud.log:
"message": "proc_open(): posix_spawn() failed: No such file or directory at /var/www/html/lib/private/Preview/Movie.php#129",
  1. I get the preview of pictures for sure but not for video files. I also uploaded some more samples with different extionsions (avi, mpeg, mp4 heic, another mp4 and mkv) but cant make it work. I mean i cant run this video in chrome either because of the black screen codec thing but thats fine.

I tryed this one as well:

Log entries

{
“reqId”: “VMJry6jJDiSy2SIOGrSc”,
“level”: 3,
“time”: “2025-04-09T15:17:05+00:00”,
“remoteAddr”: “77.21.51.34”,
“user”: “AsD”,
“app”: “PHP”,
“method”: “GET”,
“url”: “/index.php/core/preview?fileId=00107138oc89b4yzfbx5&x=96&y=96&a=true”,
“message”: “proc_open(): posix_spawn() failed: No such file or directory at /var/www/html/lib/private/Preview/Movie.php#129”,
“userAgent”: “Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)”,
“version”: “31.0.2.1”,
“data”: {
“app”: “PHP”
},
“id”: “67f69374375b5”
}

Nextcloud Log

{"reqId":"VMJry6jJDiSy2SIOGrSc","level":3,"time":"2025-04-09T15:17:05+00:00","remoteAddr":"77.21.51.34","user":"AsD","app":"PHP","method":"GET","url":"/index.php/core/preview?fileId=00107138oc89b4yzfbx5&x=96&y=96&a=true","message":"proc_open(): posix_spawn() failed: No such file or directory at /var/www/html/lib/private/Preview/Movie.php#129","userAgent":"Mozilla/5.0 (Windows) mirall/3.16.2 (build 20250319) (Nextcloud, windows-10.0.26100 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.2.1","data":{"app":"PHP"},"id":"67f69374375b5"}

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "maintenance_window_start": 1,
        "htaccess.RewriteBase": "\/",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": xxxx
        },
        "default_phone_region": "de",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "upgrade.disable-web": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192......33.",
            "nextcloud....de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.2.1",
        "overwrite.cli.url": "http:\/\/192......33..",
        "overwriteprotocol": "https",
        "default_language": "de",
        "default_locale": "de_DE",
        "force_language": "de",
        "force_locale": "de_DE",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "preview_ffmpeg_path": "\/volume1\/docker\/nextcloud\/ffmpeg",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\MP4",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\PDF",
            "OC\\Preview\\Video",
            "OC\\Preview\\MKV",
            "OC\\Preview\\AVI",
            "OC\\Preview\\MPEG",
            "OC\\Preview\\\\Font",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\StarOffice",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\EMF"
        ],
        "maintenance": false
    },
    "apps": {
        "activity": {
            "installed_version": "4.0.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "app_api": {
            "installed_version": "5.0.2",
            "types": "",
            "enabled": "yes"
        },
        "backgroundjob": {
            "lastjob": "224"
        },
        "bruteForce": {
            "whitelist_1": "77.21.51.34\/32"
        },
        "bruteforcesettings": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "calendar": {
            "types": "",
            "enabled": "yes",
            "installed_version": "5.2.1"
        },
        "circles": {
            "installed_version": "31.0.0",
            "types": "filesystem,dav",
            "enabled": "yes",
            "loopback_tmp_scheme": "http",
            "maintenance_update": "{\"3\":1744128643,\"2\":1744128643,\"1\":1744128643}",
            "migration_22": "1",
            "migration_run": "0",
            "maintenance_run": "0"
        },
        "cloud_federation_api": {
            "installed_version": "1.14.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "comments": {
            "installed_version": "1.21.0",
            "types": "logging",
            "enabled": "yes"
        },
        "contacts": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "7.0.5"
        },
        "contactsinteraction": {
            "installed_version": "1.12.0",
            "types": "dav",
            "enabled": "yes"
        },
        "core": {
            "installedat": "1743970520.2131",
            "vendor": "nextcloud",
            "public_files": "files_sharing\/public.php",
            "lastupdatedat": 1744211902,
            "lastcron": 1744212853,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "lastupdateResult": "[]",
            "oc.integritycheck.checker": [],
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "9e424dbe9e4fade57b610ac7373cbc66",
                    "indexed": false,
                    "editPermission": 0
                }
            }
        },
        "dashboard": {
            "installed_version": "7.11.0",
            "types": "",
            "enabled": "yes"
        },
        "dav": {
            "installed_version": "1.33.0",
            "types": "filesystem",
            "enabled": "yes",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes"
        },
        "federatedfilesharing": {
            "installed_version": "1.21.0",
            "types": "",
            "enabled": "yes"
        },
        "federation": {
            "installed_version": "1.21.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "files": {
            "installed_version": "2.3.1",
            "types": "filesystem",
            "enabled": "yes",
            "mimetype_version": "31.0.2.1"
        },
        "files_downloadlimit": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "files_pdfviewer": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "files_reminders": {
            "installed_version": "1.4.0",
            "types": "",
            "enabled": "yes"
        },
        "files_sharing": {
            "installed_version": "1.23.1",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_trashbin": {
            "installed_version": "1.21.0",
            "types": "filesystem,dav",
            "enabled": "yes"
        },
        "files_versions": {
            "installed_version": "1.24.0",
            "types": "filesystem,dav",
            "enabled": "yes"
        },
        "firstrunwizard": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "logreader": {
            "installed_version": "4.0.0",
            "types": "logging",
            "enabled": "yes"
        },
        "lookup_server_connector": {
            "installed_version": "1.19.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "installed_version": "3.0.0",
            "types": "logging",
            "enabled": "yes",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "installed_version": "4.11.0",
            "types": "",
            "enabled": "yes"
        },
        "notifications": {
            "installed_version": "4.0.0",
            "types": "logging",
            "enabled": "yes"
        },
        "oauth2": {
            "installed_version": "1.19.1",
            "types": "authentication",
            "enabled": "yes"
        },
        "password_policy": {
            "installed_version": "3.0.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "photos": {
            "installed_version": "4.0.0-dev.1",
            "types": "dav,authentication",
            "enabled": "yes",
            "lastPlaceMappedUser": "AsD",
            "lastPlaceMappingDone": "true"
        },
        "previewgenerator": {
            "installed_version": "5.8.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "privacy": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes"
        },
        "profile": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "yes"
        },
        "provisioning_api": {
            "installed_version": "1.21.0",
            "types": "prevent_group_restriction",
            "enabled": "yes"
        },
        "recommendations": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "related_resources": {
            "installed_version": "2.0.0",
            "types": "",
            "enabled": "yes"
        },
        "richdocuments": {
            "disable_certificate_verification": "",
            "wopi_url": "https:\/\/collabora.......de",
            "installed_version": "8.6.4",
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "public_wopi_url": "https:\/\/collabora.......de"
        },
        "richdocumentscode": {
            "installed_version": "24.4.1302",
            "types": "",
            "enabled": "yes"
        },
        "serverinfo": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes",
            "size_appdata_storage": 6399623034,
            "cached_count_appdata_files": 81105,
            "cached_count_filecache": 92246,
            "cached_count_storages": 3
        },
        "settings": {
            "installed_version": "1.14.0",
            "types": "",
            "enabled": "yes"
        },
        "sharebymail": {
            "installed_version": "1.21.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "support": {
            "installed_version": "3.0.0",
            "types": "session",
            "enabled": "yes",
            "SwitchUpdaterServerHasRun": "yes"
        },
        "survey_client": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes"
        },
        "systemtags": {
            "installed_version": "1.21.1",
            "types": "logging",
            "enabled": "yes"
        },
        "text": {
            "installed_version": "5.0.0",
            "types": "dav",
            "enabled": "yes"
        },
        "theming": {
            "installed_version": "2.6.1",
            "types": "logging",
            "enabled": "yes"
        },
        "twofactor_backupcodes": {
            "installed_version": "1.20.0",
            "types": "",
            "enabled": "yes"
        },
        "twofactor_totp": {
            "installed_version": "13.0.0-dev.0",
            "types": "",
            "enabled": "yes"
        },
        "updatenotification": {
            "installed_version": "1.21.0",
            "types": "",
            "enabled": "yes",
            "calendar": "5.2.1",
            "update_check_errors": 0,
            "contacts": "7.0.5"
        },
        "user_status": {
            "installed_version": "1.11.0",
            "types": "",
            "enabled": "yes"
        },
        "viewer": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "weather_status": {
            "installed_version": "1.11.0",
            "types": "",
            "enabled": "yes"
        },
        "webhook_listeners": {
            "installed_version": "1.2.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "workflowengine": {
            "installed_version": "2.13.0",
            "types": "filesystem",
            "enabled": "yes"
        }
    }
}
ash-4.4# docker exec -u www-data nextcloud_app php occ preview:generate-all -p "/AsD/files/Test" -vvv
2025-04-09T15:37:37+00:00 Specifications: [{"width":64,"height":64,"crop":true},{"width":256,"height":256,"crop":true},{"width":1024,"height":1024,"crop":true},{"width":4096,"height":4096,"crop":true},{"width":64,"height":64,"crop":false},{"width":256,"height":256,"crop":false},{"width":1024,"height":1024,"crop":false},{"width":4096,"height":4096,"crop":false},{"width":-1,"height":64,"crop":false},{"width":-1,"height":256,"crop":false},{"width":-1,"height":1024,"crop":false},{"width":-1,"height":4096,"crop":false},{"width":64,"height":-1,"crop":false},{"width":256,"height":-1,"crop":false},{"width":1024,"height":-1,"crop":false},{"width":4096,"height":-1,"crop":false}]
2025-04-09T15:37:37+00:00 Scanning folder /AsD/files/Test
2025-04-09T15:37:37+00:00 Generating previews for /AsD/files/Test/20240303_204439.mp4
2025-04-09T15:37:37+00:00 Generating previews for /AsD/files/Test/file_example_AVI_1920_2_3MG.avi
2025-04-09T15:37:37+00:00 Generating previews for /AsD/files/Test/file_example_MP4_480_1_5MG.mp4
2025-04-09T15:37:37+00:00 Generating previews for /AsD/files/Test/sample_960x400_ocean_with_audio.mkv
2025-04-09T15:37:37+00:00 Generating previews for /AsD/files/Test/sample_960x400_ocean_with_audio.mpeg
ash-4.4# docker exec -u www-data nextcloud_app php occ config:list
{
    "system": {
        "maintenance_window_start": 1,
        "htaccess.RewriteBase": "\/",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": xxxx
        },
        "default_phone_region": "de",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "upgrade.disable-web": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192......33.",
            "nextcloud.......de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.2.1",
        "overwrite.cli.url": "http:\/\/192.....33.",
        "overwriteprotocol": "https",
        "default_language": "de",
        "default_locale": "de_DE",
        "force_language": "de",
        "force_locale": "de_DE",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "preview_ffmpeg_path": "\/volume1\/docker\/nextcloud\/ffmpeg",
        "enable_previews": true,
        "enabledPreviewProviders": {
            "0": "OC\\Preview\\Movie",
            "1": "OC\\Preview\\PNG",
            "2": "OC\\Preview\\JPEG",
            "3": "OC\\Preview\\GIF",
            "4": "OC\\Preview\\BMP",
            "5": "OC\\Preview\\XBitmap",
            "6": "OC\\Preview\\MP3",
            "7": "OC\\Preview\\MP4",
            "8": "OC\\Preview\\TXT",
            "9": "OC\\Preview\\MarkDown",
            "10": "OC\\Preview\\PDF",
            "11": "OC\\Preview\\Video",
            "15": "OC\\Preview\\\\Font",
            "16": "OC\\Preview\\HEIC",
            "17": "OC\\Preview\\Illustrator",
            "18": "OC\\Preview\\MSOffice2003",
            "19": "OC\\Preview\\MSOfficeDoc",
            "20": "OC\\Preview\\PDF",
            "21": "OC\\Preview\\MSOffice2007",
            "22": "OC\\Preview\\Photoshop",
            "23": "OC\\Preview\\Postscript",
            "24": "OC\\Preview\\StarOffice",
            "25": "OC\\Preview\\SVG",
            "26": "OC\\Preview\\TIFF",
            "27": "OC\\Preview\\EMF"
        },
        "maintenance": false
    },
    "apps": {
        "activity": {
            "installed_version": "4.0.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "app_api": {
            "installed_version": "5.0.2",
            "types": "",
            "enabled": "yes"
        },
        "backgroundjob": {
            "lastjob": "225"
        },
        "bruteForce": {
            "whitelist_1": "77.21.51.34\/32"
        },
        "bruteforcesettings": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "calendar": {
            "types": "",
            "enabled": "yes",
            "installed_version": "5.2.1"
        },
        "circles": {
            "installed_version": "31.0.0",
            "types": "filesystem,dav",
            "enabled": "yes",
            "loopback_tmp_scheme": "http",
            "maintenance_update": "{\"3\":1744128643,\"2\":1744128643,\"1\":1744128643}",
            "migration_22": "1",
            "migration_run": "0",
            "maintenance_run": "0"
        },
        "cloud_federation_api": {
            "installed_version": "1.14.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "comments": {
            "installed_version": "1.21.0",
            "types": "logging",
            "enabled": "yes"
        },
        "contacts": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "7.0.5"
        },
        "contactsinteraction": {
            "installed_version": "1.12.0",
            "types": "dav",
            "enabled": "yes"
        },
        "core": {
            "installedat": "1743970520.2131",
            "vendor": "nextcloud",
            "public_files": "files_sharing\/public.php",
            "lastupdatedat": 1744211902,
            "lastcron": 1744213066,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "lastupdateResult": "[]",
            "oc.integritycheck.checker": [],
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "71385a9813cb6834ab738ec7a74b16bf",
                    "indexed": false,
                    "editPermission": 0
                }
            }
        },
        "dashboard": {
            "installed_version": "7.11.0",
            "types": "",
            "enabled": "yes"
        },
        "dav": {
            "installed_version": "1.33.0",
            "types": "filesystem",
            "enabled": "yes",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes"
        },
        "federatedfilesharing": {
            "installed_version": "1.21.0",
            "types": "",
            "enabled": "yes"
        },
        "federation": {
            "installed_version": "1.21.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "files": {
            "installed_version": "2.3.1",
            "types": "filesystem",
            "enabled": "yes",
            "mimetype_version": "31.0.2.1"
        },
        "files_downloadlimit": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "files_pdfviewer": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "files_reminders": {
            "installed_version": "1.4.0",
            "types": "",
            "enabled": "yes"
        },
        "files_sharing": {
            "installed_version": "1.23.1",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_trashbin": {
            "installed_version": "1.21.0",
            "types": "filesystem,dav",
            "enabled": "yes"
        },
        "files_versions": {
            "installed_version": "1.24.0",
            "types": "filesystem,dav",
            "enabled": "yes"
        },
        "firstrunwizard": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "logreader": {
            "installed_version": "4.0.0",
            "types": "logging",
            "enabled": "yes"
        },
        "lookup_server_connector": {
            "installed_version": "1.19.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "installed_version": "3.0.0",
            "types": "logging",
            "enabled": "yes",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "installed_version": "4.11.0",
            "types": "",
            "enabled": "yes"
        },
        "notifications": {
            "installed_version": "4.0.0",
            "types": "logging",
            "enabled": "yes"
        },
        "oauth2": {
            "installed_version": "1.19.1",
            "types": "authentication",
            "enabled": "yes"
        },
        "password_policy": {
            "installed_version": "3.0.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "photos": {
            "installed_version": "4.0.0-dev.1",
            "types": "dav,authentication",
            "enabled": "yes",
            "lastPlaceMappedUser": "AsD",
            "lastPlaceMappingDone": "true"
        },
        "previewgenerator": {
            "installed_version": "5.8.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "privacy": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes"
        },
        "profile": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "yes"
        },
        "provisioning_api": {
            "installed_version": "1.21.0",
            "types": "prevent_group_restriction",
            "enabled": "yes"
        },
        "recommendations": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "related_resources": {
            "installed_version": "2.0.0",
            "types": "",
            "enabled": "yes"
        },
        "richdocuments": {
            "disable_certificate_verification": "",
            "wopi_url": "https:\/\/collabora......de",
            "installed_version": "8.6.4",
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "public_wopi_url": "https:\/\/collabora.......de"
        },
        "richdocumentscode": {
            "installed_version": "24.4.1302",
            "types": "",
            "enabled": "yes"
        },
        "serverinfo": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes",
            "size_appdata_storage": 6399623034,
            "cached_count_appdata_files": 81105,
            "cached_count_filecache": 92246,
            "cached_count_storages": 3
        },
        "settings": {
            "installed_version": "1.14.0",
            "types": "",
            "enabled": "yes"
        },
        "sharebymail": {
            "installed_version": "1.21.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "support": {
            "installed_version": "3.0.0",
            "types": "session",
            "enabled": "yes",
            "SwitchUpdaterServerHasRun": "yes"
        },
        "survey_client": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes"
        },
        "systemtags": {
            "installed_version": "1.21.1",
            "types": "logging",
            "enabled": "yes"
        },
        "text": {
            "installed_version": "5.0.0",
            "types": "dav",
            "enabled": "yes"
        },
        "theming": {
            "installed_version": "2.6.1",
            "types": "logging",
            "enabled": "yes"
        },
        "twofactor_backupcodes": {
            "installed_version": "1.20.0",
            "types": "",
            "enabled": "yes"
        },
        "twofactor_totp": {
            "installed_version": "13.0.0-dev.0",
            "types": "",
            "enabled": "yes"
        },
        "updatenotification": {
            "installed_version": "1.21.0",
            "types": "",
            "enabled": "yes",
            "calendar": "5.2.1",
            "update_check_errors": 0,
            "contacts": "7.0.5"
        },
        "user_status": {
            "installed_version": "1.11.0",
            "types": "",
            "enabled": "yes"
        },
        "viewer": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "weather_status": {
            "installed_version": "1.11.0",
            "types": "",
            "enabled": "yes"
        },
        "webhook_listeners": {
            "installed_version": "1.2.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "workflowengine": {
            "installed_version": "2.13.0",
            "types": "filesystem",
            "enabled": "yes"
        }
    }
}

Apps

The output of occ app:list (if possible).
Enabled:

  • activity: 4.0.0
  • app_api: 5.0.2
  • bruteforcesettings: 4.0.0
  • calendar: 5.2.1
  • circles: 31.0.0
  • cloud_federation_api: 1.14.0
  • comments: 1.21.0
  • contacts: 7.0.5
  • contactsinteraction: 1.12.0
  • dashboard: 7.11.0
  • dav: 1.33.0
  • federatedfilesharing: 1.21.0
  • federation: 1.21.0
  • files: 2.3.1
  • files_downloadlimit: 4.0.0
  • files_pdfviewer: 4.0.0
  • files_reminders: 1.4.0
  • files_sharing: 1.23.1
  • files_trashbin: 1.21.0
  • files_versions: 1.24.0
  • firstrunwizard: 4.0.0
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • nextcloud_announcements: 3.0.0
  • notes: 4.11.0
  • notifications: 4.0.0
  • oauth2: 1.19.1
  • password_policy: 3.0.0
  • photos: 4.0.0-dev.1
  • previewgenerator: 5.8.0
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • recommendations: 4.0.0
  • related_resources: 2.0.0
  • richdocuments: 8.6.4
  • richdocumentscode: 24.4.1302
  • serverinfo: 3.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • support: 3.0.0
  • survey_client: 3.0.0
  • systemtags: 1.21.1
  • text: 5.0.0
  • theming: 2.6.1
  • twofactor_backupcodes: 1.20.0
  • twofactor_totp: 13.0.0-dev.0
  • updatenotification: 1.21.0
  • user_status: 1.11.0
  • viewer: 4.0.0
  • weather_status: 1.11.0
  • webhook_listeners: 1.2.0
  • workflowengine: 2.13.0
    Disabled:
  • admin_audit: 1.21.0
  • encryption: 2.19.0
  • files_external: 1.23.0
  • suspicious_login: 9.0.1
  • twofactor_nextcloud_notification: 5.0.0
  • user_ldap: 1.22.0

Little update:
When i exec into my container:

docker exec -it nextcloud_app /bin/bash

And install ffmpeg here:

apt update && apt upgrade && apt install ffmpeg imagemagick ghostscript

The preview-generation is working properly. But as we know these changes inside the docker are not persistent. I mean i restarted the container, redeployed it via portainer and it is persistent until now but i guess an update will remove this changes.

Mounting the /usr/bin folder is also not what i want.
Creating an own nextcloud-image with installed ffmpeg is also not the best solution

So how can i can fix this problem? :slight_smile: