Upgrading from 34.0.0 to 34.0.2 fails on docker

when I want to upgrade my nextcloud from version 34.0.0 to 34.0.2 using docker image pull I get this error.

2026-07-26T13:36:33.412954415Z => Configuring PHP session handler...
2026-07-26T13:36:33.444653901Z ==> Using Redis as PHP session handler...
2026-07-26T13:36:35.096245099Z Can't start Nextcloud because the version of the data (
2026-07-26T13:36:35.096304377Z Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2026-07-26T13:36:35.096314499Z 34.0.0.12) is higher than the docker image version (
2026-07-26T13:36:35.096319959Z Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20250925/opcache.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2026-07-26T13:36:35.096326317Z 34.0.2.1) and downgrading is not supported. Are you sure you have pulled the newest image version?

Have you customized the image or PHP configuration in some way?

Post your Compose file.

I build example image from here docker/.examples/dockerfiles/full/apache/Dockerfile at master · nextcloud/docker · GitHub and I found the issue it’s this pr PHP 8.5 by J0WI · Pull Request #2580 · nextcloud/docker · GitHub when i change the base image from php8.5 to php 8.4 everything works perfectly