As you may have heard, the S3 SDK has received a breaking change in recent weeks [1], this means if you are using a third party S3 service to backup MIAB you will see the error
An error occurred (MissingContentLength)
The solution according to many online posts [2] is to add the following option to either your ~/.aws/config profile or to boto3 config
request_checksum_calculation=WHEN_REQUIRED
Is there a way to make this happen in MIAB? I don’t see ~/.aws/config and I don’t know where boto3 config is located (boto3 config might be created on the fly based on values you enter in the MIAB admin backup page so maybe there is no config file at all?)
Alternatively it seems another solution would be a boto3 downgrade using pip [3] but then you would need to pin it by making a change in requirements.txt or whatever is used in your python codebase for pinning dependencies. Where would this file be located in MIAB?
thank you @Winux for submitting the PR! I did see get_duplicity_env_vars and thought about changing it but didn’t because I figured that a mailinabox update would overwrite my change. Now that you made the PR the problem can be solved for good!