[Bug 1177381] Re: Duplicity can't find its own tempdir
** Changed in: duplicity Status: In Progress => Fix Released ** Changed in: duplicity Assignee: Kenneth Loafman (kenneth-loafman) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
** Changed in: duplicity Milestone: 0.8.01 => None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
** Changed in: duplicity Milestone: 0.8.00 => 0.8.01 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
I guess I have a related error. Initially I used deja-dup for the backup on ubuntu 17.10, but it fails silently since weeks. So I manually launched duplicity to find what is the error and it is quite cryptic : PASSPHRASE= duplicity incremental --progress --full-if-older- than 90D --exclude --exclude --exclude -v 5 --allow-source-mismatch scp:// [... lots of messages that add or remove files ...] Suppression de /tmp/duplicity-CPdG9t-tempdir/mktemp-V8VeTq-16 AsyncScheduler: tâche achevée avec succès Volume 14 traité Le nettoyage du dossier temporaire /tmp/duplicity-CPdG9t-tempdir a échoué - ceci est probablement un bogue. Traceback (most recent call last): File "/usr/bin/duplicity", line 1546, in with_tempdir(main) File "/usr/bin/duplicity", line 1540, in with_tempdir fn() File "/usr/bin/duplicity", line 1391, in main do_backup(action) File "/usr/bin/duplicity", line 1522, in do_backup incremental_backup(sig_chain) File "/usr/bin/duplicity", line 671, in incremental_backup globals.backend) File "/usr/bin/duplicity", line 432, in write_multivol globals.volsize) File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 352, in GPGWriteFile file = GPGFile(True, path.Path(filename), profile) File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 125, in __init__ self.logger_fp = tempfile.TemporaryFile(dir=tempdir.default().dir()) File "/usr/lib/python2.7/tempfile.py", line 511, in TemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags) File "/usr/lib/python2.7/tempfile.py", line 244, in _mkstemp_inner fd = _os.open(file, flags, 0600) OSError: [Errno 2] No such file or directory: '/tmp/duplicity-CPdG9t-tempdir/tmpRtxeME' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
If I restart the backup it has not completed: $ duplicity --no-encryption /home/ file:/// Local and Remote metadata are synchronized, no sync needed. Last full backup left a partial set, restarting. Last full backup date: Thu Mar 30 13:08:19 2017 RESTART: Volumes 6223 to 6223 failed to upload before termination. Restarting backup at volume 6223. Restarting after volume 6222, file , block 909 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
Traceback (most recent call last): File "/usr/bin/duplicity", line 1532, in with_tempdir(main) File "/usr/bin/duplicity", line 1526, in with_tempdir fn() File "/usr/bin/duplicity", line 1380, in main do_backup(action) File "/usr/bin/duplicity", line 1501, in do_backup full_backup(col_stats) File "/usr/bin/duplicity", line 567, in full_backup globals.backend) File "/usr/bin/duplicity", line 435, in write_multivol vi.set_hash("SHA1", gpg.get_hash("SHA1", tdp)) File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 434, in get_hash fp = path.open("rb") File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 560, in open result = open(self.name, mode) IOError: [Errno 2] No such file or directory: '/tmp/duplicity-CGgEx3-tempdir/mktemp-PKzuQG-6225' $ ls -ld /tmp/duplicity-CGgEx3-tempdir/mktemp-PKzuQG-6225 ls: cannot access '/tmp/duplicity-CGgEx3-tempdir/mktemp-PKzuQG-6225': No such file or directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
** Changed in: duplicity Milestone: None => 0.7.11 ** Changed in: duplicity Milestone: 0.7.11 => 0.8.00 ** Changed in: duplicity Importance: Undecided => Medium ** Changed in: duplicity Status: New => In Progress ** Changed in: duplicity Assignee: (unassigned) => Kenneth Loafman (kenneth-loafman) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1177381] Re: Duplicity can't find its own tempdir
@Michael, I'm looking as well. My gut says that something got threaded and we're not joining at the end of the run, but I cannot find any indication of that at all. On Wed, Dec 14, 2016 at 5:48 PM, Karl <1177...@bugs.launchpad.net> wrote: > I'm using a laptop with my power settings set to "Do nothing" when the lid > is closed. However, I can replicate this by starting duplicity, waiting > for it to get going, then closing my laptop lid. > I think Ubuntu is cleaning the temp files out from under Duplicity? > > I'm using Ubuntu 16.10 (so gpg has been replaced with gpg2), gpg2 version > 2.1.15, and duplicity version 0.7.07.1. > It sounds like Ubuntu has changed /tmp cleanup; see this post: > http://askubuntu.com/a/857154 > > -- > You received this bug notification because you are subscribed to > duplicity in Ubuntu. > https://bugs.launchpad.net/bugs/1177381 > > Title: > Duplicity can't find its own tempdir > > Status in Duplicity: > New > Status in duplicity package in Ubuntu: > Confirmed > > Bug description: > My backups have been working normally for months, but today they > failed with this error: > > Failed with an unknown error: > Traceback (most recent call last): > File "/usr/bin/duplicity", line 1411, in > with_tempdir(main) > File "/usr/bin/duplicity", line 1404, in with_tempdir > fn() > File "/usr/bin/duplicity", line 1386, in main > incremental_backup(sig_chain) > File "/usr/bin/duplicity", line 581, in incremental_backup > globals.backend) > File "/usr/bin/duplicity", line 394, in write_multivol > vi.set_hash("SHA1", gpg.get_hash("SHA1", tdp)) > File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 401, > in get_hash > fp = path.open("rb") > File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 542, > in open > result = open(self.name, mode) > IOError: [Errno 2] No such file or directory: '/tmp/duplicity-rWgqMw- > tempdir/mktemp-fvN6e5-5' > > ProblemType: Bug > DistroRelease: Ubuntu 13.04 > Package: deja-dup 26.0-0ubuntu1 > ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8 > Uname: Linux 3.8.0-19-generic x86_64 > NonfreeKernelModules: nvidia > ApportVersion: 2.9.2-0ubuntu8 > Architecture: amd64 > Date: Tue May 7 09:12:25 2013 > InstallationDate: Installed on 2010-09-17 (962 days ago) > InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 > (20100901.1) > MarkForUpload: True > ProcEnviron: >TERM=xterm >PATH=(custom, no user) >XDG_RUNTIME_DIR= >LANG=en_US.UTF-8 >SHELL=/bin/bash > SourcePackage: deja-dup > UpgradeStatus: Upgraded to raring on 2013-01-25 (101 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
I'm using a laptop with my power settings set to "Do nothing" when the lid is closed. However, I can replicate this by starting duplicity, waiting for it to get going, then closing my laptop lid. I think Ubuntu is cleaning the temp files out from under Duplicity? I'm using Ubuntu 16.10 (so gpg has been replaced with gpg2), gpg2 version 2.1.15, and duplicity version 0.7.07.1. It sounds like Ubuntu has changed /tmp cleanup; see this post: http://askubuntu.com/a/857154 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
I'm having a hard time figuring out why this would happen just from examining the code. If someone knows a way to reproduce this, that would be a huge help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1177381] Re: Duplicity can't find its own tempdir
Bug 922101 might be related. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177381 Title: Duplicity can't find its own tempdir To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs