Closed Daemonslayer2048 closed 2 years ago
Seeing the same issue on v25:
Return type of Aws\Endpoint\Partition::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/3rdparty/aws/aws-sdk-php/src/HasDataTrait.php#46
Literally thousands of entries in the log file, reaching hundreds of megabytes within hours after installation
It looks to me as though there are compatibilty issues with aws-sdk-php and php 8.1. Nextcloud is running a pretty out of date version of aws-sdk-php (version 3.184.6). This version is from June 2021 which considering php 8.1 is reasonably new is quite a way out of date.
Work has been done on aws-sdk-php since to make it better compatible with php 8.1. Is there any chance this could be bumped to a more recent version?
Seems to me it could solve quite a few S3 storage related issues.
closing in favor of https://github.com/nextcloud/server/issues/34787 (which is already assigned for resolution)
⚠️ This issue respects the following points: ⚠️
Bug description
After upgrading version 24.0.6-apache to 25.0.0-apache I began seeing my NextCloud pod in Kubernetes bouncing. I use S3 storage internally, in the previous version there were no issues, though it would appear that is now causing an issue. After the update I have hundred of logs similar to what is posted below regarding the AWS SDK which appears to hint at an S3 issue.
Steps to reproduce
Expected behavior
The container should handle s3 object storage without crashing.
Installation method
Community Docker image
Operating system
RHEL/CentOS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response