Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello Dataiku community,
I have recently encountered an issue when trying to commit to Git from Dataiku. The error message I'm receiving is as follows:
"Failed to commit to Git a previously scheduled commit, caused by: CodedIOException: Unable to commit transaction, caused by: JGitInternalException: Exception caught during execution of add command, caused by: CorruptObjectException: Not a DIRC file."
This error has suddenly appeared while I was working on my project, and I haven't made any significant changes or configurations before it occurred. I am using Dataiku for development and collaboration in my project, and I have been working with Git to manage the version control of my code.
I have tried restarting my computer and checking the Git configurations, but the issue persists. I'm wondering if anyone else has experienced this error in Dataiku and if there are any known solutions or troubleshooting steps that I could try.
I would greatly appreciate any help or suggestions you can provide to resolve this problem. If you need any more information or additional details about my setup or specific steps I've taken, I'm more than willing to provide them.
Thank you in advance for your assistance!
It appears that your local repository is corrupted. I would suggest reading the following document and backing up your project: Recovering from Repository Corruption.
You can attempt a repair operation:
* Stop DSS
* Go to the config/projects/XXX (project directory)
* Run the "git fsck" command. If it confirms dangling objects, try "git fsck --lost-found"
* Restart DSS and try again
* Stop DSS
* cd config/projects/XXX
* rm -rf .git
* git init
* git add -a
* git commit -m "reimport"
* start DSS
* Stop DSS
* Set aside (elsewhere) the config/projects/XXX (project directory)
* Restore this directory from your backup
* Restart DSS
You will find your project in the state of the last backup