Missing preview thumbnails in Photo tab, Nextcloud 29

Nextcloud version (eg, 20.0.5): 29.0.0
Operating system and version (eg, Ubuntu 20.04): Debian 12
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.59 (Debian)
PHP version (eg, 7.4): PHP 8.2.18

The issue you are facing:

Is this the first time you’ve seen this error? Yes:

Steps to replicate it:

  1. go to the photo tab
  2. navigate tab
  3. we notice that some thumbnails are missing

The output of your Nextcloud log in Admin > Logging:

no error

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

    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.datanetwork.cloud",
            "www.nextcloud.datanetwork.cloud"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.0.19",
        "overwrite.cli.url": "https:\/\/nextcloud.datanetwork.cloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "FR",
        "htaccess.RewriteBase": "\/",
        "trashbin_retention_obligation": "auto, 30",
        "filelocking.enabled": "true",
        "knowledgebaseenabled": false,
        "activity_expire_days": 7,
        "skeletondirectory": "\/var\/www\/extra_nextcloud\/skeleton\/",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "0",
            "timeout": "0.0"
        },
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "default_language": "fr",
        "default_locale": "fr_FR",
        "updater.release.channel": "stable",
        "maintenance_window_start": 1,
        "maintenance": false,
        "enable_previews": true,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\BMP",
            "2": "OC\\Preview\\GIF",
            "3": "OC\\Preview\\JPEG",
            "4": "OC\\Preview\\Krita",
            "5": "OC\\Preview\\MarkDown",
            "6": "OC\\Preview\\MP3",
            "7": "OC\\Preview\\OpenDocument",
            "8": "OC\\Preview\\PNG",
            "9": "OC\\Preview\\TXT",
            "10": "OC\\Preview\\XBitmap",
            "11": "OC\\Preview\\Image",
            "12": "OC\\Preview\\HEIC",
            "13": "OC\\Preview\\TIFF",
            "14": "OC\\Preview\\Movie",
            "15": "OC\\Preview\\MP4",
            "16": "OC\\Preview\\PDF"
        },
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "preview_concurrency_all": 32,
        "preview_concurrency_new": 16,
        "preview_max_filesize_image": 200,
        "preview_max_memory": 2048,
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "theme": "",
        "defaultapp": "",
        "loglevel": 2,
        "updatechecker": true,
        "has_internet_connection": true,
        "app_install_overwrite": [
            "twofactor_email",
            "otpmanager",
            "socialsharing_facebook"

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

192.168.1.254 - Boubou [18/May/2024:10:49:41 +0200] "GET /ocs/v2.php/apps/spreed/api/v4/room/cmbbd9fo/participants?includeStatus=true HTTP/1.1" 200 1983 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - Boubou [18/May/2024:10:49:46 +0200] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 4266 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - Boubou [18/May/2024:10:49:46 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 4079 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - Boubou [18/May/2024:10:49:46 +0200] "PROPFIND /remote.php/dav/files/Boubou/ HTTP/1.1" 207 1173 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - - [18/May/2024:10:49:46 +0200] "GET /apps/photos/ HTTP/1.1" 200 22246 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/default.css?plain=1&v=697393da HTTP/1.1" 200 2022 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/dark.css?plain=1&v=697393da HTTP/1.1" 200 5736 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/dark-highcontrast.css?plain=0&v=697393da HTTP/1.1" 200 5847 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/light.css?plain=0&v=697393da HTTP/1.1" 200 5765 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/opendyslexic.css?plain=0&v=697393da HTTP/1.1" 200 1268 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/dark.css?plain=0&v=697393da HTTP/1.1" 200 5758 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/light-highcontrast.css?plain=0&v=697393da HTTP/1.1" 200 5818 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /js/core/merged-template-prepend.js?v=47b34515-366 HTTP/1.1" 304 970 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/light-highcontrast.css?plain=1&v=697393da HTTP/1.1" 200 2078 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/light.css?plain=1&v=697393da HTTP/1.1" 200 2022 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:47 +0200] "GET /apps/theming/theme/dark-highcontrast.css?plain=1&v=697393da HTTP/1.1" 200 2106 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:48 +0200] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Fphotos%2F HTTP/1.1" 200 1535 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:48 +0200] "POST /contactsmenu/contacts HTTP/1.1" 200 2643 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - Boubou [18/May/2024:10:49:18 +0200] "GET /ocs/v2.php/apps/spreed/api/v1/chat/cmbbd9fo?setReadMarker=0&lookIntoFuture=1&lastKnownMessageId=635&limit=100&includeLastKnown=0&markNotificationsAsRead=0 HTTP/1.1" 304 789 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - - [18/May/2024:10:49:48 +0200] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 1049 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:48 +0200] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 204 787 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:48 +0200] "GET /avatar/Boubou/64/dark?v=1 HTTP/1.1" 304 958 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:49 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1024 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:49 +0200] "SEARCH /remote.php/dav/ HTTP/1.1" 207 204053 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:49 +0200] "GET /apps/theming/manifest/photos?v=697393da HTTP/1.1" 200 1142 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:49 +0200] "GET /apps/theming/icon/photos?v=366 HTTP/1.1" 304 950 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:49 +0200] "SEARCH /remote.php/dav/ HTTP/1.1" 207 206134 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:49:51 +0200] "GET /index.php/apps/photos/service-worker.js HTTP/1.1" 200 6871 "https://nextcloud.datanetwork.cloud/index.php/apps/photos/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
127.0.0.1 - - [18/May/2024:10:49:54 +0200] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.59 (Debian) OpenSSL/3.0.11 (internal dummy connection)"
192.168.1.254 - Boubou [18/May/2024:10:49:26 +0200] "GET /ocs/v2.php/apps/spreed/api/v3/signaling/cmbbd9fo HTTP/1.1" 200 1263 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
127.0.0.1 - - [18/May/2024:10:49:56 +0200] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.59 (Debian) OpenSSL/3.0.11 (internal dummy connection)"
127.0.0.1 - - [18/May/2024:10:49:58 +0200] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.59 (Debian) OpenSSL/3.0.11 (internal dummy connection)"
192.168.1.254 - Boubou [18/May/2024:10:50:02 +0200] "PROPFIND /remote.php/dav/files/Boubou/ HTTP/1.1" 207 4389 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - reolink@XXXX.cloud [18/May/2024:10:50:08 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 4082 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - reolink@XXXX.cloud [18/May/2024:10:50:08 +0200] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 4253 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - - [18/May/2024:10:50:08 +0200] "GET /apps/files/api/v1/views HTTP/1.1" 200 4725 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:50:09 +0200] "GET /core/preview?fileId=1861402&x=1440&y=900&a=true&etag=e6de70f5d7062a774983bc6fb0d1ae37 HTTP/1.1" 200 154172 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:50:09 +0200] "GET /core/preview?fileId=1861395&x=1440&y=900&a=true&etag=caf0b9ca3b295c09fbf886d1d366f7e9 HTTP/1.1" 200 161033 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:50:09 +0200] "GET /remote.php/dav/files/Boubou/Photo%20de%20Boubou/Photo%20Famille%20et%20Amis/Photo%20famille/VID-20240306-WA0000.mp4 HTTP/1.1" 206 1099751 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:50:09 +0200] "GET /remote.php/dav/files/Boubou/Photo%20de%20Boubou/Photo%20Famille%20et%20Amis/Photo%20famille/VID-20240306-WA0000.mp4 HTTP/1.1" 206 1213848 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:50:09 +0200] "GET /remote.php/dav/files/Boubou/Photo%20de%20Boubou/Photo%20Famille%20et%20Amis/Photo%20famille/VID-20240306-WA0000.mp4 HTTP/1.1" 206 34529 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - - [18/May/2024:10:50:09 +0200] "GET /remote.php/dav/files/Boubou/Photo%20de%20Boubou/Photo%20Famille%20et%20Amis/Photo%20famille/VID-20240306-WA0000.mp4 HTTP/1.1" 206 3316411 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - reolink@XXXX.cloud [18/May/2024:10:50:09 +0200] "PROPFIND /remote.php/dav/files/reolink@XXXX.cloud/ HTTP/1.1" 207 1187 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
192.168.1.254 - Boubou [18/May/2024:10:50:09 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 1372 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - Boubou [18/May/2024:10:50:09 +0200] "GET /ocs/v2.php/apps/spreed/api/v4/room?includeStatus=true HTTP/1.1" 200 2427 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - Boubou [18/May/2024:10:50:11 +0200] "GET /ocs/v2.php/apps/spreed/api/v4/room/cmbbd9fo/participants?includeStatus=true HTTP/1.1" 200 1472 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - Boubou [18/May/2024:10:50:15 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 1372 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - Boubou [18/May/2024:10:50:15 +0200] "GET /ocs/v2.php/apps/spreed/api/v4/room?modifiedSince=1716022155&includeStatus=true HTTP/1.1" 200 2187 "-" "Mozilla/5.0 (Windows) Nextcloud-Talk v0.29.0"
192.168.1.254 - - [18/May/2024:10:50:16 +0200] "GET /apps/viewer/img/blank.mp4 HTTP/1.1" 304 4236 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
192.168.1.254 - Boubou [18/May/2024:10:50:16 +0200] "PROPFIND /remote.php/dav/files/Boubou/ HTTP/1.1" 207 4389 "-" "Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)"

I don't use nginx

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

No error

Hi
since the Nextcloud 28.0.5 update to Nextcloud 29.0.0, thumbnails are missing in the Photo application when you navigate in it, with the old version I did not have this problem. The image is still displayed if we click on it

Thanks for your help

in the file tab the thumbnails are displayed, do you think this is a bug in the Photo application?

I have exactly the same issue. There are other similar bug reports relating to new addition of being able to add more than one Photos directory, but I don’t see how that allows me to fix this particular issue.

1 Like

hi the problem still exists with Nextcloud version 29.0.1

1 Like

Have exactly the same issue. problem started with 29.0.0.

2 Likes

Same Problem here. I’ve skipped 29.0.0 and updated from 28.0.6. to 29.0.1.

1 Like

update 29.0.2 and still the same problem

Also updated to 29.0.2 an still the same issue.
I do use nginx, but understood Cisco30 doesn’t. So I think the server can be ruled out.

yes the Apache or Nginx server can be excluded because with version 28.0.5 everything works

Can you check your browser inspector/console when you load that page?

The Console and Network tabs may both have clues.

I use the Nextcloud snap and had the same problem when my install upgraded to 29.

I spent hours trying to fix it, thinking it was a possible permissions issue.

I eventually did a few things at the same time which fixed it for me, I’m not sure if all actions are required, it was 3am at the time and I was very tired.

I made a new user and made him admin (in particular, none of this may be needed, but may be useful for testing) and then went to Admin - Recognise - Enable WASM mode (I’ve never previously needed this).

I then went to Admin - Memories and under File Support I enabled Images, HEIC, TIFF and Videos.

Everything started to work then, after logging out and back in.

Looking at it now, Nextcloud has updated again and Tensor Flow has re-enabled itself and I have a few errors there which can be fixed, but my icons and images are still displaying correctly.

this is what i get:

Hi
Problem still present
Nextcloud Hub 8 (29.0.3)

https://github.com/nextcloud/server/issues/46052

Problem solved with Nextcloud Hub 8 (29.0.4 RC1)
thanks to the Nextcloud team :wink:

Indeed.
It workds again with 29.0.4.

Thank you!

1 Like

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