Comment 2 for bug 1883129

Revision history for this message
Michael Terry (mterry) wrote : Re: Quite crash while restoring from Google drive

That sounds very frustrating! I'm sorry this bug is hitting you.

This doesn't sound familiar to me. And you're right that that log isn't very useful... And it doesn't sound like Deja Dup is actually crashing-crashing, which would at least let us know where the problem is.

I'm not sure what the next step to debug this would be...

You were just doing a dry run yeah? So you don't need emergency measures like using duplicity directly on the command line.

Oh! I've got an idea. There is support for using policykit to elevate Deja Dup to root privileges for a restore, if we think we are restoring something outside of HOME. This can (A) sometimes prompt if it doesn't *really* need to -- like a file is outside HOME but can still be written to and (B) doesn't have great fallback code if policykit isn't functioning. (which might be as dumb as simply aborting the restore without a message?)

It *might* be hitting that (B) scenario on a VM maybe? There is an easy way to test by instead of restoring files to their original locations (which might be outside HOME) and instead restore to a file of your choosing inside your HOME.

Try that and let me know?

I'm actively (as I type this!) in the middle of working on a replacement system that will avoid using policykit.