Unable to restore after Ubuntu reinstall

Asked by Mauro Giacomazzi on 2018-03-13

I had Ubuntu 16.04 LTS 64bit that gave me problems. I did a backup of my Home into an external Hard Disk using the included Backup (deja-dup) included in the Ubuntu installation. Then I reinstalled Ubuntu 16.04 LTS (new version 16.04.2 amd64 bit) deleting entirely the previous install and now the OS works fine again.
When I tried to restore the previous Backup but the restore failed and gave me the following message:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1532, in <module>
  File "/usr/bin/duplicity", line 1526, in with_tempdir
  File "/usr/bin/duplicity", line 1380, in main
  File "/usr/bin/duplicity", line 1405, in do_backup
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 721, in set_values
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 734, in set_matched_chain_pair
    sig_chains = sig_chains and self.get_sorted_chains(sig_chains)
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 951, in get_sorted_chains
    assert len(chain_list) == 2

I really need my data back and I'm almost desperate after one day of search into every possible source.
Thank you in advance.

Question information

English Edit question
Needs information
Déjà Dup Edit question
No assignee Edit question
Last query:
Last reply:
19 hours ago
Vej (vej) said : #1


Could you provide us with the following informations please (which might help us in identifying the problem):

1. The distribution of Linux you're using:
    lsb_release -d

2. The version of deja-dup and duplicity:
    (if on Ubuntu or Debian:)
    dpkg-query -W deja-dup duplicity

    (if on Fedora or other RPM-based systems:)
    rpm -q deja-dup duplicity

3. The file /tmp/deja-dup.gsettings after running the following line (you may want to scrub the file of any incriminating file names or details):
    gsettings list-recursively org.gnome.DejaDup > /tmp/deja-dup.gsettings

4. The file /tmp/deja-dup.log after running the appropriate line below and replicating the problem (you may want to scrub the log of any incriminating file names or details):

 * If you're having problems restoring:
    DEJA_DUP_DEBUG=1 deja-dup --restore | tail -n 1000 > /tmp/deja-dup.log



Vej (vej) said : #2

I also want to point you to "When Everything Goes Wrong" in the Gnome Wiki, which contains a procedure for restoring data in case of bugs:


Can you help with this problem?

Provide an answer of your own, or ask Mauro Giacomazzi for more information if necessary.

To post a message you must log in.