Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unknown SHA1 object

Edited

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.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

226 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you