To resolve the issue with Forge backups not working due to the AWS CLI update, you can downgrade the AWS CLI to a version that is known to work correctly with your object storage provider. Here’s how you can do it:
Downgrade AWS CLI
-
Uninstall the Current AWS CLI Version:
First, you need to uninstall the current version of the AWS CLI. You can do this by running the following command:
sudo apt remove awscliIf you installed it using a different method (e.g., pip, homebrew), make sure to use the appropriate command to uninstall it.
-
Install a Specific Version of AWS CLI:
You can download and install the last known good version (v2.22.35) directly from the AWS CLI version archive. Here’s how you can do it:
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.35.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/installMake sure to replace the URL with the appropriate one if you are using a different operating system.
-
Verify the Installation:
After installation, verify that the correct version is installed by running:
aws --versionThis should output something like
aws-cli/2.22.35.
Additional Considerations
- Check for Compatibility: Ensure that any scripts or tools you are using are compatible with the version you are downgrading to.
- Monitor for Updates: Keep an eye on updates from AWS and your object storage provider for any patches or updates that might resolve the issue without needing a downgrade.
- Alternative Solutions: If downgrading is not feasible, consider using a different tool or method for backups that does not rely on the AWS CLI or SDKs affected by this change.
By following these steps, you should be able to restore functionality to your Forge backups using the AWS CLI.