Keep trying to create bucket after docker image upgrade

Just updated to 30.0.3 on the Nextcloud docker
docker.io/nextcloud:latest. However seems the objectstore connection to S3 broke. Based on the admin logs it keeps trying to create bucket but it already exists.

StorageNotAvailableException
Creation of bucket “bucket” failed. Error executing “CreateBucket” on “https://s3.ca-central-1.wasabisys.com/bucket/”; AWS HTTP error: Client error: PUT https://s3.ca-central-1.wasabisys.com/bucket/ resulted in a 403 Forbidden response: <?xml version="1.0" encoding="UTF-8"?> SignatureDoesNotMatchThe request signature we calcul (truncated…) SignatureDoesNotMatch (client): The request signature we calculated does not match the signature you provided. Check your key and signing method. - <?xml version="1.0" encoding="UTF-8"?> SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.KEYPUT application/xml Fri, 06 Dec 2024 06:40:07 +0000 x-amz-user-agent:aws-sdk-php/3.311.2 ua/2.0 OS/Linux#6.8.0-49-generic lang/php#8.2.26 /tertecnextvault/aa=aaaaaaaaaaaaa
Could not get object urn:oid:56436 for file appdata_oc667xecf8p3/js/core/merged-template-prepend.js.gzip

set env to autocreate false, and even went into config.php to set autocreate false and verify bucket exists false, but it still keeps trying. other than being unable to load files from objectstore (s3) seems ok…??? I guess.

This is generally an indication of an authentication problem. But because of the way that signatures are generated in S3, a number of configuration problems can create similar symptoms because they cause an invalid signature to be generated.

What version of Nextcloud did you upgrade from?
And please post your config (occ config:list system).

Man, I wish I could remember which exact version I upgraded from. A bit unfortunate on that, since I am using docker I just kinda run the docker to repull latest image and use that. I then just check in the admin panel that there’s no problem and carry on with my day, usually.

Also, I have changed the s3 key and secret to see if that was causing it but didn’t help. Checked s3 permissions on wasabi but seems fine (it technically has s3* permissions, which arguably would allow it to create buckets, not that it should).

config:

{
“system”: {
“htaccess.RewriteBase”: “/”,
“memcache.local”: “\OC\Memcache\APCu”,
“apps_paths”: [
{
“path”: “/var/www/html/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/html/custom_apps”,
“url”: “/custom_apps”,
“writable”: true
}
],
“objectstore”: {
“class”: “\OC\Files\ObjectStore\S3”,
“arguments”: {
“bucket”: “bucket”,
“key”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“region”: “”,
“hostname”: “s3.wasabisys.com”,
“port”: “”,
“objectPrefix”: “urn:oid:”,
“autocreate”: false,
“use_ssl”: true,
“use_path_style”: true,
“legacy_auth”: true
}
},
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“localhost”,
“domain.domain”,
“192.168.194.69”,
“100.70.4.113”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “mysql”,
“version”: “30.0.3.2”,
“overwrite.cli.url”: “https://localhost”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_sendmailmode”: “smtp”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauthtype”: “LOGIN”,
“mail_smtpsecure”: “tls”,
“mail_smtpauth”: 1,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “587”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“twofactor_enforced”: “false”,
“twofactor_enforced_groups”: [
“admin”
],
“twofactor_enforced_excluded_groups”: ,
“trusted_proxies”: “REMOVED SENSITIVE VALUE”,
“forward_for_headers”: [
“HTTP_X_FORWARDED”,
“HTTP_FORWARDED_FOR”
],
“overwriteprotocol”: “https”,
“maintenance”: false,
“loglevel”: 2,
“app_install_overwrite”: [
“login_notes”,
“cfg_share_links”,
“hibp”,
“files_readmemd”
],
“theme”: “”,
“defaultapp”: “dashboard,files,mail,calendar”
}
}

This topic was automatically closed after 90 days. New replies are no longer allowed.