Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why has my FTP Push stopped working?

Kosta Kondratenko December 10, 2018

Hi,

BitBucket used to push to my FTP every time a change was deployed - but now when I try it doesn't happen. I checked the 'Pipelines' and saw this in the most recently Pipeline commit:

 git-ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD wetcheck.com.auUnknown SHA1 object, make sure you are deploying the right branch and it is up-to-date.Do you want to ignore and upload all files again? [y/N]: Aborting...

Since I am not in the console and can't really select ignore y/n I wasn't sure what this meant. It seems to me that the ftp username and ftp password are correct but it is saying 'Unknown SHA1 object' - is this something to do with my commits not being on the right branch etc.? Is there anything I can do to make everything work again?

Any input much appreciated.

Thanks

1 answer

0 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 10, 2019

Hi @Kosta Kondratenko

What docker image are you using for your step? And what version of git and git ftp are you using?

In the meantime, this answer might help you

https://community.atlassian.com/t5/Bitbucket-questions/Pipeline-builds-fine-FTP-commits-in-pipeline-show-no-error-but/qaq-p/817418 ?

Otherwise performing

git config git-ftp.syncroot .

might help too. 

Let me know how it goes!

Cheers,

Davina

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events