mustbeart
Forum Replies Created
-
Update. I spent a long while on chat with a DreamHost tech support person working in my timezone, and they were unable to solve the problem while I waited. Eventually they decided to let me go and email me the results of further testing. By that time they just wanted to blame it on my ISP. I can’t prove that’s wrong, but I don’t believe it’s right. I don’t think the tech I worked with was a networking expert.
One surprising new observation from the tech support session: SFTP initiated from home to DreamHost does work from Windows 8 using psftp (comes with PuTTY) OR FileZilla, even though it fails (stalls out during the transfer) for the traditional sftp client on Linux or macOS. Some difference in the protocol implementation? I don’t know.
At this point my plan is to take evasive action. I have plenty of room on my paid Dropbox account, and I’ve had good luck with <other plugin, redacted> which supports backup to Dropbox, so I’m going to use that for backup. Maybe consider this a vote for adding Dropbox support!
I haven’t tried to contact the person at DreamHost support yet. Been busy. Also, I’m in California so his working hours are not very convenient for me.
I wanted to accurately answer your question about previous success using SFTP. The answer seems to be that SFTP to my host works fine from most anywhere except DreamHost. It works from inside my LAN. It works from an Azure VM. But from DreamHost, a command-line SFTP fails the same way every time: the transfer starts, moves a small amount of data, and then stalls, eventually failing with a broken pipe error.
So this would appear to be entirely a DreamHost issue, and probably not a BoldGrid issue.
I probably should have guessed as much. Looking back at my emails with DreamHost, I see that over a year ago I reported a similar problem with SFTP *to* DreamHost, and it was never resolved. I can try again.
-Paul
OK, I have followed the instructions in the video. One glitch with the instructions is that the “Upload” button does not exist for backups in the archive that were already configured for SFTP. The system thinks it has already been uploaded successfully, and just says “Uploaded” with a check mark in front. (There probably ought to be a re-upload button in case the user has somehow lost the uploaded file.) No big problem for this experiment, though. I just chose a backup that was made before I configured SFTP.
Where the “Upload” button was, it now says “Unable to upload backup file. Unable to upload file.” with an X in front of it. And oops, that status does not stick if I leave the archive details screen and come back later. Now it says “Uploaded” with a checkmark, like the others.
Here is the ftp log file. I have redacted my username and site name.
[2020-08-24 19:43:31 UTC] PHP Version: 7.3.15
[2020-08-24 19:43:31 UTC] WordPress Version: 5.5
[2020-08-24 19:43:31 UTC] Total Upkeep version: 1.14.3
[2020-08-24 19:43:31 UTC] ——————————————————————————–
[2020-08-24 19:43:31 UTC] Beginning Boldgrid_Backup_Admin_Ftp::upload…
[2020-08-24 19:43:31 UTC] Local path: /home/XXXXXXXX/boldgrid_backup/boldgrid-backup-www.XXXXXXXX.XXX.dream_.website-9c4fcad2-20200823-033003.zip / 156589186
[2020-08-24 19:43:31 UTC] Remote path: boldgrid-backup-XXXXXXXX-WordPress/boldgrid-backup-www.XXXXXXXX.XXX.dream_.website-9c4fcad2-20200823-033003.zip
[2020-08-24 19:43:31 UTC] Connecting…
[2020-08-24 19:43:31 UTC] Logging in…
[2020-08-24 19:43:33 UTC] Beginning upload…
[2020-08-24 19:43:59 UTC] Last error: Array
(
[type] => 8
[message] => fputs(): send of 224 bytes failed with errno=32 Broken pipe
[file] => /home/XXXXXXXX/XXXXXXXX.XXX/wp-content/plugins/boldgrid-backup/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php
[line] => 3965
)[2020-08-24 19:43:59 UTC] Upload status:
==========
That’s it, the log file ends with “Upload status: ”The resulting file was 163695 bytes, the exact same size as two of the others. (I’ve also seen 196434 bytes.)
-Paul
- This reply was modified 5 years, 9 months ago by mustbeart.
1. This is a first-time setup. I haven’t seen an SFTP backup work.
2. I tried both ways with the same results.
3. Yes, the backup shows as 150MB on the server but only 150K-ish is transferred to the SFTP host.
Yes, I can view the backup and browse the files on the server.
-Paul