Closed dolesec closed 1 week ago
attempted to revert to filestore 17.0.2.22 and that failed as well
Hi @dolesec please try with filestore v17.0.2.27
Hi @dolesec Please try with this version of filestore 17.0.2.28
different error and still broken - the same config was previously running successfully on my initial 17 test system and i noticed this when setting up a new production 17 system; i checked the my initial 17 test system and its broken there as well ...
new error reports the following:
Saving to selected Filestore locations
Unable to write file at location: mys3bucket/. Error executing "PutObject" on "https://s3pbxbackups.s3.amazonaws.com//mys3bucket/"; AWS HTTP error: Client error: `PUT https://s3pbxbackups.s3.amazonaws.com//mys3bucket/` resulted in a `400 Bad Request` response:
AccessControlListNotSupportedThe bucket does not all (truncated...)
AccessControlListNotSupported (client): The bucket does not allow ACLs -
AccessControlListNotSupportedThe bucket does not allow ACLs8778DJ2510KMRBRYKUC+OcVHl3pmHHeA5FRV5vqUtoAI4Io2d9GmVBjXtKQubHK2jV4Bw68vf+g6o4RWAXspEGouo0C88zsNfXtcBH1h1N4AFc+Hh78zCWySLaQ=
Finished Saving to selected Filestore locations
There were errors during the backup process
Unable to write file at location: mys3bucket/. Error executing "PutObject" on "https://s3pbxbackups.s3.amazonaws.com//mys3bucket/"; AWS HTTP error: Client error: `PUT https://s3pbxbackups.s3.amazonaws.com//mys3bucket/` resulted in a `400 Bad Request` response:
AccessControlListNotSupportedThe bucket does not all (truncated...)
AccessControlListNotSupported (client): The bucket does not allow ACLs -
AccessControlListNotSupportedThe bucket does not allow ACLs8778DJ2510KMRBRYKUC+OcVHl3pmHHeA5FRV5vqUtoAI4Io2d9GmVBjXtKQubHK2jV4Bw68vf+g6o4RWAXspEGouo0C88zsNfXtcBH1h1N4AFc+Hh78zCWySLaQ=
@kguptasangoma I see this was marked as closed, can it be reopened until we confirm the fix?
Hi @dolesec if you run v17.0.2.22 then does it work for you?
you are now hitting to different errors so wondering if thats related with latest storageclass fixes or not so can you please try with above mentioned older release.
@kguptasangoma - I had to revert to version 17.0.2.18 in order to backup successfully, it breaks with version 17.0.2.20
Hi @dolesec Please update again module filestore 17.0.2.28, and give a try by mentioning Path for directory for the s3 bucket, as we also noticed such issue when we kept path as empty or slash Once we add directory name the backup was successful for us.
Also
Exmple :
unfortunately, that's not working @kguptasangoma
i tried with the
what does work as expected is 17.0.2.18
can we not revert until this is figured out?
Hi @dolesec It is possible that specifying just "/" for the storage path worked with filestore version 17.0.2.18. However, after the update to version 17.0.2.19, the libraries were updated to their latest versions. Specifically, league/flysystem-aws-s3-v3 was updated from version 1.0.30 to 3.28.0. After this update, it was observed that backup files will not be stored directly in the S3 bucket if the storage path is set to "/". However, if a directory path inside the bucket is specified, the backup will work without any issues. Note: The directory path specified in the filestore path must already exist in the S3 bucket.
Ex: If backup-17 is the directory which exists in our s3 bucket then path in filestore instance should be "backup-17/".
I was able to make this work however it still feels like a regression and should be investigated ...
the only method I can use to make this work is to disable the option "Append Backup Name as a directory to the Storage path" ... currently I have one bucket defined for PBX backups and utilizing the append option above multiple PBX could share the same bucket and have subdirectories created for individual respective backups of numerous systems ... this still works on version 16 and through revision 17.0.2.18
if the append backup name causes this to break it should be removed or the module corrected such that this works as it does today on version 16
@dolesec filestore version 17.0.2.30
FreePBX Version
FreePBX 17
Issue Description
looks to have been requested and reported already in issues 404 and 405
edge upgrade to filestore alleviated the issue of creating the store itself however the backup job still fails ...
Undefined array key "storageclass" Finished Remote Maintenance Saving to selected Filestore locations Undefined array key "storageclass" Finished Saving to selected Filestore locations There were errors during the backup process
Operating Environment
+---------------------+-----------+---------+-------------+-----------+ | Module | Version | Status | License | Signature | +---------------------+-----------+---------+-------------+-----------+ | accountcodepreserve | 17.0.0.1 | Enabled | GPLv2 | Sangoma | | allowlist | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | amd | 17.0.1 | Enabled | GPLv3+ | Sangoma | | announcement | 17.0.2.1 | Enabled | GPLv3+ | Sangoma | | api | 17.0.1.6 | Enabled | AGPLv3+ | Sangoma | | arimanager | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | asterisk-cli | 17.0.2 | Enabled | GPLv3+ | Sangoma | | asteriskinfo | 17.0.2 | Enabled | GPLv3+ | Sangoma | | backup | 17.0.5.60 | Enabled | GPLv3+ | Sangoma | | blacklist | 17.0.1.2 | Enabled | GPLv3+ | Sangoma | | builtin | | Enabled | | Unsigned | | bulkhandler | 17.0.5 | Enabled | GPLv3+ | Sangoma | | calendar | 17.0.4.19 | Enabled | GPLv3+ | Sangoma | | callback | 17.0.2.1 | Enabled | GPLv3+ | Sangoma | | callerid | 17.0.1 | Enabled | Commercial | Sangoma | | callforward | 17.0.1.6 | Enabled | AGPLv3+ | Sangoma | | calllimit | 17.0.1.2 | Enabled | Commercial | Sangoma | | callrecording | 17.0.3.7 | Enabled | AGPLv3+ | Sangoma | | callwaiting | 17.0.3.4 | Enabled | GPLv3+ | Sangoma | | cdr | 17.0.4.21 | Enabled | GPLv3+ | Sangoma | | cdrpro | 17.0.3.19 | Enabled | Commercial | Sangoma | | cel | 17.0.2.9 | Enabled | GPLv3+ | Sangoma | | certman | 17.0.3.13 | Enabled | AGPLv3+ | Sangoma | | cidlookup | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | conferences | 17.0.3.2 | Enabled | GPLv3+ | Sangoma | | conferencespro | 17.0.1.7 | Enabled | Commercial | Sangoma | | configedit | 17.0.1.2 | Enabled | AGPLv3+ | Sangoma | | contactmanager | 17.0.5.11 | Enabled | GPLv3+ | Sangoma | | core | 17.0.16 | Enabled | GPLv3+ | Sangoma | | customappsreg | 17.0.1 | Enabled | GPLv3+ | Sangoma | | customcontexts | 17.0.1.3 | Enabled | GPLv2+ | Sangoma | | dashboard | 17.0.4.5 | Enabled | AGPLv3+ | Sangoma | | daynight | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | dictate | 17.0.1.2 | Enabled | GPLv3+ | Sangoma | | directory | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | disa | 17.0.5 | Enabled | AGPLv3+ | Sangoma | | donotdisturb | 17.0.2.3 | Enabled | GPLv3+ | Sangoma | | dynroute | 17.0.3.2 | Enabled | GPLv3+ | Sangoma | | endpoint | 17.0.1.81 | Enabled | Commercial | Sangoma | | extensionroutes | 17.0.1 | Enabled | Commercial | Sangoma | | extensionsettings | 17.0.1 | Enabled | GPLv3+ | Sangoma | | fax | 17.0.3.4 | Enabled | GPLv3+ | Sangoma | | featurecodeadmin | 17.0.2 | Enabled | GPLv3+ | Sangoma | | filestore | 17.0.2.26 | Enabled | AGPLv3 | Sangoma | | findmefollow | 17.0.4.10 | Enabled | GPLv3+ | Sangoma | | firewall | 17.0.1.26 | Enabled | AGPLv3+ | Sangoma | | framework | 17.0.19.8 | Enabled | GPLv2+ | Sangoma | | iaxsettings | 17.0.1 | Enabled | AGPLv3 | Sangoma | | infoservices | 17.0.1.1 | Enabled | GPLv2+ | Sangoma | | ivr | 17.0.6 | Enabled | GPLv3+ | Sangoma | | languages | 17.0.1 | Enabled | GPLv3+ | Sangoma | | logfiles | 17.0.3.3 | Enabled | GPLv3+ | Sangoma | | manager | 17.0.6 | Enabled | GPLv2+ | Sangoma | | miscapps | 17.0.3 | Enabled | GPLv3+ | Sangoma | | miscdests | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | missedcall | 17.0.1.1 | Enabled | GPLv3+ | Sangoma | | music | 17.0.5 | Enabled | GPLv3+ | Sangoma | | outcnam | 17.0.1 | Enabled | GPLv3+ | Sangoma | | outroutemsg | 17.0.1 | Enabled | GPLv3+ | Sangoma | | paging | 17.0.3 | Enabled | GPLv3+ | Sangoma | | parking | 17.0.2.5 | Enabled | GPLv3+ | Sangoma | | pbxmfa | 17.0.2.1 | Enabled | Commercial+ | Sangoma | | phpinfo | 17.0.1 | Enabled | GPLv2+ | Sangoma | | pinsets | 17.0.3.2 | Enabled | GPLv3+ | Sangoma | | pm2 | 17.0.3.2 | Enabled | AGPLv3+ | Sangoma | | presencestate | 17.0.2.4 | Enabled | GPLv3+ | Sangoma | | printextensions | 17.0.1.2 | Enabled | GPLv3+ | Sangoma | | queueprio | 17.0.1.4 | Enabled | GPLv3+ | Sangoma | | queues | 17.0.1.11 | Enabled | GPLv2+ | Sangoma | | recordings | 17.0.2.2 | Enabled | GPLv3+ | Sangoma | | restapps | 17.0.1.21 | Enabled | Commercial | Sangoma | | ringgroups | 17.0.2.4 | Enabled | GPLv3+ | Sangoma | | sangomaconnect | 17.0.1.37 | Enabled | Commercial | Sangoma | | sangomartapi | 17.0.2.7 | Enabled | Commercial | Sangoma | | setcid | 17.0.1.2 | Enabled | GPLv3+ | Sangoma | | sipsettings | 17.0.6.9 | Enabled | AGPLv3+ | Sangoma | | sms | 17.0.1.15 | Enabled | Commercial | Sangoma | | soundlang | 17.0.4.1 | Enabled | GPLv3+ | Sangoma | | sysadmin | 17.0.1.95 | Enabled | Commercial | Sangoma | | timeconditions | 17.0.1.18 | Enabled | GPLv3+ | Sangoma | | ucp | 17.0.4.21 | Enabled | AGPLv3+ | Sangoma | | userman | 17.0.6.27 | Enabled | AGPLv3+ | Sangoma | | vmblast | 17.0.2 | Enabled | GPLv3+ | Sangoma | | voicemail | 17.0.5.22 | Enabled | GPLv3+ | Sangoma | | weakpasswords | 17.0.1 | Enabled | GPLv3+ | Sangoma | | webrtc | 17.0.2.2 | Enabled | GPLv3+ | Sangoma | +---------------------+-----------+---------+-------------+-----------+
Asterisk 21.4.1
Relevant log output