Backup Assertion Error

I’m having an odd issue with my backups. When I try to access the page to manage them, and when I get Backup Status emails they contain this message:

Traceback (innermost last):
  File "/usr/bin/duplicity", line 87, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 70, in with_tempdir
    fn()
  File "/usr/lib/python3/dist-packages/duplicity/dup_main.py", line 1577, in main
    do_backup(action)
  File "/usr/lib/python3/dist-packages/duplicity/dup_main.py", line 1599, in do_backup
    action).set_values()
  File "/usr/lib/python3/dist-packages/duplicity/dup_collections.py", line 762, in set_values
    backup_chains)
  File "/usr/lib/python3/dist-packages/duplicity/dup_collections.py", line 775, in set_matched_chain_pair
    sig_chains = sig_chains and self.get_sorted_chains(sig_chains)
  File "/usr/lib/python3/dist-packages/duplicity/dup_collections.py", line 992, in get_sorted_chains
    assert len(chain_list) == 2
 AssertionError

Something is wrong with the backup: ERROR 30 AssertionError
. Traceback (innermost last):
.   File "/usr/bin/duplicity", line 87, in <module>
.     with_tempdir(main)
.   File "/usr/bin/duplicity", line 70, in with_tempdir
.     fn()
.   File "/usr/lib/python3/dist-packages/duplicity/dup_main.py", line 1577, in main
.     do_backup(action)
.   File "/usr/lib/python3/dist-packages/duplicity/dup_main.py", line 1599, in do_backup
.     action).set_values()
.   File "/usr/lib/python3/dist-packages/duplicity/dup_collections.py", line 762, in set_values
.     backup_chains)
.   File "/usr/lib/python3/dist-packages/duplicity/dup_collections.py", line 775, in set_matched_chain_pair
.     sig_chains = sig_chains and self.get_sorted_chains(sig_chains)
.   File "/usr/lib/python3/dist-packages/duplicity/dup_collections.py", line 992, in get_sorted_chains
.     assert len(chain_list) == 2
.  AssertionError
.

Did you find any more information about this error. I am receiving the same error.

Are you running an arm64 or x86 instance?
Read here how to install a snap version of it. Each update you have to rerun the steps.

strong text[SOLVED] The latest release of duplicity is missing the duplicity binary

I’m sorry for not getting back to you sooner. I ended up running the manual version upgrade, which fixed the issue for me.