Category:
Updated

Exception caught during execution of reset command

Issue

Sometimes during git operations (mostly when changing a git branch), the following error occurs: Error while accessing the file system. Exception caught during execution of reset command. Cannot lock /appsmith-stacks/git**

Resolution

While the cause of this error has not been fully understood, the workaround to get unblocked is to log in to your server, go to the path specified in the error message appsmith-stacks/git-***/.git/ and delete the index.lock file manually. 

This will resolve the issue.