Troubleshoot editing and pushing content to Cortex XSOAR remote repository.
The following instructions describe how to troubleshoot when editing and pushing your content to the remote repository.
Invalid Signatures When Committing
When you push your content to the remote repository, you might receive the following error message: Error: Commits musthave valid signatures
.
This occurs when your Git server configuration requires that every commit must have a signature.
Connect to the remote repository server using SSH.
Run the following commands:
git--global config user.signingKey KEYID
where KEYID is your key ID.git --global config commit.gpgSign true
GIT Version Out-of-Date
When you push your content to the remote repository, you might receive the following error message: error GIT: failedexecuting [rebase [--exec=git log --max-count=1 --pretty=format:%H;printf'>';grep -o "\w\{40\}" .git/rebase-merge/done | tail -n 1 --strategyrecursive --strategy-option theirs --onto stag --root stag_workspace]]
This occurs when you have an outdated Git version on your server. You must have at least version 2.21.0.
To update your Git version:
Export the custom content by going to
→ → → → .This exports the state of the current content.
Turn off the remote repository feature on the dev server.
On your server, either download and install an updated RPM package of the Git client, or run the Demsito installer again.
Turn on the remote repository feature on the dev server.
Import the previously exported content.
This restores the local content.