[Solved] How to delete unwanted (now) Bucket with no key

How do I delete a bucket from the Storj GUI?
The bucket is not empty
I seem to have forgotten the encryption code
I do not need or want the data - its test data. I have been testing Storj - which works very well - its just the backup program I have been using is a bit janky and wiped its config out. (along with the encryption key and anything else I needed)

Its a free account - so I would happily delete the account - I can always set up another one. BUt I don’t seem to have a way of doing that either

Click the 3 vertical dots on the right side of the bucket name to show more options. Click Delete Bucket and enter bucket name for confirmation.

2 Likes

Except that the bucket is not empty.
I get a popup on the right saying “the bucket you tried to delete is not empty”

Then you need to use uplink CLI:

uplink rb --force sj://my-bucket

it could timeout if you have a lot of objects in the bucket, so you may use this command to remove an encrypted content first:

uplink rm --recursive --encrypted --parallelism 100 sj://my-bucket

then remove the bucket:

uplink rb --force sj://my-bucket
4 Likes

that worked perfectly (after I worked out how to get access) - thank you

3 Likes

Hey Alexey,

I am facing the same issue but am using an RPM-based linux distro (opensuse) – is there a way to use the uplink CLI on this type of system?

Hello @CurrentBias,
Welcome to the forum!

Of course, you just need to download a binary, setup and use it.
If you do not want to install it to a common path like /usr/local/bin/, you can always use the binary from the location where you extracted it from the zip archive, i.e.

./uplink ls

to make it happen you need to set an executable bit for the binary first:

chmod +x ./uplink

Thank you! I have it running and was prompted to either import or create access

I selected create access and it is asking for a satellite address – where can that be found?

You need to generate an API key: Access - Storj DCS Docs, at the end this wizard will show all needed information.

1 Like