Get rid of such errors.
Updated to a major version (ex. 22.2.3 to 23.0.1)
{"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":"--"}}
Bug description
I used
External storage supportapps to access S3 object store. Lots of errors throw after NC was upgraded to 25.0.0I paste part of them.
I googled around and found that
PHP 8.1has this issue, while25.0.0is running PHP 8.1.Please check this page https://php.watch/versions/8.1/ReturnTypeWillChange
Steps to reproduce
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?
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" ] } }Nextcloud Signing status
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":"--"}}