Trying to setup S3 bucket in filestore module causes crash

Hey folks,
I’ve tried setting up an S3 bucket in the filestore module. However when clicking the “Add S3 bucket” button my frontend crashes as seen in this screenshot:

I’m using FreePBX 17.0.19.7 on Debian Bookworm.

Is there anything I’m missing or I can try to rectify this situation?

I opened a ticket for this yesterday. Still no response

I had no problems setting up S3 bucket on 2 FPBX17 deployments 2 weeks ago and have been running daily.

I went in to edit one of the buckets in Filestore>S3 and when clicking the pencil i get that same error message. Tried it on a 2nd FPBX17 deployment that also had a S3 bucket running backup for 2 weeks and same error.

This appears to be a 17 wide issue with a recent update because S3 was error free 2 weeks ago.

To confirm, my S3 backups are still running. Just cant edit them

Do you mean support ticket ? if yes then please DM me your support case number? thanks

Hi @defcomllc Please try with below filestore v

fwconsole ma downloadinstall filestore --tag=17.0.2.25

Thanks

2 Likes

Just sent case# to you

Ill try this here shortly and report back

This has resolved the Filestore>S3 issue. I updated Filestore as directed to 17.0.2.25 and back to working normally as it was 2 weeks ago.

Thank you

Hey, I’ve tried running fwconsole ma downloadinstall filestore --tag=17.0.2.25 however my console errors out stating that:

No repos specified, using: [standard,unsupported,extended,commercial] from last GUI settings

Unable to update module filestore - 17.0.2.25, it does not exist:
Updating Hooks...Done
Chowning directories...Done

What am I missing here?

EDIT: I had network connectivity issues. Works for me now.

1 Like

Version 17.0.2.25 added a variable called storage class

While that may be required? for Amazon S3 buckets – other S3 compatible storage providers do not recognize that variable and it breaks the backup with an invalid storage class or storage class unknown

When I wrote this all 6+ years ago I maintained accounts/servers for each item to fully test. I am afraid nobody is doing that now so it is going to be trial and error for some of this.

The QA on this is light or non existent. I went to look at this and it threw a exception when I tried to add a bucket

Did you run the below fix?

fwconsole ma downloadinstall filestore --tag=17.0.2.25

It was throwing that exception but as directed today, I ran the above command and no longer throwing an exception

PR Open

Saw that 17.0.2.26 was posted which looks like it added the option to select not applicable as a way around the issue – however that did not resolve the problem

I am testing against both B2 Backblaze and R2 Cloudflare and both are not working

Error is as follows:

Performing Remote Maintenance
Undefined array key “storageclass”
Undefined array key “storageclass”
Finished Remote Maintenance
Saving to selected Filestore locations
Undefined array key “storageclass”
Undefined array key “storageclass”
Finished Saving to selected Filestore locations
There were errors during the backup process
Undefined array key “storageclass”
Undefined array key “storageclass”
Undefined array key “storageclass”
Undefined array key “storageclass”

Looking at the cloudflare S3 API for put object both Standard and Standard IA are listed as acceptable options – however even when selecting those in filestore under storage classes – both do not work

I will say that under prior versions – such as 17.0.2.21 – cloudflare and backblaze were working

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.