Troubleshoot content issues in a remote repository. Restore
content backup package to restore missing content. contentrepository
dev-prod dev prod repo
The following instructions describe how
to troubleshoot issues with your content.
After enabling the remote repository feature or
updating content, some content is missing. To resolve this issue,
restore the content backup package that was created when you enabled
the feature or updated content.
Copy the content package from the server to your local
machine using the
backup is located at
In Cortex XSOAR, navigate to
the content package.
Missing Content History
When using characters that are not UTF-8, the version history
is not available.
Connect to the environment on which you are experiencing
the issue using SSH.
Run the following
git config --global core.quotepath off
Repository Connection Error
When attempting to commit content to the remote repository, the
following error appears:
Another git process seems to be running in this repository,
e.g.an editor opened by 'git commit'. Please make sure all processesare
terminated then try again. If it still fails, a git processmay have
crashed in this repository earlier:remove the file manually to continue.)
2020-09-15 15:34:15.9433 error VC: failed to add objects files 'automation-GetMLModelEvaluation.yml, automation-DBotMLFetchData.yml,
automation-SaneDocReports.yml, automation-DBotSuggestClassifierMapping.yml, automation-DBotTrainTextClassifierV2.yml'
to index (source: /home/circleci/.go_workspace/src/github.com/demisto/server/util/versioncontrol/versioncontrol.go:1631)(error:
exit status 128fatal: Unable to create '/var/lib/demisto/versionControlRepo/.git/index.lock':
This can occur if the server was stopped during git execution.
file located in
to solve the issue.
Content Installation Error
When installing content from the content repo, a message similar
to the following appears:
Could not create incidenttype with ID 'Phishing' and
name 'Phishing'. Version (oldVersionNumber) is not compatible with
environment version (versionNumber) [Content Pack: <contentPackName>]
Before implementing the following solution, ensure that
the content item from the error message is not detached. If the
item is detached, after you re-attach it, the change will show up
in the local changes under items and not packs.
In your development environment, upgrade the relevant content
pack, or re-install the content pack from
Installed content packs
Push the content pack that was updated as well as the relevant
items from the
tab in local changes
in the development environment.
In your production environment, pull your content.