Skip to content

[Bug]: HEIC file previews not showing or generating after update to 34.0.5 #2613

Closed

Description

@invario

⚠️ This issue respects the following points: ⚠️

  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.

Bug description

Updated from 34.0.4 to 34.0.5 last night and all my HEIC previews are refusing to show. These were existing previews that were already pre-generated. New ones don't generate either.

Steps to reproduce

  1. Open NC and look at HEIC images in any app that uses previews (Files, Photos, Memories, etc.)
  2. Observe that preview is gone/missing.

Expected behavior

Previews should (and were) showing

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.5

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "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,
        "defaultapp": "memories",
        "loglevel": 2,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_REAL_IP",
            "HTTP_X_FORWARDED_FOR"
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "filelocking.enabled": true,
        "trusted_domains": [
            "localhost",
            "127.0.0.1",
            "nextcloud.REDACTED.com"
        ],
        "default_locale": "en_US",
        "default_phone_region": "US",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\HEIC",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\Movie",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\PNG",
            "OC\\Preview\\Image",
            "OC\\Preview\\TIFF"
        ],
        "cropimagepreviews": "0",
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "logtimezone": "America\/New_York",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "version": "34.0.5.1",
        "updater.release.channel": "stable",
        "overwrite.cli.url": "https:\/\/nextcloud.REDACTED.com",
        "overwritehost": "nextcloud.REDACTED.com",
        "overwriteprotocol": "https",
        "dbtype": "mysql",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "maintenance": false,
        "trashbin_retention_obligation": "30,31",
        "theme": "",
        "app_install_overwrite": [
            "customproperties"
        ],
        "data-fingerprint": "cf5cf1b31d5af06404c30a5805d00eda",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 8,
        "files.chunked_upload.max_size": 0,
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/eperl-amd64-musl",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.gis_type": 1,
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": false,
                "verify_peer": true,
                "verify_peer_name": true
            }
        },
        "memories.video_default_quality": "-2",
        "memories.vod.connect": [
            "go-vod:47788"
        ],
        "memories.vod.bind": "",
        "memories.vod.external": true
    },
    "apps": {
        "activity": {
            "enable_email": "no",
            "enabled": "yes",
            "installed_version": "7.0.0",
            "notify_email_calendar": "0",
            "notify_email_calendar_event": "0",
            "notify_email_calendar_todo": "0",
            "notify_email_favorite": "0",
            "notify_email_file_changed": "0",
            "notify_email_file_favorite_changed": "0",
            "notify_email_public_links": "0",
            "notify_email_remote_share": "0",
            "notify_email_shared": "0",
            "notify_notification_calendar": "0",
            "notify_notification_calendar_event": "0",
            "notify_notification_calendar_todo": "0",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_notification_file_favorite_changed": "0",
            "notify_notification_group_settings": "1",
            "notify_notification_personal_settings": "1",
            "notify_notification_public_links": "0",
            "notify_notification_remote_share": "0",
            "notify_notification_security": "1",
            "notify_notification_shared": "0",
            "notify_notification_twofactor_totp": "1",
            "notify_setting_batchtime": "3600",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.24.0",
            "types": "logging"
        },
        "app_api": {
            "enabled": "no",
            "installed_version": "4.0.0",
            "types": ""
        },
        "appstore": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "14905"
        },
        "bruteforcesettings": {
            "apply_allowlist_to_ratelimit": "1",
            "enabled": "yes",
            "installed_version": "7.0.0",
            "types": ""
        },
        "circles": {
            "enabled": "no",
            "installed_version": "22.1.1",
            "loopback_tmp_scheme": "http",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "no",
            "installed_version": "1.10.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "emailTestSuccessful": "1",
            "files_metadata_installed": "1",
            "installedat": "1610199364.6647",
            "lastcron": 1792673400,
            "lastupdateResult": "{\"version\":\"35.0.2.2\",\"versionstring\":\"Nextcloud 35.0.2\",\"url\":\"https:\\\/\\\/download.nextcloud.com\\\/server\\\/releases\\\/nextcloud-35.0.2.zip\",\"web\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/35\\\/admin_manual\\\/maintenance\\\/upgrade.html\",\"changes\":\"https:\\\/\\\/updates.nextcloud.com\\\/changelog_server\\\/?version=35.0.2\",\"autoupdater\":\"1\",\"eol\":\"0\"}",
            "lastupdatedat": 1792672779,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "newUser.sendEmail": "no",
            "previewMovedDone": true,
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "shareapi_allow_group_sharing": "no",
            "shareapi_allow_public_upload": "no",
            "shareapi_allow_resharing": "no",
            "shareapi_default_expire_date": true,
            "shareapi_default_internal_expire_date": "yes",
            "shareapi_default_permission_cancreate": "no",
            "shareapi_default_permission_candelete": "no",
            "shareapi_default_permission_canshare": "no",
            "shareapi_default_permission_canupdate": "no",
            "shareapi_default_permissions": "1",
            "shareapi_default_remote_expire_date": "no",
            "shareapi_enabled": "yes",
            "shareapi_enforce_expire_date": false,
            "shareapi_enforce_internal_expire_date": "no",
            "shareapi_enforce_remote_expire_date": "no",
            "shareapi_expire_after_n_days": "30",
            "shareapi_internal_expire_after_n_days": "30",
            "theming.variables": "d41d8cd98f00b204e9800998ecf8427e",
            "vendor": "nextcloud",
            "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
                },
                "photos-place": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "files-live-photo": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 2
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "72c812e0760866e0c89e45fea9cdbd28",
                    "indexed": false,
                    "editPermission": 0
                }
            },
            "oc.integritycheck.checker": [],
            "share_repair_removed_trailing_slashes": true
        },
        "customproperties": {
            "enabled": "no",
            "installed_version": "2.0.4",
            "types": ""
        },
        "dashboard": {
            "enabled": "no",
            "installed_version": "7.0.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "checked_for_classified_activity": true,
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.40.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "duplicatefinder": {
            "enabled": "no",
            "ignore_mounted_files": "true",
            "installed_version": "1.8.1",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.24.0",
            "types": ""
        },
        "federation": {
            "enabled": "no",
            "installed_version": "1.10.1",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "2.6.0",
            "mimetype_version": "33.0.2.2",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "no",
            "installed_version": "3.0.0",
            "types": ""
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.26.0",
            "types": "filesystem",
            "allow_user_mounting": false,
            "user_mounting_backends": "dav,owncloud,sftp,amazons3,swift,smb,\\OC\\Files\\Storage\\SFTP_Key,\\OC\\Files\\Storage\\SMB_OC"
        },
        "files_lock": {
            "enabled": "yes",
            "installed_version": "34.0.1",
            "types": "filesystem,dav"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "7.0.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "incoming_server2server_share_enabled": "no",
            "installed_version": "1.26.0",
            "lookupServerEnabled": "no",
            "lookupServerUploadEnabled": "no",
            "outgoing_server2server_share_enabled": "no",
            "types": "filesystem"
        },
        "files_trashbin": {
            "background_job_expire_trash_offset": 0,
            "enabled": "yes",
            "installed_version": "1.24.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "no",
            "installed_version": "1.13.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.13.0",
            "types": "logging"
        },
        "integration_google": {
            "enabled": "no",
            "installed_version": "2.0.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "7.0.0",
            "shownLevels": "[0,1,2,3,4]",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "authentication"
        },
        "memories": {
            "enabled": "yes",
            "installed_version": "10.1.0",
            "last_index_job_duration": "1.35",
            "last_index_job_start": "1792672500",
            "last_index_job_status": "Indexing completed successfully",
            "last_index_job_status_type": "success",
            "types": ""
        },
        "metadata": {
            "enabled": "no",
            "installed_version": "0.24.0",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "7.0.0-dev.1",
            "types": "logging",
            "webpush_vapid_privkey": "***REMOVED SENSITIVE VALUE***",
            "webpush_vapid_pubkey": "BID5FXnByGFUfM6gn_2MGpF4UWjer5ecNwVYxhlKM8uQlAYB772uGMoMQKIAtxV_29n4i2wy6vk0t0XcA9dvHAg"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "authentication"
        },
        "office": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "6.0.0-dev.0",
            "minLength": "8",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "7.0.0",
            "lastPlaceMappedUser": "winghongtam",
            "lastPlaceMappingDone": "true",
            "types": "authentication,dav"
        },
        "preview": {
            "jpeg_quality": "60",
            "webp_quality": "80"
        },
        "previewgenerator": {
            "coverWidthHeightSizes": "256",
            "enabled": "yes",
            "fillWidthHeightSizes": "256 4096",
            "heightSizes": "",
            "installed_version": "5.15.0",
            "job_disabled": true,
            "squareSizes": "64 256",
            "types": "filesystem",
            "widthSizes": ""
        },
        "privacy": {
            "enabled": "yes",
            "fullDiskEncryptionEnabled": "0",
            "installed_version": "6.0.0-dev.1",
            "types": ""
        },
        "profile": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.24.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "types": ""
        },
        "richdocuments": {
            "enabled": "no",
            "installed_version": "7.0.2",
            "types": "prevent_group_restriction"
        },
        "serverinfo": {
            "cached_count_appdata_files": 723,
            "cached_count_filecache": 268165,
            "cached_count_storages": 107,
            "enabled": "yes",
            "installed_version": "6.0.0",
            "size_appdata_storage": 80379062,
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "profile_enabled_by_default": "0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.24.0",
            "types": "filesystem"
        },
        "support": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "6.0.0-dev.0",
            "last_sent": 1791005702,
            "types": "",
            "last_report": "{\"id\":\"oc99n3wt6j8b\",\"items\":[[\"server\",\"version\",\"34.0.4.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"8.5.10\"],[\"php\",\"memory_limit\",1073741824],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",17179869184],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"11.8.8\"],[\"database\",\"size\",1739243520],[\"apps\",\"activity\",\"7.0.0\"],[\"apps\",\"admin_audit\",\"1.24.0\"],[\"apps\",\"app_api\",\"disabled\"],[\"apps\",\"appstore\",\"1.0.0\"],[\"apps\",\"bruteforcesettings\",\"7.0.0\"],[\"apps\",\"circles\",\"disabled\"],[\"apps\",\"cloud_federation_api\",\"1.18.0\"],[\"apps\",\"comments\",\"disabled\"],[\"apps\",\"contactsinteraction\",\"disabled\"],[\"apps\",\"customproperties\",\"disabled\"],[\"apps\",\"dashboard\",\"disabled\"],[\"apps\",\"dav\",\"1.40.0\"],[\"apps\",\"duplicatefinder\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.24.0\"],[\"apps\",\"federation\",\"disabled\"],[\"apps\",\"files\",\"2.6.0\"],[\"apps\",\"files_downloadlimit\",\"disabled\"],[\"apps\",\"files_external\",\"1.26.0\"],[\"apps\",\"files_lock\",\"34.0.1\"],[\"apps\",\"files_pdfviewer\",\"7.0.0\"],[\"apps\",\"files_reminders\",\"1.7.0\"],[\"apps\",\"files_rightclick\",\"disabled\"],[\"apps\",\"files_sharing\",\"1.26.0\"],[\"apps\",\"files_trashbin\",\"1.24.0\"],[\"apps\",\"files_versions\",\"disabled\"],[\"apps\",\"firstrunwizard\",\"disabled\"],[\"apps\",\"integration_google\",\"disabled\"],[\"apps\",\"logreader\",\"7.0.0\"],[\"apps\",\"lookup_server_connector\",\"1.22.0\"],[\"apps\",\"memories\",\"9.0.1\"],[\"apps\",\"metadata\",\"disabled\"],[\"apps\",\"nextcloud_announcements\",\"disabled\"],[\"apps\",\"notifications\",\"7.0.0-dev.1\"],[\"apps\",\"oauth2\",\"1.22.0\"],[\"apps\",\"office\",\"1.0.0\"],[\"apps\",\"password_policy\",\"6.0.0-dev.0\"],[\"apps\",\"photos\",\"7.0.0\"],[\"apps\",\"previewgenerator\",\"5.15.0\"],[\"apps\",\"privacy\",\"6.0.0-dev.1\"],[\"apps\",\"profile\",\"1.3.0\"],[\"apps\",\"provisioning_api\",\"1.24.0\"],[\"apps\",\"recommendations\",\"disabled\"],[\"apps\",\"related_resources\",\"disabled\"],[\"apps\",\"richdocuments\",\"disabled\"],[\"apps\",\"serverinfo\",\"6.0.0\"],[\"apps\",\"settings\",\"1.17.0\"],[\"apps\",\"sharebymail\",\"1.24.0\"],[\"apps\",\"support\",\"disabled\"],[\"apps\",\"survey_client\",\"6.0.0-dev.0\"],[\"apps\",\"suspicious_login\",\"disabled\"],[\"apps\",\"systemtags\",\"disabled\"],[\"apps\",\"text\",\"disabled\"],[\"apps\",\"theming\",\"disabled\"],[\"apps\",\"twofactor_admin\",\"disabled\"],[\"apps\",\"twofactor_backupcodes\",\"1.23.0\"],[\"apps\",\"twofactor_totp\",\"16.0.0\"],[\"apps\",\"updatenotification\",\"1.24.0\"],[\"apps\",\"user_status\",\"disabled\"],[\"apps\",\"video_converter\",\"disabled\"],[\"apps\",\"viewer\",\"7.0.0-dev.0\"],[\"apps\",\"weather_status\",\"disabled\"],[\"apps\",\"webhook_listeners\",\"disabled\"],[\"apps\",\"workflowengine\",\"2.16.0\"],[\"stats\",\"num_files\",268007],[\"stats\",\"num_users\",7],[\"stats\",\"num_storages\",107],[\"stats\",\"num_storages_local\",3],[\"stats\",\"num_storages_home\",7],[\"stats\",\"num_storages_other\",97],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",2],[\"files_sharing\",\"num_shares_user\",2],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",0],[\"files_sharing\",\"num_shares_link_no_password\",0],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_0_31\",2],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}"
        },
        "suspicious_login": {
            "enabled": "no",
            "installed_version": "4.3.0",
            "types": "authentication"
        },
        "systemtags": {
            "enabled": "no",
            "installed_version": "1.10.0",
            "types": "logging"
        },
        "text": {
            "enabled": "no",
            "installed_version": "3.5.1",
            "types": "dav"
        },
        "theming": {
            "enabled": "no",
            "installed_version": "2.9.0",
            "types": "logging"
        },
        "twofactor_admin": {
            "enabled": "no",
            "installed_version": "4.12.0",
            "types": ""
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "16.0.0",
            "types": ""
        },
        "updatenotification": {
            "core": "35.0.2.2",
            "duplicatefinder": "1.6.1",
            "enabled": "yes",
            "installed_version": "1.24.0",
            "memories": "10.0.1",
            "metadata": "0.23.0",
            "previewgenerator": "5.15.0",
            "related_resources": "1.0.4",
            "twofactor_admin": "4.8.0",
            "twofactor_totp": "6.4.1",
            "types": "",
            "update_check_errors": 0,
            "video_converter": "1.0.4"
        },
        "user_status": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "types": ""
        },
        "video_converter": {
            "enabled": "no",
            "installed_version": "1.0.5",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "7.0.0-dev.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": ""
        },
        "webhook_listeners": {
            "enabled": "no",
            "installed_version": "1.1.0-dev",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.16.0",
            "types": "filesystem"
        }
    }
}

List of activated Apps

Enabled:
  - activity: 7.0.0
  - admin_audit: 1.24.0
  - appstore: 1.0.0
  - bruteforcesettings: 7.0.0
  - cloud_federation_api: 1.18.0
  - dav: 1.40.0
  - federatedfilesharing: 1.24.0
  - files: 2.6.0
  - files_external: 1.26.0
  - files_lock: 34.0.1
  - files_pdfviewer: 7.0.0
  - files_reminders: 1.7.0
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - memories: 10.1.0
  - notifications: 7.0.0-dev.1
  - oauth2: 1.22.0
  - office: 1.0.0
  - password_policy: 6.0.0-dev.0
  - photos: 7.0.0
  - previewgenerator: 5.15.0
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - provisioning_api: 1.24.0
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - survey_client: 6.0.0-dev.0
  - theming: 2.9.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_totp: 16.0.0
  - updatenotification: 1.24.0
  - viewer: 7.0.0-dev.0
  - workflowengine: 2.16.0
Disabled:
  - app_api: 34.0.0 (installed 4.0.0)
  - circles: 34.0.0 (installed 22.1.1)
  - comments: 1.24.0 (installed 1.10.0)
  - contactsinteraction: 1.15.0 (installed 1.1.0)
  - dashboard: 7.14.0 (installed 7.0.0)
  - duplicatefinder: 1.8.1 (installed 1.8.1)
  - encryption: 2.22.0
  - federation: 1.24.0 (installed 1.10.1)
  - files_downloadlimit: 5.2.0 (installed 3.0.0)
  - files_versions: 1.27.0 (installed 1.13.0)
  - firstrunwizard: 7.0.0-dev.0 (installed 2.13.0)
  - metadata: 0.24.0 (installed 0.24.0)
  - nextcloud_announcements: 6.0.0 (installed 1.9.0)
  - recommendations: 7.0.0 (installed 1.3.0)
  - related_resources: 5.0.0-dev.0 (installed 1.3.0)
  - support: 6.0.0 (installed 1.3.0)
  - suspicious_login: 12.0.0-dev.0 (installed 4.3.0)
  - systemtags: 1.24.0 (installed 1.10.0)
  - text: 8.0.0 (installed 3.5.1)
  - twofactor_admin: 4.12.0 (installed 4.12.0)
  - twofactor_nextcloud_notification: 8.0.0
  - user_ldap: 1.25.0
  - user_status: 1.14.0 (installed 1.0.1)
  - weather_status: 1.14.0 (installed 1.0.0)
  - webhook_listeners: 1.6.0 (installed 1.1.0-dev)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

NO logs are generated at all, even at `loglevel=>0`

Additional info

I tried manually generating a preview occ preview:generate path/to/file/filename.heic and it returns No preview generator available for file of typeimage/heic

But even this command does not generate a log entry, which is making troubleshooting a bit difficult.

Activity

  1. added theissue type on Oct 22, 2026
  2. invario commented on Oct 22, 2026

    @invario
    Author

    Okay, this is a problem from maybe... upstream? Important output from php -i

    imagick module => enabled
    imagick module version => 3.8.1
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 7.1.2-34 Q16-HDRI x86_64 24891 https://imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 7.1.2-34 Q16-HDRI x86_64 24891 https://imagemagick.org
    ImageMagick copyright => (C) 1999 ImageMagick Studio LLC
    ImageMagick release date => 2026-10-15
    ImageMagick number of supported formats:  => 268
    ImageMagick supported formats => 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASE, ASEPRITE, ASHLAR, AVI, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, B
    MP, BMP2, BMP3, BRF, C2PA, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, D
    CX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FARBFELD, FAX, FF, FFF, FILE, FITS
    , FL32, FLV, FRACTAL, FTP, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HT
    TPS, ICB, ICN, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, JXL,
    K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MDC, MEF, MIFF, MKV, MNG, MONO, MOS, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL
    , MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, P
    ES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, P
    S2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, RWL, SCR, SCT, S
    F3, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, SRW, STEGANO, STI, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TIL
    E, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBINFO, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC,
    XCF, XPM, XPS, XV, XWD, YAML, YCBCR, YCBCRA, YUV
    

    HEIC and HEIF are missing.

    I spun up a clean container using the image that my docker compose uses, just in case it was something in my setup:

    docker run -it nextcloud:34.0.5-fpm-alpine sh

    php -i returns this:

    imagick
    
    imagick module => enabled
    imagick module version => 3.8.1
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 7.1.2-34 Q16-HDRI x86_64 24891 https://imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 7.1.2-34 Q16-HDRI x86_64 24891 https://imagemagick.org
    ImageMagick copyright => (C) 1999 ImageMagick Studio LLC
    ImageMagick release date => 2026-10-15
    ImageMagick number of supported formats:  => 267
    ImageMagick supported formats => 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASE, ASEPRITE, ASHLAR, AVI, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, BMP, BMP2, BMP
    3, BRF, C2PA, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT,
    DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FARBFELD, FAX, FF, FFF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G
    3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICN, ICO, ICON, IIQ, INFO, INLINE, IPL, IS
    OBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MDC, ME
    F, MIFF, MKV, MNG, MONO, MOS, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTER
    N, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG
    48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RM
    F, RSVG, RW2, RWL, SCR, SCT, SF3, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, SRW, STEGANO, STI, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL,
    TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBINFO, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM,
    XC, XCF, XPM, XPS, XV, XWD, YAML, YCBCR, YCBCRA, YUV
    

    Missing.

    Compare to the Debian image:
    docker run -it nextcloud:34.0.5 sh

    imagick
    
    imagick module => enabled
    imagick module version => 3.8.1
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 7.1.1-43 Q16 x86_64 22550 https://imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 7.1.1-43 Q16 x86_64 22550 https://imagemagick.org
    ImageMagick copyright => (C) 1999 ImageMagick Studio LLC
    ImageMagick release date => 2026-07-21
    ImageMagick number of supported formats:  => 271
    ImageMagick supported formats => 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVCI, AVI, AVIF, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, BIE, BMP, BMP2, B
    MP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DJVU, DNG, DOT
    , DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FFF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS,
    FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, I
    NLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP,
    MASK, MAT, MATTE, MDC, MEF, MIFF, MKV, MNG, MONO, MOS, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL,
     PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG,
     PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA
    , RGBO, RGF, RLA, RLE, RMF, RW2, RWL, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, SRW, STEGANO, STI, STRIMG, SUN, SVG, SVGZ, TEXT, TG
    A, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WP
    G, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCBCR, YCBCRA, YUV
    

    Present.

    So it seems something has changed in the module. Upstream issue? I guess someone please move this to the Docker repo?

  3. invario commented on Oct 22, 2026

    @invario
    Author

    Okay, it appears this is the problem:
    #2604

    Intentionally removed.

  4. salmart-dev commented on Oct 27, 2026

    @salmart-dev

    Hello @invario,

    thanks for the report. As you guessed, the removal was intentional due to an issue with a preview provider. An enhancement issue about this has already been opened nextcloud/server#58393, feel free to upvote it or, if you are comfortable or willing to contribute, open a PR to address it.

    Thanks for using Nextcloud!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions