-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
⚠️ 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 OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
After updating to Nextcloud Hub 25 Autumn (32.0.0) I can't delete any folder on AWS S3 external storage.
Files are deleted flawlessly. Local stored folders are deleted without issues as well.
I get a Delete folder: failed notification. I attach the specific error log below which mentions "400 Bad Request" and "Malformed XML".
Interestingly, if I replace the api-2.json.php file available in the 3rdparty/aws/aws-sdk-php/src/data/s3/2006-03-01 folder with the one coming from the previous version (31.0.9), then I can delete the folders successfully. I guessed this file is involved in the issue due to the ?delete string mentioned in the log.
Hope someone will check the differences between the old and new api-2.json.php files and figure out what is wrong and find a fix.
Any idea whether is it safe to keep the older working file for the time being?
Steps to reproduce
- Update to Nextcloud 32 version
- Attempt to delete a folder
- Observe the error message
Expected behavior
Folders should be removed on external storage after a delete command is invoked.
Nextcloud Server version
32
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Error executing "DeleteObjects" on "https://***REMOVED SENSITIVE VALUE***/?delete"; AWS HTTP error: Client error: `POST https://***REMOVED SENSITIVE VALUE***/?delete` resulted in a `400 Bad Request` response: <Error><Code>MalformedXML</Code><Message>The XML you provided was not well-formed or did not validate against our publis (truncated...) MalformedXML (client): The XML you provided was not well-formed or did not validate against our published schema - <Error><Code>MalformedXML</Code><Message>The XML you provided was not well-formed or did not validate against our published schema</Message><RequestId>***REMOVED SENSITIVE VALUE***</RequestId><HostId>***REMOVED SENSITIVE VALUE***</HostId></Error>Additional info
No response