DevOps Backups Fail with a Runtime Error: index out of range [0] with length 0

Article ID: 82240

Article Type: Troubleshooting

Last Modified:

DevOps backups fail with a runtime error when there is an issue with Git LFS (Large File Support).

Symptoms

panic: runtime error: index out of range [0] with length 0 appears in the GitBackupCtrl.log file.

The following are the sample error logs:

Causes

The panic in Git commands happens due to an issue with Git LFS (Large File Support).

Resolution

To fix the error, complete the following steps:

  1. Uninstall Git and Git LFS from the Windows machine.

  2. Without selecting Git LFS, install Git again.

    GIT Installation Window.png

  3. Install the latest version of Git LFS from https://github.com/git-lfs/git-lfs/releases.

  4. Verify the version by running the following command:

    git lfs --version

After verifying, run the new jobs and check if there are any other errors.

1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
Copyright © Commvault | All Rights Reserved.