On First Time Full Backup: Giving up after 5 attempts. RedirectMissingLocation: Redirected but the response is missing a Location: header.

Bug #1865307 reported by Lou Santospirito on 2020-02-29
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Déjà Dup

Bug Description

After installing first time, doing a full backup: Backup fails with this message

Giving up after 5 attempts. RedirectMissingLocation: Redirected but the response is missing a Location: header.

Ubuntu Linux 18.04 LTS

deja-dup 37.1-2fakesync1ubuntu0.1

org.gnome.DejaDup last-restore ''
org.gnome.DejaDup periodic true
org.gnome.DejaDup periodic-period 7
org.gnome.DejaDup full-backup-period 90
org.gnome.DejaDup backend 'auto'
org.gnome.DejaDup last-run '2020-02-29T15:00:59+00'
org.gnome.DejaDup nag-check ''
org.gnome.DejaDup prompt-check '2020-02-07T17:34:50.775103Z'
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['$HOME', '/media/lou/e22639c6-de6f-414f-a569-ef61052e409b']
org.gnome.DejaDup exclude-list ['$TRASH', '$DOWNLOAD']
org.gnome.DejaDup last-backup '2020-02-29T15:00:59+00'
org.gnome.DejaDup allow-metered false
org.gnome.DejaDup delete-after 0
org.gnome.DejaDup.Rackspace username ''
org.gnome.DejaDup.Rackspace container 'lou-OptiPlex-9020'
org.gnome.DejaDup.S3 id ''
org.gnome.DejaDup.S3 bucket ''
org.gnome.DejaDup.S3 folder 'lou-OptiPlex-9020'
org.gnome.DejaDup.OpenStack authurl ''
org.gnome.DejaDup.OpenStack tenant ''
org.gnome.DejaDup.OpenStack username ''
org.gnome.DejaDup.OpenStack container 'lou-OptiPlex-9020'
org.gnome.DejaDup.GCS id ''
org.gnome.DejaDup.GCS bucket ''
org.gnome.DejaDup.GCS folder 'lou-OptiPlex-9020'
org.gnome.DejaDup.Local folder 'lou-OptiPlex-9020'
org.gnome.DejaDup.Remote uri ''
org.gnome.DejaDup.Remote folder 'lou-OptiPlex-9020'
org.gnome.DejaDup.Drive uuid ''
org.gnome.DejaDup.Drive icon ''
org.gnome.DejaDup.Drive folder '$HOSTNAME'
org.gnome.DejaDup.Drive name ''
org.gnome.DejaDup.GOA id ''
org.gnome.DejaDup.GOA folder 'lou-OptiPlex-9020'
org.gnome.DejaDup.GOA type 'google'
org.gnome.DejaDup.File short-name ''
org.gnome.DejaDup.File type 'normal'
org.gnome.DejaDup.File migrated true
org.gnome.DejaDup.File name ''
org.gnome.DejaDup.File path ''
org.gnome.DejaDup.File uuid ''
org.gnome.DejaDup.File icon ''
org.gnome.DejaDup.File relpath @ay []

the deja-dup.log file was empty after entering commnad DEJA_DUP_DEBUG=1 deja-dup --backup | tail -n 1000 > /tmp/deja-dup.log

Michael Terry (mterry) wrote :

Hmm, this looks like an issue with the google drive libraries used by duplicity in Ubuntu 18.04:


Could you try the snap version, which has an updated method of talking to Google?

sudo apt remove deja-dup
snap install deja-dup --classic

Changed in deja-dup:
status: New → Incomplete
Eugene (sakralbar) wrote :

I get the same error in snap version. Ubuntu 19.10, Déjà Dup 40.6

Michael Terry (mterry) wrote :

I had continued to look into this after my comment. The root cause looks like https://github.com/googleapis/google-api-python-client/issues/803, but I just released a hotfix snap fix.

I was hoping you would be slower and end up testing it after my hotfix went out, but maybe you were too fast.

Can you run the following and make sure you've got revision 297 or higher, and then try one more time, please?

snap refresh deja-dup

Eugene (sakralbar) wrote :

"installed: 40.6 (297) 132MB classic"
This time the backup went without errors. Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.