Open crc128 opened 3 years ago
I have basically the same issue. I already had s3 backup configured prior to upgrade. After upgrade backup does not work anymore. Error message is:
Giving up after 5 attempts. ModuleNotFoundError: No module named 'boto3' Something is wrong with the backup: Attempt of list Nr. 1 failed. ModuleNotFoundError: No module named 'boto3' WARNING 1 . Attempt of list Nr. 1 failed. ModuleNotFoundError: No module named 'boto3'
I too have the same issue but on v0.56
Giving up after 5 attempts. ModuleNotFoundError: No module named 'boto3' Something is wrong with the backup: Attempt of list Nr. 1 failed. ModuleNotFoundError: No module named 'boto3' WARNING 1
Hello, my backups have stopped working due to boto3. The error message I'm now getting is below. It says that we must upgrade to Python 3.7. Is MiaB supported in Python 3.7?
Thanks.
`/usr/local/lib/python3.6/dist-packages/boto3/compat.py:88: PythonDeprecationWarning: Boto3 will no longer support Python 3.6 starting May 30, 2022. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.7 or later. More information can be found here: https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/ warnings.warn(warning, PythonDeprecationWarning) Giving up after 5 attempts. AttributeError: 'NoneType' object has no attribute 'objects' Something is wrong with the backup: Attempt of list Nr. 1 failed. ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden WARNING 1 . Attempt of list Nr. 1 failed. ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden
Attempt of list Nr. 2 failed. AttributeError: 'NoneType' object has no attribute 'objects' WARNING 1 . Attempt of list Nr. 2 failed. AttributeError: 'NoneType' object has no attribute 'objects'
Attempt of list Nr. 3 failed. AttributeError: 'NoneType' object has no attribute 'objects' WARNING 1 . Attempt of list Nr. 3 failed. AttributeError: 'NoneType' object has no attribute 'objects'
Attempt of list Nr. 4 failed. AttributeError: 'NoneType' object has no attribute 'objects' WARNING 1 . Attempt of list Nr. 4 failed. AttributeError: 'NoneType' object has no attribute 'objects'
ERROR 50 list . Giving up after 5 attempts. AttributeError: 'NoneType' object has no attribute 'objects'`
The solution posted in discourse worked for me. Downgrade Duplicity.
https://discourse.mailinabox.email/t/cannot-backup-since-duplicity-update/9119
Backups to Amazon S3 stop working after update to MIAB v0.52. Backups working as expected prior to update.
When trying to add an S3 backup the following error message is given.
This is a standard MIAB install on Ubuntu 18.04.5. Manual installation of BOTO and BOTO3 does not fix the issue.