You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: During upgrade from 24.0.2 to 24.0.3: Return type of RecursiveDirectoryIteratorWithoutData::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in updater/index.php on line 40
#33295
During upgrade from 24.0.2 to 24.0.3 via web I got error:
<b>Deprecated</b>: Return type of RecursiveDirectoryIteratorWithoutData::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/opt/nextcloud/updater/index.php</b> on line <b>40</b><br />
{"proceed":true}
It's PHP 8.1 specific bug.
On other host with PHP 7.4 update from 24.0.2 to 24.0.3 was without errors.
Steps to reproduce
Update 24.0.2 to 24.0.3 via web
Expected behavior
Update without errors.
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- user_external
- INVALID_HASH
- lib/Base.php
Raw output
==========
Array
(
[user_external] => Array
(
[INVALID_HASH] => Array
(
[lib/Base.php] => Array
(
[expected] => 72fb649b4a31f8001252647609d32bf37e563e90b9dbe23ea0a00a03523a58023d345e613ea8b98712f35efdcacf951b91a82756e6d8ef6bc91072e3a5c9b629
[current] => a71980d1adf58ced91c8bf1b555050be6bafe253af206fe85d38e12b7d36bbbd966fd7f88c28dc34cb630a4d455a65e6cf8e0c83490e7c56e5af26df742fc593
)
)
)
)
Bug description
During upgrade from 24.0.2 to 24.0.3 via web I got error:
It's PHP 8.1 specific bug.
On other host with PHP 7.4 update from 24.0.2 to 24.0.3 was without errors.
Steps to reproduce
Expected behavior
Update without errors.
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
This is my other patch for support PHP 8.1 (nextcloud/user_external#203):
Nextcloud Logs
Can't find this error in logs.
Additional info
Patch:
The text was updated successfully, but these errors were encountered: