"Permission Denied" error doesn't display problem path

Bug #799434 reported by Vince Kimball
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Déjà Dup
Triaged
Low
Unassigned

Bug Description

My first attempt at backing up with Deja Dup fails with the message "Backup Failed: Permission Denied" I don't see any way to troubleshoot further. An sftp icon does appear on the desktop prior to the error message.

I'm running Ubuntu 11.04 amd64.
deja-dup 18.1.1-0ubuntu1
duplicity 0.6.13-0ubuntu1

Revision history for this message
Vince Kimball (vince-vkimball) wrote :
Revision history for this message
Vince Kimball (vince-vkimball) wrote :

Attached is the deja-dup.log file. It is empty.

Revision history for this message
Michael Terry (mterry) wrote :

Without the deja-dup.log file, I can't do much. It really should have content if you got an error. Are you sure that you actually reproduced the bug when running the debug command?

Changed in deja-dup:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Vince Kimball (vince-vkimball) wrote :

Yes, but I'll try it again.

Revision history for this message
Vince Kimball (vince-vkimball) wrote :

Okay, I've figured out the problem. I had to find and enter the full path to my backup folder on the sftp server. I was using a relative path.

Revision history for this message
Michael Terry (mterry) wrote :

Ah... That makes sense. DD will put in that first slash for you if you leave it off.

But there's still a bug here, that it was so unclear what was going on. The error message should be better.

Changed in deja-dup:
importance: High → Low
status: Incomplete → Triaged
Michael Terry (mterry)
summary: - Backup Fails with "Permission Denied"
+ "Permission Denied" error doesn't display problem path
Revision history for this message
Benchrest (benchrest) wrote :

I am so frustrated. I have the same problem and no where can I find an example how to code the full path name. My server (another pc with OPENSSH server installed) is 192.168.1.101. The user is loveafair65. I am just trying to backup a small folder to learn how to use this apparent good product.
I have tried:
192.168.1.101/BackupDejaDup (a folder I created on my other machine)
 /sftp://loveafair65@192.168.1.101/BackupDejaDup
/sftp://loveafair65@192.168.1.101/home/loveafair65/BackupDejaDup

and a number of other ideas. This is not just with Deja Dup. But so many linux directions assume the user knows how to code something. I wish Vince had entered how he coded the full path.

Revision history for this message
Michael Terry (mterry) wrote :

Hello, Benchrest! What version of Deja Dup? I suspect you can enter what you want by doing the following:

Selecting "SSH" for the backup location.
Entering 192.168.1.101 for the server.
Entering loveafair65 for the user.
Entering /home/loveafair65/BackupDejaDup for the folder.

Revision history for this message
Benchrest (benchrest) wrote :

That worked, thankyou

Revision history for this message
Florian Ludwig (vierzigundzwei) wrote :

It seems to be still the case that Deju Dup does not provide helpful error messages and no log message at all.

Maybe as a first step clarify if the permission problem is locally or with the backup destination.

Revision history for this message
Ruben (ghostkeeper) wrote :

The DejaDup version included in Ubuntu 18.04 still has this problem.
This worked for me:

stfp://server.net/home/ghostkeeper/backups/laptop

However my natural instinct was to type this:

sftp://<email address hidden>/backups/laptop

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

Other bug subscribers

Remote bug watches

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