# Upgrading from 34.0.0 to 34.0.2 fails on docker

**URL:** <https://help.nextcloud.com/t/upgrading-from-34-0-0-to-34-0-2-fails-on-docker/247377>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** nc34, docker\
**Created:** [July 26, 2026, 1:39pm UTC](https://help.nextcloud.com/t/upgrading-from-34-0-0-to-34-0-2-fails-on-docker/247377 "2026-07-26T13:39:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ariaie\_boy](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ariaie_boy/32/72960_2.png) [@ariaie\_boy](https://help.nextcloud.com/u/ariaie_boy)\
**Post date:** [July 26, 2026, 1:39pm UTC](https://help.nextcloud.com/t/upgrading-from-34-0-0-to-34-0-2-fails-on-docker/247377/1 "2026-07-26T13:39:01Z")

</div>

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

```auto
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?

```

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [July 26, 2026, 6:42pm UTC](https://help.nextcloud.com/t/upgrading-from-34-0-0-to-34-0-2-fails-on-docker/247377/2 "2026-07-26T18:42:17Z")

</div>

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

Post your Compose file.

---

<div class="post-metadata">

**Author:** ![ariaie\_boy](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ariaie_boy/32/72960_2.png) [@ariaie\_boy](https://help.nextcloud.com/u/ariaie_boy)\
**Post date:** [July 26, 2026, 6:55pm UTC](https://help.nextcloud.com/t/upgrading-from-34-0-0-to-34-0-2-fails-on-docker/247377/3 "2026-07-26T18:55:33Z")

</div>

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