Repository navigation
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
When trying to configure Backblaze B2 as external storage, using bucket name and key credentials verified as good by Backblaze technical support, NextCloud Server gives an error message that is not visible on the screen unless you select all to highlight everything on the screen. The fact that the error text is not visible without doing so is itself apparently a bug, but it's not the one I'm focusing on here. It's the fact that once I hit CTRL-A to make the text visible, it says that it's not able to create the bucket. I was originally trying to connect to an EXISTING bucket (which SHOULD be possible) but then when I realized NC was trying to create a NEW bucket, I cancelled out and started over, with an unused bucket name to see if NC could successfully create it. But I still get the same error. I'm stuck and don't know what to do other than report these multiple bugs and hope that it's something that can be resolved at some point.
Steps to reproduce
- Log in to NC
- Go to Administration Settings > External Storage
- Attempt to configure S3 storage using Backblaze B2 key information
Expected behavior
I expected it to simply connect to my existing bucket so I'd be able to mount it and view my files.
Installation method
None
Nextcloud Server version
27
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
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
I don't have CLI access. I just signed up with one of Nextcloud's recommended partners for end users. It's https://tab.digital.List of activated Apps
I don't know.Nextcloud Signing status
No errors have been found.Nextcloud Logs
I don't think I have access to these.Additional info
I'm happy to cooperate further to assist anyone willing to work to troubleshoot and resolve this issue.

Activity
joshtrichards commentedon Aug 1, 2023
Hi @user23108947023948 - An existing bucket should be fine and it works for me, but I think I know what's going on...
From looking at your screenshot - and I only noticed this because I encountered the same thing - there is a subtle clue: I think there is a space between your bucket name and the endpoint. The cause is an extra space in front of your endpoint field (the one that says
s3.us-east[...]. Probably from a cut-n-paste from the Backblaze web site (that's where it came from for me I believe).Side note: Perhaps we should
trim()these input fields that can't have spaces and are often cut-n-pasted into.If you hold the mouse cursor over the red status icon, the error is also shown in the tooltip. Shouldn't require selecting all.
jessebot commentedon Sep 3, 2023
Thanks, @joshtrichards ! The issue was a space for me in this instance :)
nextcloud-command commentedon Oct 4, 2023
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.