Skip to content

PHP 8.5 - #2580

Merged
J0WI merged 1 commit into
nextcloud:masterfrom
J0WI:php8.5
Jun 10, 2026
Merged

PHP 8.5#2580
J0WI merged 1 commit into
nextcloud:masterfrom
J0WI:php8.5

Conversation

@J0WI

@J0WI J0WI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

fix #2578

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
@J0WI
J0WI merged commit a068637 into nextcloud:master Jun 10, 2026
24 of 61 checks passed
@J0WI
J0WI deleted the php8.5 branch June 10, 2026 22:25
Comment thread 32/apache/Dockerfile
@ariaieboy

Copy link
Copy Markdown

Hi @J0WI
This PR breaks the upgrade process for me:

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?

eaither updating from 34.0.0 to 34.0.1 or 34.0.2 throw this error.
I downgraded the PHP version by using php:8.4-apache-trixie as a base, and this error goes away.

I use the apache variant.

@J0WI

J0WI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Have you set NEXTCLOUD_UPDATE?

@Suiram1701

Copy link
Copy Markdown

@J0WI @ariaieboy I'am facing the exact same issue only with a bit larger version gap but it still happens:

=> Configuring PHP session handler...
==> Using Redis as PHP session handler...
Can't start Nextcloud because the version of the data (
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
33.0.5.1) is higher than the docker image version (
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
34.0.2.1) and downgrading is not supported. Are you sure you have pulled the newest image version?

According to your comment @J0WI I tried to set NEXTCLOUD_UPDATE=1 but the issue still occurrs with the exact same messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nextcloud version 34.0.0 update php 8.5

4 participants