fatal: Could not upload file: 'path/.git-ftp.log'., exiting...

kylestarr February 10, 2018

I'm setting up my first pipeline. I want to pull the most recent code from my site to my repo's master branch.

However, my pipeline chokes at the following step:

+ git ftp catchup --user $SFTP_username --passwd $SFTP_password --verbose sftp://ftp.domain/wp-content/themes/chunk-child/
Sat Feb 10 19:43:03 UTC 2018: Host is 'ftp.domain'.
Sat Feb 10 19:43:03 UTC 2018: User is 'username'.
Sat Feb 10 19:43:03 UTC 2018: Password is set.
Sat Feb 10 19:43:03 UTC 2018: Path is 'wp-content/themes/chunk-child/'.
Sat Feb 10 19:43:03 UTC 2018: Syncroot is ''.
Sat Feb 10 19:43:03 UTC 2018: CACert is ''.
Sat Feb 10 19:43:03 UTC 2018: Insecure is ''.
Sat Feb 10 19:43:03 UTC 2018: Uploading commit log to sftp://ftp.domain/wp-content/themes/chunk-child/.git-ftp.log.

curl: (78) Creating the dir/file failed: No such file or directory
Sat Feb 10 19:43:04 UTC 2018: fatal: Could not upload file: 'wp-content/themes/chunk-child/.git-ftp.log'., exiting...
Sat Feb 10 19:43:04 UTC 2018: fatal: Could not upload., exiting...

Any help is greatly appreciated.

1 answer

0 votes
kylestarr February 10, 2018

Turns out it was a simple pathing error. WordPress hosting via Dreamhost paths are organized as follows:

sftp://domain.com//home/username/domain.com/wp-content

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events