You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi, all of a sudden pipelines can no longer push to remote servers via FTP - has been working well for years.
No matter what I try and just get back "Unknown SHA1 object"
Every time it simply wants to try and "re-upload" all the files to the remote server as a solution.
I have hundreds of files (1.5g) and and pushing out to several sites - so this is not really an option.
Is there some way of setting these remote hash files to a specific hash so that things can proceed or someway of fixing this - incredibly frustrating.
git config git-ftp.syncroot .
To add to this:
I was using this image from docker hub which is throwing the errors:
Err:5 security.debian.org/debian-security stable/updates Release
404 Not Found [IP: 184.108.40.206 80]
Reading package lists...
E: The repository 'security.debian.org/debian-security stable/updates Release' does not have a Release file.
Seems like there is a problem with Debian 11 security files not being compatable.
More info on the issue here.
For remote FTP hash keys that are out of sync - get a previous one that works and paste it into your git-ftp.log file on your remote server. You can get this by viewing the actual update files and the key is at the top.
Temporary solution for the
no longer working is to use
image: image: bitnami/git
Hope this helps someone.