Upgrade 26.0.1 : Regression with php 8.2 in photos/pictures display

Since the upgrade in 26.0.1 “photo/media” tabs does not display anything

nextcloud-issue

Nextcloud version : 26.0.1
Operating system and version FreeBSD13
Apache or nginx version nginx 1.22.1
PHP version : 8.2

Problem noticed just after the update to 26.0.1.

The problem was not present in 26.0.0 or even 25.x, I was able to run perfectly nextcloud on 25 even with php8.2.

First time I have this behavior

{"reqId":"EJ3EgP3VpWAwmfmxoqDg","level":3,"time":"2023-04-21T15:48:09+00:00","remoteAddr":"192.168.0.63","user":"xxxxx","app":"PHP","method":"GET","url":"/apps/photos/api/v1/preview/261172?etag=1e2872833b35af4dccc940eb67567a7a&x=64&y=64","message":"sem_get(): Failed for key 0xa11: Function not implemented at /usr/local/www/nextcloud/lib/private/Preview/Generator.php#320","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.1.1","data":{"app":"PHP"}}
{"reqId":"HjCVyVHxcmwNfpaXrIz7","level":3,"time":"2023-04-21T15:48:09+00:00","remoteAddr":"192.168.0.63","user":"xxxxx","app":"PHP","method":"GET","url":"/apps/photos/api/v1/preview/261149?etag=bc0138a99c49e279e1388cb74f5678bb&x=64&y=64","message":"sem_get(): Failed for key 0xa11: Function not implemented at /usr/local/www/nextcloud/lib/private/Preview/Generator.php#320","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.1.1","data":{"app":"PHP"}}
{"reqId":"Hp1JNmSClwwm0svvBJ14","level":3,"time":"2023-04-21T15:48:09+00:00","remoteAddr":"192.168.0.63","user":"xxxxx","app":"PHP","method":"GET","url":"/apps/photos/api/v1/preview/261139?etag=89f8ce5f6573f920b6cdd3f5714b642a&x=64&y=64","message":"sem_get(): Failed for key 0xa11: Function not implemented at /usr/local/www/nextcloud/lib/private/Preview/Generator.php#320","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.1.1","data":{"app":"PHP"}}

However, it works perfectly for videos and browsing by “directories” shows the photos and the thumbnails.

You are really not allone!!

see here: All Media and Photos views are blank after upgrade to 26.0.1 · Issue #1753 · nextcloud/photos · GitHub

Thanks for notice this to me.

Hope that will be fixed quickly.

yes, they are working on it

Indeed they have committed and backported in branch 26. Great !

Does this mean that a new build 26.0.1 will be delivered or should we wait for 26.0.2 ?

In the worst case I can apply the fixes myself.

I hope it is the photo app that has to be fixed and will be released soon

Edit: I think the patch will be included earliest in NC 26.0.2 as far as i understand this
[stable26] Fix #1753: Media and Photos views are blank after upgrade to 26.0.1 by backportbot-nextcloud[bot] · Pull Request #1759 · nextcloud/photos · GitHub