Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error logs keep flushing when Nc was upgraded to 25.0.0 #34787

Closed
6 of 9 tasks
luckydogxf opened this issue Oct 25, 2022 · 8 comments · Fixed by #34996
Closed
6 of 9 tasks

[Bug]: Error logs keep flushing when Nc was upgraded to 25.0.0 #34787

luckydogxf opened this issue Oct 25, 2022 · 8 comments · Fixed by #34996
Assignees
Labels
1. to develop Accepted and waiting to be taken care of 25-feedback bug

Comments

@luckydogxf
Copy link

luckydogxf commented Oct 25, 2022

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

I used External storage support apps to access S3 object store. Lots of errors throw after NC was upgraded to 25.0.0
I paste part of them.

"message": "Return type of Aws\\Api\\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php#97",
	"userAgent": "Mozilla/5.0 (Windows) mirall/3.6.1stable-Win64 (build 20221018) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)",
	"version": "25.0.0.18",
	"exception": {
		"Exception": "Error",
		"Message": "Return type of Aws\\Api\\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php#97",
		"Code": 0,
		"Trace": [{
			"file": "/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php",
			"line": 12,
			"function": "onError",
			"class": "OC\\Log\\ErrorHandler",
			"type": "::",
			"args": [8192, "Return type of Aws\\Api\\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice", "/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php", 97]
		}, {
			"file": "/var/www/html/lib/composer/composer/ClassLoader.php",
			"line": 571,
			"args": ["/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php"],
			"function": "include"

I googled around and found that PHP 8.1 has this issue, while 25.0.0 is running PHP 8.1.

Please check this page https://php.watch/versions/8.1/ReturnTypeWillChange

Steps to reproduce

  1. upgrade NC to 25.0.0, its PHP is 8.1.11
  2. Access files in external storage shared by S3.
  3. Plenty of similar errors keep flushing.
  4. While NC 24.0.5 is okay, because its php is 8.0.23.

Expected behavior

Get rid of such errors.

Installation method

Community Docker image

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MySQL

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?

No response

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

./occ config:list system
{
    "system": {
        "htaccess.RewriteBase": "\/",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "proxy": "172.16.232.21:8088",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.pacific-textiles.com",
            "172.16.215.175",
            "https:\/\/nextcloud.pacific-textiles.com",
            "https:\/\/nextcloud.pacific-textiles.com:8443",
            "next.pacific-textiles.com"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED_FOR",
            "X-Forwarded-For"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.0.18",
        "overwrite.cli.url": "https:\/\/nextcloud.pacific-textiles.com",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "allow_local_remote_servers": "true",
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "sharing.enable_share_accept": true,
        "sharing.force_share_accept": true,
        "maintenance": false,
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [
            "warehouse",
            "SAP-CONSULTANT",
            "monitor",
            "SAP-KU"
        ],
        "onlyoffice": {
            "verify_peer_off": true
        },
        "loglevel": 4,
        "theme": "",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "memcache.local": "\\OC\\Memcache\\APCu",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "accessibility",
            "fulltextsearch_elasticsearch"
        ]
    }
}


### List of activated Apps

```shell
./occ app:list
Enabled:
  - accessibility: 1.10.0
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - bruteforcesettings: 2.5.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - encryption: 2.13.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_external: 1.17.0
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - fulltextsearch_elasticsearch: 24.0.1
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.0.3
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.2
  - richdocuments: 7.0.0
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - support: 1.8.0
  - survey_client: 1.13.0
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 2.0.0
  - twofactor_backupcodes: 1.14.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_ldap: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:```

Nextcloud Signing status

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
=======
- core
	- INVALID_HASH
		- .htaccess
	- FILE_MISSING
		- .user.ini

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => d9cab0f077161bf043d6d85f5bcacbdfaf82913968b7706df9cf7e6f98b11af363f3843b455175ae775567916822fec8f6ab95000ba064c71e05c86a02196d95
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

            [FILE_MISSING] => Array
                (
                    [.user.ini] => Array
                        (
                            [expected] => 4843b3217e91f8536cb9b52700efb20300290292cf6286f92794d4cec99df286afeb7dd6c91b1be20bc55eda541eef230a5c5e7dcd46c189edd0ed1e80c6d3f5
                            [current] => 
                        )

                )

        )

)```

Nextcloud Logs

{"reqId":"Gcph9BtQ0f1cvMAdYHOL","level":3,"time":"2022-10-25T06:44:41+00:00","remoteAddr":"172.16.81.90","user":"31000023","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/31000023/gaozhuan","message":"Return type of Aws\\Api\\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php#97","userAgent":"Mozilla/5.0 (Windows) mirall/3.6.0stable-Win64 (build 20220906) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"25.0.0.18","exception":{"Exception":"Error","Message":"Return type of Aws\\Api\\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at /var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php#97","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php","line":12,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8192,"Return type of Aws\\Api\\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php",97]},{"file":"/var/www/html/lib/composer/composer/ClassLoader.php","line":571,"args":["/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php"],"function":"include"},{"file":"/var/www/html/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\\Autoload\\includeFile","args":["/var/www/html/3rdparty/composer/../aws/aws-sdk-php/src/Api/DateTimeResult.php"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":147,"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["Aws\\Api\\DateTimeResult"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":37,"function":"parse_timestamp","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\TimestampShape"},{"__class__":"SimpleXMLElement","0":"2022-10-19T10:17:05.500Z"}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":53,"function":"dispatch","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\TimestampShape"},{"__class__":"SimpleXMLElement","0":"2022-10-19T10:17:05.500Z"}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":37,"function":"parse_structure","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\StructureShape"},{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":92,"function":"dispatch","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\StructureShape"},{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":37,"function":"parse_list","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\ListShape"},{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":53,"function":"dispatch","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\ListShape"},{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":37,"function":"parse_structure","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\StructureShape"},{"__class__":"SimpleXMLElement","Name":"gaozhuan","Prefix":{"__class__":"SimpleXMLElement"},"KeyCount":"6","MaxKeys":"1000","Delimiter":"/","IsTruncated":"false","Contents":{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"},"CommonPrefixes":[{"__class__":"SimpleXMLElement","Prefix":"Gartner-CIO-Leadership-Forum-2022-APAC/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-Symposium-2021-APAC/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-Symposium-2021-Americas/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-homework/"},{"__class__":"SimpleXMLElement","Prefix":"IT\u90e8\u95e8\u6587\u4ef6/"}]}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/XmlParser.php","line":18,"function":"dispatch","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\StructureShape"},{"__class__":"SimpleXMLElement","Name":"gaozhuan","Prefix":{"__class__":"SimpleXMLElement"},"KeyCount":"6","MaxKeys":"1000","Delimiter":"/","IsTruncated":"false","Contents":{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"},"CommonPrefixes":[{"__class__":"SimpleXMLElement","Prefix":"Gartner-CIO-Leadership-Forum-2022-APAC/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-Symposium-2021-APAC/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-Symposium-2021-Americas/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-homework/"},{"__class__":"SimpleXMLElement","Prefix":"IT\u90e8\u95e8\u6587\u4ef6/"}]}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/RestXmlParser.php","line":40,"function":"parse","class":"Aws\\Api\\Parser\\XmlParser","type":"->","args":[{"__class__":"Aws\\Api\\StructureShape"},{"__class__":"SimpleXMLElement","Name":"gaozhuan","Prefix":{"__class__":"SimpleXMLElement"},"KeyCount":"6","MaxKeys":"1000","Delimiter":"/","IsTruncated":"false","Contents":{"__class__":"SimpleXMLElement","Key":"Readme.md","LastModified":"2022-10-19T10:17:05.500Z","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Size":"1","Owner":{"__class__":"SimpleXMLElement","ID":"02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4","DisplayName":"minio"},"StorageClass":"STANDARD"},"CommonPrefixes":[{"__class__":"SimpleXMLElement","Prefix":"Gartner-CIO-Leadership-Forum-2022-APAC/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-Symposium-2021-APAC/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-Symposium-2021-Americas/"},{"__class__":"SimpleXMLElement","Prefix":"Gartner-homework/"},{"__class__":"SimpleXMLElement","Prefix":"IT\u90e8\u95e8\u6587\u4ef6/"}]}]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/RestXmlParser.php","line":31,"function":"parseMemberFromStream","class":"Aws\\Api\\Parser\\RestXmlParser","type":"->","args":[{"__class__":"GuzzleHttp\\Psr7\\Stream"},{"__class__":"Aws\\Api\\StructureShape"},"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/Api/Parser/AbstractRestParser.php","line":63,"function":"payload","class":"Aws\\Api\\Parser\\RestXmlParser","type":"->","args":["*** sensitive parameters replaced ***",{"__class__":"Aws\\Api\\StructureShape"},[]]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/S3/RetryableMalformedResponseParser.php","line":37,"function":"__invoke","class":"Aws\\Api\\Parser\\AbstractRestParser","type":"->","args":[{"__class__":"Aws\\Command"},"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/S3/AmbiguousSuccessParser.php","line":69,"function":"__invoke","class":"Aws\\S3\\RetryableMalformedResponseParser","type":"->","args":[{"__class__":"Aws\\Command"},"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/S3/GetBucketLocationParser.php","line":29,"function":"__invoke","class":"Aws\\S3\\AmbiguousSuccessParser","type":"->","args":[{"__class__":"Aws\\Command"},"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/WrappedHttpHandler.php","line":125,"function":"__invoke","class":"Aws\\S3\\GetBucketLocationParser","type":"->","args":[{"__class__":"Aws\\Command"},"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/WrappedHttpHandler.php","line":92,"function":"parseResponse","class":"Aws\\WrappedHttpHandler","type":"->","args":[{"__class__":"Aws\\Command"},{"__class__":"GuzzleHttp\\Psr7\\Request"},"*** sensitive parameters replaced ***",[]]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":204,"function":"Aws\\{closure}","class":"Aws\\WrappedHttpHandler","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":153,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":[1,"*** sensitive parameters replaced ***",null]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":48,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php","line":158,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php","line":183,"function":"tick","class":"GuzzleHttp\\Handler\\CurlMultiHandler","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":248,"function":"execute","class":"GuzzleHttp\\Handler\\CurlMultiHandler","type":"->","args":[true]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":224,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/AwsClientTrait.php","line":58,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/aws/aws-sdk-php/src/ResultPaginator.php","line":127,"function":"execute","class":"Aws\\AwsClient","type":"->","args":[{"__class__":"Aws\\Command"}]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/AmazonS3.php","line":672,"function":"valid","class":"Aws\\ResultPaginator","type":"->","args":[]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":157,"function":"getDirectoryContent","class":"OCA\\Files_External\\Lib\\Storage\\AmazonS3","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Encryption.php","line":205,"function":"getDirectoryContent","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"getDirectoryContent","class":"OC\\Files\\Storage\\Wrapper\\Encryption","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Cache/Scanner.php","line":412,"function":"iterator_to_array","args":[{"__class__":"Generator"}]},{"file":"/var/www/html/lib/private/Files/Cache/Scanner.php","line":391,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***",false,3,245988,true,0]},{"file":"/var/www/html/lib/private/Files/Cache/Scanner.php","line":342,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***",false,3,245988,true,["httpd/unix-directory",1666680281,-1,"635785d9c8a92",1666680281,"And 6 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Files/Cache/Watcher.php","line":112,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***",false]},{"file":"/var/www/html/lib/private/Files/View.php","line":1358,"function":"update","class":"OC\\Files\\Cache\\Watcher","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/View.php","line":1394,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"__class__":"OCA\\Files_Trashbin\\Storage","cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null},"*** sensitive parameters replaced ***","//gaozhuan"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":218,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/31000023/files/gaozhuan"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":78,"function":"getChild","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["gaozhuan"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":971,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->","args":["files/31000023/gaozhuan"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1662,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/31000023/gaozhuan",["{DAV:}resourcetype","{DAV:}getlastmodified","{DAV:}getcontentlength","{DAV:}getetag","{http://owncloud.org/ns}size","And 7 more entries, set log level to debug to see all entries"],1]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1647,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\Xml\\Writer","elementMap":[],"contextUri":"/remote.php/dav/","namespaceMap":{"DAV:":"d","http://sabredav.org/ns":"s","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc"},"classMap":[]},{"__class__":"Generator"},false]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":167,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}


### Additional info

_No response_
@luckydogxf luckydogxf added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 25, 2022
@kesselb
Copy link
Contributor

kesselb commented Oct 25, 2022

Fixed upstream by aws/aws-sdk-php#2284

An update for our aws version is necessary.

@kesselb kesselb added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Oct 25, 2022
@luckydogxf
Copy link
Author

So we can do nothing now but wait for new version of file_external ready in next release ?

@PVince81
Copy link
Member

@come-nc can you update the lib ?

@Daemonslayer2048
Copy link

Is it possible the updated AWS SDK could be present in the next patch? Nextcloud v25.0.0 is unusable for me at the moment and I would assume is unusable for all users using s3 storage.

@come-nc
Copy link
Contributor

come-nc commented Nov 3, 2022

Is it possible the updated AWS SDK could be present in the next patch? Nextcloud v25.0.0 is unusable for me at the moment and I would assume is unusable for all users using s3 storage.

It’s too late for 25.0.1 sadly, this will be for 25.0.2

@Daemonslayer2048
Copy link

I thought so, but no worries, just glad to see it is being worked on and that is much appreciated.

@come-nc
Copy link
Contributor

come-nc commented Nov 14, 2022

@come-nc can you update the lib ?

Done in master, pending is stable25, needed in 24 and 23 as well?

@come-nc
Copy link
Contributor

come-nc commented Nov 14, 2022

Done in stable25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of 25-feedback bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants