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:
Image
samueldebruyn/debian-git
Err:5 security.debian.org/debian-security stable/updates Release
404 Not Found [IP: 199.232.166.132 80]
Reading package lists...
E: The repository 'security.debian.org/debian-security stable/updates Release' does not have a Release file.
EDIT:
Seems like there is a problem with Debian 11 security files not being compatable.
https://stackoverflow.com/questions/68787732/debian-11-update-broke-samueldebruyn-debian-git
More info on the issue here.
https://github.com/debuerreotype/docker-debian-artifacts/issues/134
SOLUTIONS :
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
image: samueldebruyn/debian-git
no longer working is to use
image: image: bitnami/git
Hope this helps someone.