Is this a bug or i did something wrong?

Asked by Rus F Adrian

deja-dup 19.4
Storage is set to Ubuntu One deja-dup/deb
Files Default
I click on Back up now...
Scanning OK...
Backing Up... Failed!

with the message:
Backup location ‘/https:/one.ubuntu.com/api/file_storage/v1/~/deja-dup/deb/duplicity-full.20110626T181225Z.manifest.part’ does not exist.

If I change Storage to "deja-dup/ubu on Ubuntu One' is working but with 'deja-dup/deb' Not working.
What I did wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

This isn't your fault. What version of duplicity do you have? You can find out by running the following:

apt-cache policy duplicity

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) said :
#2

duplicity:
  Installed: 0.6.14-0ubuntu2
  Candidate: 0.6.14-0ubuntu2

Revision history for this message
Michael Terry (mterry) said :
#3

Sorry for late reply, I missed your comment. I'd be interested in the output of the following line after you reproduce the problem:

DEJA_DUP_DEBUG=1 deja-dup --backup | tail -n 200

After you get that debugging output to help me fix the problem, I have a workaround:

mv ~/.cache/deja-dup ~/.cache/deja-dup.old

And try again.

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) said :
#4

DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.u1backend Succeeded

DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ftpbackend Succeeded

DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.hsibackend Succeeded

DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.imapbackend Succeeded

DUPLICITY: INFO 1
DUPLICITY: . Main action: inc

DUPLICITY: INFO 1
DUPLICITY: . ================================================================================

DUPLICITY: INFO 1
DUPLICITY: . duplicity 0.6.14 (June 18, 2011)

DUPLICITY: INFO 1
DUPLICITY: . Args: /usr/bin/duplicity --exclude=/home/adi/Ubuntu One --exclude=/home/adi/Downloads --exclude=/home/adi/.local/share/Trash --exclude=/home/adi/.xsession-errors --exclude=/home/adi/.thumbnails --exclude=/home/adi/.gvfs --exclude=/home/adi/.adobe/Flash_Player/AssetCache --exclude=/home/adi/.cache/deja-dup --exclude=/home/adi/.cache --include=/home/adi --exclude=/sys --exclude=/proc --exclude=/tmp --exclude=** --no-encryption --volsize=25 / u1+http://deja-dup/deb --verbosity=9 --gpg-options=--no-use-agent --archive-dir=/home/adi/.cache/deja-dup --log-fd=12

DUPLICITY: INFO 1
DUPLICITY: . Linux deb 3.0-3-generic #4-Ubuntu SMP Fri Jul 1 08:20:41 UTC 2011 i686 i686

DUPLICITY: INFO 1
DUPLICITY: . /usr/bin/python 2.7.2+ (default, Jun 29 2011, 07:39:53)
DUPLICITY: . [GCC 4.6.1]

DUPLICITY: INFO 1
DUPLICITY: . ================================================================================

DUPLICITY: INFO 1
DUPLICITY: . Using temporary directory /tmp/duplicity-7V_kgj-tempdir

DUPLICITY: DEBUG 1
DUPLICITY: . Registering (mkstemp) temporary file /tmp/duplicity-7V_kgj-tempdir/mkstemp-dDHniI-1

DUPLICITY: INFO 1
DUPLICITY: . Temp has 43425021952 available, backup will use approx 34078720.

DUPLICITY: NOTICE 1
DUPLICITY: . Local and Remote metadata are synchronized, no sync needed.

DUPLICITY: DEBUG 1
DUPLICITY: . 17 files exist on backend

DUPLICITY: DEBUG 1
DUPLICITY: . 8 files exist in cache

DUPLICITY: DEBUG 1
DUPLICITY: . Extracting backup chains from list of files: ['duplicity-new-signatures.20110707T172609Z.to.20110707T172837Z.sigtar.part', 'duplicity-inc.20110707T172609Z.to.20110707T172837Z.manifest.part', 'duplicity-new-signatures.20110707T054012Z.to.20110707T172609Z.sigtar.part', 'duplicity-inc.20110707T054012Z.to.20110707T172609Z.manifest.part', u'duplicity-full.20110703T191223Z.manifest', u'duplicity-full.20110703T191223Z.vol1.difftar.gz', u'duplicity-full-signatures.20110703T191223Z.sigtar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.manifest', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol10.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol11.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol12.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol1.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol2.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol3.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol4.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol5.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol6.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol7.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol8.difftar.gz', u'duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol9.difftar.gz', u'duplicity-new-signatures.20110703T191223Z.to.20110707T054012Z.sigtar.gz']

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-new-signatures.20110707T172609Z.to.20110707T172837Z.sigtar.part is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . Ignoring file (rejected by backup set) 'duplicity-new-signatures.20110707T172609Z.to.20110707T172837Z.sigtar.part'

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110707T172609Z.to.20110707T172837Z.manifest.part is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-new-signatures.20110707T054012Z.to.20110707T172609Z.sigtar.part is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . Ignoring file (rejected by backup set) 'duplicity-new-signatures.20110707T054012Z.to.20110707T172609Z.sigtar.part'

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110707T054012Z.to.20110707T172609Z.manifest.part is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-full.20110703T191223Z.manifest is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-full.20110703T191223Z.vol1.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-full-signatures.20110703T191223Z.sigtar.gz is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . Ignoring file (rejected by backup set) 'duplicity-full-signatures.20110703T191223Z.sigtar.gz'

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.manifest is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol10.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol11.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol12.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol1.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol2.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol3.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol4.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol5.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol6.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol7.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol8.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-inc.20110703T191223Z.to.20110707T054012Z.vol9.difftar.gz is part of known set

DUPLICITY: DEBUG 1
DUPLICITY: . File duplicity-new-signatures.20110703T191223Z.to.20110707T054012Z.sigtar.gz is not part of a known set; creating new set

DUPLICITY: DEBUG 1
DUPLICITY: . Ignoring file (rejected by backup set) 'duplicity-new-signatures.20110703T191223Z.to.20110707T054012Z.sigtar.gz'

DUPLICITY: DEBUG 1
DUPLICITY: . Found backup chain [Sun Jul 3 22:12:23 2011]-[Sun Jul 3 22:12:23 2011]

DUPLICITY: INFO 1
DUPLICITY: . Added incremental Backupset (start_time: Sun Jul 3 22:12:23 2011 / end_time: Thu Jul 7 08:40:12 2011)

DUPLICITY: DEBUG 1
DUPLICITY: . Added set Thu Jul 7 08:40:12 2011 to pre-existing chain [Sun Jul 3 22:12:23 2011]-[Thu Jul 7 08:40:12 2011]

DUPLICITY: INFO 1
DUPLICITY: . Added incremental Backupset (start_time: Thu Jul 7 08:40:12 2011 / end_time: Thu Jul 7 20:26:09 2011)

DUPLICITY: DEBUG 1
DUPLICITY: . Added set Thu Jul 7 20:26:09 2011 to pre-existing chain [Sun Jul 3 22:12:23 2011]-[Thu Jul 7 20:26:09 2011]

DUPLICITY: INFO 1
DUPLICITY: . Added incremental Backupset (start_time: Thu Jul 7 20:26:09 2011 / end_time: Thu Jul 7 20:28:37 2011)

DUPLICITY: DEBUG 1
DUPLICITY: . Added set Thu Jul 7 20:28:37 2011 to pre-existing chain [Sun Jul 3 22:12:23 2011]-[Thu Jul 7 20:28:37 2011]

DUPLICITY: NOTICE 1
DUPLICITY: . Last inc backup left a partial set, restarting.

DUPLICITY: NOTICE 1
DUPLICITY: . Last full backup date: Sun Jul 3 22:12:23 2011

DUPLICITY: INFO 3
DUPLICITY: backend U1Backend
DUPLICITY: archive-dir (() /home/adi/.cache/deja-dup/c8b8f8634784c138859b4d897cd41110 dir)
DUPLICITY: chain-complete
DUPLICITY: full 20110703T191223Z 1
DUPLICITY: inc 20110707T054012Z 12
DUPLICITY: inc 20110707T172609Z 0
DUPLICITY: inc 20110707T172837Z 0
DUPLICITY: orphaned-sets-num 0
DUPLICITY: incomplete-sets-num 0
DUPLICITY: . Collection Status
DUPLICITY: . -----------------
DUPLICITY: . Connecting with backend: U1Backend
DUPLICITY: . Archive dir: /home/adi/.cache/deja-dup/c8b8f8634784c138859b4d897cd41110
DUPLICITY: .
DUPLICITY: . Found 0 secondary backup chains.
DUPLICITY: .
DUPLICITY: . Found primary backup chain with matching signature chain:
DUPLICITY: . -------------------------
DUPLICITY: . Chain start time: Sun Jul 3 22:12:23 2011
DUPLICITY: . Chain end time: Thu Jul 7 20:28:37 2011
DUPLICITY: . Number of contained backup sets: 4
DUPLICITY: . Total number of contained volumes: 13
DUPLICITY: . Type of backup set: Time: Num volumes:
DUPLICITY: . Full Sun Jul 3 22:12:23 2011 1
DUPLICITY: . Incremental Thu Jul 7 08:40:12 2011 12
DUPLICITY: . Incremental Thu Jul 7 20:26:09 2011 0
DUPLICITY: . Incremental Thu Jul 7 20:28:37 2011 0
DUPLICITY: . -------------------------
DUPLICITY: . No orphaned or incomplete backup sets found.

DUPLICITY: NOTICE 1
DUPLICITY: . RESTART: The first volume failed to upload before termination.
DUPLICITY: . Restart is impossible...starting backup from beginning.

DUPLICITY: ERROR 52 delete 'https://one.ubuntu.com/api/file_storage/v1/~/deja-dup/deb/duplicity-inc.20110707T172609Z.to.20110707T172837Z.manifest.part'
DUPLICITY: . Got status code 404

DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /tmp/duplicity-7V_kgj-tempdir/mkstemp-dDHniI-1

** (deja-dup:8889): DEBUG: DuplicityInstance.vala:570: duplicity (8916) exited with value 52

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) said :
#5

To reproduce the issue:
I click on back up now
When it say Uploading I disconnected my network connection
Retry by pressing back up now give this issue

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) said :
#6

with the connection ON I forgot to say.

* mv ~/.cache/deja-dup ~/.cache/deja-dup.old -> fix the issue

Revision history for this message
Michael Terry (mterry) said :
#7

Awesome. Also, one reason your report was so troubling to me was that I had fixed a very similar error already (or so I thought) but it turns out I had bungled the packaging so the patch wasn't applied. The original error you encountered should be gone in oneiric now. Thanks!

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) said :
#8

Thanks a lot! Keep the good work!

Revision history for this message
Jeff Balderson (jbalders) said :
#9

For anyone finding this question in the future, you can change the temporary directory of Duplicity by editing:
/usr/share/pyshared/duplicity/globals.py

And changing:
temproot = None

To:
temproot = '/var/tmp'

or some other location.

This seems to do the trick for me with about 19GB available in /var. It's too bad this isn't a configurable variable via the GUI or even a configuration file. I dislike making changes in /usr if I can avoid it.

This change may go away when Duplicity updates get applied, depending on your update settings. There are ways to prevent updates to the file, but it may cause other issues if new variables need to be added to the file via an update, but the change is prevented.

Can you help with this problem?

Provide an answer of your own, or ask Rus F Adrian for more information if necessary.

To post a message you must log in.