Skip to content

[Bug]: Can't add S3 external storage #39650

Closed as not planned
Closed as not planned

Description

@user23108947023948

⚠️ This issue respects the following points: ⚠️

Bug description

NC error

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

  1. Log in to NC
  2. Go to Administration Settings > External Storage
  3. 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

  1. added
    0. Needs triage
    on Aug 1, 2023
  2. joshtrichards commented on Aug 1, 2023

    @joshtrichards
    Member

    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.

    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.

    If you hold the mouse cursor over the red status icon, the error is also shown in the tooltip. Shouldn't require selecting all.

  3. jessebot commented on Sep 3, 2023

    @jessebot

    Thanks, @joshtrichards ! The issue was a space for me in this instance :)

  4. nextcloud-command commented on Oct 4, 2023

    @nextcloud-command
    Contributor

    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.

  5. added
    stale
    on Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triage27-feedbackbugfeature: external storageneeds infostale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions