Nextcloud Thumbnails are broken (Black white)

Hi,

since the 15.02. our nextcloud dont show good thumbnails.
Memories:

Photos:

On my Windows Client some images looks identical, some are ok

I disabled some apps, cleared the cache and previews, nothing helped.

Nextcloud AIO 28.0.2
System: Debian 12
No full Disks (58% free), no full Ram (20gb free)

Any idea?

Thanks

Is there a difference if you save the JPEGs in CMYK or RGB?

All are sRGB.


Today i tested the images on my Laptop and on the Laptop i have normal thumbnails on all new and old Photos. In the Cloud and my PC are the Photos are broken. Yesterday i saw too, that Screenshots on my pc make the same after upload in the cloud.

I have no idea, why this happen. The last App, we installed in the Cloud is gpoddersync. Before we didnt install an App for month.

Here is my Systemfile

## Server configuration detail

**Operating system:** Linux 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64

**Webserver:** Apache/2.4.58 (Unix) (fpm-fcgi)

**Database:** pgsql PostgreSQL 15.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit

**PHP version:** 8.1.27

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, gd, gmp, imagick, imap, intl, ldap, memcached, pcntl, pdo_pgsql, pgsql, redis, smbclient, sodium, sysvsem, zip, libsmbclient, Zend OPcache

**Nextcloud version:** 28.0.2 - 28.0.2.5

**Updated from an older Nextcloud/ownCloud or fresh install:** 

**Where did you install Nextcloud from:** unknown

<details><summary>Signing status</summary>

[]
</details>

<details><summary>List of activated apps</summary>


Enabled:
 - activity: 2.20.0
 - admin_audit: 1.18.0
 - bruteforcesettings: 2.8.0
 - calendar: 4.6.5
 - circles: 28.0.0-dev
 - cloud_federation_api: 1.11.0
 - comments: 1.18.0
 - contacts: 5.5.2
 - contactsinteraction: 1.9.0
 - cookbook: 0.11.0
 - dashboard: 7.8.0
 - data_request: 1.15.0
 - dav: 1.29.1
 - drawio: 3.0.2
 - external: 5.3.1
 - federatedfilesharing: 1.18.0
 - federation: 1.18.0
 - files: 2.0.0
 - files_accesscontrol: 1.18.0
 - files_antivirus: 5.4.2
 - files_archive: 1.1.3
 - files_automatedtagging: 1.18.0
 - files_external: 1.20.0
 - files_fulltextsearch: 28.0.0
 - files_markdown: 2.4.1
 - files_pdfviewer: 2.9.0
 - files_reminders: 1.1.0
 - files_sharing: 1.20.0
 - files_trashbin: 1.18.0
 - files_versions: 1.21.0
 - forms: 4.1.1
 - fulltextsearch: 28.0.0
 - fulltextsearch_elasticsearch: 28.0.0
 - gpoddersync: 3.8.3
 - integration_github: 2.0.6
 - integration_mastodon: 2.0.3
 - logreader: 2.13.0
 - lookup_server_connector: 1.16.0
 - mail: 3.5.6
 - maps: 1.3.1
 - memories: 6.2.2
 - music: 1.10.0
 - news: 25.0.0-alpha3
 - nextcloud-aio: 0.4.0
 - nextcloud_announcements: 1.17.0
 - notifications: 2.16.0
 - notify_push: 0.6.9
 - oauth2: 1.16.3
 - password_policy: 1.18.0
 - phonetrack: 0.7.7
 - photos: 2.4.0
 - polls: 6.1.1
 - previewgenerator: 5.4.0
 - privacy: 1.12.0
 - provisioning_api: 1.18.0
 - quota_warning: 1.18.0
 - recommendations: 2.0.0
 - related_resources: 1.3.0
 - richdocuments: 8.3.1
 - serverinfo: 1.18.0
 - settings: 1.10.1
 - sharebymail: 1.18.0
 - support: 1.11.0
 - survey_client: 1.16.0
 - suspicious_login: 6.0.0
 - systemtags: 1.18.0
 - tasks: 0.15.0
 - text: 3.9.1
 - theming: 2.3.0
 - twofactor_backupcodes: 1.17.0
 - twofactor_totp: 10.0.0-beta.2
 - twofactor_webauthn: 1.3.2
 - updatenotification: 1.18.0
 - user_ldap: 1.19.0
 - user_status: 1.8.1
 - viewer: 2.2.0
 - weather_status: 1.8.0
 - workflow_pdf_converter: 1.13.0
 - workflowengine: 2.10.0
Disabled:
 - encryption: 2.16.0
 - firstrunwizard: 2.17.0


</details>

<details><summary>Configuration (config/config.php)</summary>


{
    "one-click-instance": true,
    "one-click-instance.user-limit": 100,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "check_data_directory_permissions": false,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "password": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "overwritehost": "***REMOVED SENSITIVE VALUE***",
    "overwriteprotocol": "https",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "***REMOVED SENSITIVE VALUE***"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "pgsql",
    "version": "28.0.2.5",
    "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "maintenance_window_start": 1,
    "loglevel": "2",
    "log_type": "file",
    "logfile": "\/var\/www\/html\/data\/nextcloud.log",
    "log_rotate_size": "10485760",
    "log.condition": {
        "apps": [
            "admin_audit"
        ]
    },
    "preview_max_x": "2048",
    "preview_max_y": "2048",
    "jpeg_quality": "60",
    "enabledPreviewProviders": {
        "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",
        "0": "OC\\Preview\\Imaginary"
    },
    "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": "\/Z-Share",
    "skeletondirectory": "",
    "lost_password_link": "https:\/\/***REMOVED SENSITIVE VALUE***",
    "default_phone_region": "DE",
    "default_language": "de",
    "default_locale": "de_DE",
    "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",
    "htaccess.RewriteBase": "\/",
    "files_external_allow_create_new_local": true,
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "allow_local_remote_servers": true,
    "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
    "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "twofactor_enforced": "true",
    "twofactor_enforced_groups": [],
    "twofactor_enforced_excluded_groups": [
        "admin"
    ],
    "davstorage.request_timeout": 3600,
    "dbpersistent": false,
    "app_install_overwrite": [
        "mindmap_app",
        "nextcloud-aio",
        "files_rightclick",
        "polls",
        "richdocuments",
        "music",
        "memories",
        "files_markdown",
        "maps",
        "fulltextsearch_elasticsearch",
        "drawio",
        "data_request",
        "workflow_pdf_converter",
        "files_archive"
    ],
    "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-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",
    "appsallowlist": [],
    "updater.release.channel": "stable"
}

</details>

**Cron Configuration:** Array
(
    [backgroundjobs_mode] => cron
    [lastcron] => 1708410108
)


**External storages:** yes

<details><summary>External storage configuration</summary>


No mounts configured

</details>

**Encryption:** no

**User-backends:** 
 * OC\User\Database
 * OCA\User_LDAP\User_Proxy


<details><summary>LDAP configuration</summary>


+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration                 | s01                                                                                                                                                                                                                                                                                                                                                                                                               |
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                                                                                                                                                                                                                                                                                                                                 |
| homeFolderNamingRule          |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| lastJpegPhotoLookup           | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapAdminGroup                |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAgentName                 | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                            |
| ldapAgentPassword             | ***                                                                                                                                                                                                                                                                                                                                                                                                               |
| ldapAttributeAddress          |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeBiography        |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeFediverse        |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeHeadline         |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeOrganisation     |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributePhone            |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeRole             |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeTwitter          |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributeWebsite          |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributesForGroupSearch  |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapAttributesForUserSearch   | uid;givenName;sn;employeeNumber;mailPrimaryAddress                                                                                                                                                                                                                                                                                                                                                                |
| ldapBackgroundHost            |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapBackgroundPort            |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapBackupHost                | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                               |
| ldapBackupPort                | 7389                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapBase                      | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapBaseGroups                | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapBaseUsers                 | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapCacheTTL                  | 600                                                                                                                                                                                                                                                                                                                                                                                                               |
| ldapConfigurationActive       | 1                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapConnectionTimeout         | 15                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapDefaultPPolicyDN          |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapDynamicGroupMemberURL     |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapEmailAttribute            | mailPrimaryAddress                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapExperiencedAdmin          | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapExpertUUIDGroupAttr       |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapExpertUUIDUserAttr        |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapExpertUsernameAttr        | uid                                                                                                                                                                                                                                                                                                                                                                                                               |
| ldapExtStorageHomeAttribute   |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapGidNumber                 | gidNumber                                                                                                                                                                                                                                                                                                                                                                                                         |
| ldapGroupDisplayName          | cn                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapGroupFilter               | ***REMOVED SENSITIVE VALUE***
| ldapGroupFilterGroups         | ***REMOVED SENSITIVE VALUE***                                                                                     |
| ldapGroupFilterMode           | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapGroupFilterObjectclass    |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapGroupMemberAssocAttr      | uniqueMember                                                                                                                                                                                                                                                                                                                                                                                                      |
| ldapHost                      | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapIgnoreNamingRules         |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapLoginFilter               | (&(&(|(objectclass=person))(|(memberof=***REMOVED SENSITIVE VALUE***)))(uid=%uid))                                                                                                                                                                                                                                                                                                                 |
| ldapLoginFilterAttributes     |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapLoginFilterEmail          | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapLoginFilterMode           | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapLoginFilterUsername       | 1                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapMatchingRuleInChainState  | unavailable                                                                                                                                                                                                                                                                                                                                                                                                       |
| ldapNestedGroups              | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapOverrideMainServer        |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapPagingSize                | 500                                                                                                                                                                                                                                                                                                                                                                                                               |
| ldapPort                      | 7389                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapQuotaAttribute            |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapQuotaDefault              |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapTLS                       | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapUserAvatarRule            | default                                                                                                                                                                                                                                                                                                                                                                                                           |
| ldapUserDisplayName           | displayname                                                                                                                                                                                                                                                                                                                                                                                                       |
| ldapUserDisplayName2          |                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapUserFilter                | (&(|(objectclass=person))(|(memberof=***REMOVED SENSITIVE VALUE***)))                                                                                                                                                                                                                                                                                                                              |
| ldapUserFilterGroups          | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapUserFilterMode            | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ldapUserFilterObjectclass     | person                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapUuidGroupAttribute        | auto                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapUuidUserAttribute         | auto                                                                                                                                                                                                                                                                                                                                                                                                              |
| markRemnantsAsDisabled        | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| turnOffCertCheck              | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| turnOnPasswordChange          | 0                                                                                                                                                                                                                                                                                                                                                                                                                 |
| useMemberOfToDetectMembership | 1                                                                                                                                                                                                                                                                                                                                                                                                                 |
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+


</details>

**Browser:** Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36


Hi, this is tracked here: New preview images / thumbs (of large photos) are black & white only · Issue #4239 · nextcloud/all-in-one · GitHub

2 Likes