Currupted git file

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version: ubuntu 24.02

Product Name/Version: AMP Release “Decadeus” v2.4.8

Problem Description:

Cant update templates
get a message

This task could not be completed: Updating remote sources - Fetching latest configurations… - State: 3.

git failed on repo CubeCoders/AMPTemplates with error code 1

Updating existing remote source https://github.com/johnathanhawn/AMPTemplates.git...
Already up to date.
Updating remote source CubeCoders/AMPTemplates
Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
error: object file .git/objects/47/98fcae610137a47ccaa6f231b43302d4e46db6 is empty
fatal: loose object 4798fcae610137a47ccaa6f231b43302d4e46db6 (stored in .git/objects/47/98fcae610137a47ccaa6f231b43302d4e46db6) is corrupt

Steps to reproduce:

  • I restarted the server at the same time someone tried updating

Actions taken to resolve so far:
Remove and Re-added the repo
temp fix is I forked cube coders repo

I know there is a way to force reinstall the amp version but i cant find it

1 Like

Delete ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates. Then Fetch Latest under Instance Deployment>Configuration Repos

1 Like

That works, you rule dude