Anyone know what this error is and how to fix it?
I’m going to assume this occurred after an update, since things had been running fine for some months now. I’m on mycroft 20.2.1.
error: cannot lock ref ‘refs/remotes/origin/feature/voight-kampff-pr’: unable to resolve reference ‘refs/remotes/origin/feature/voight-kampff-pr’: reference broken
New feature branch that just went it, did you recently update from git?
I went with on my picroft with ssh to the .git folder and copied the file somewhere else
mv refs/remotes/origin/feature/voight-kampff-pr /tmp
I personally didn’t update it, no. It updated its self.
As for doing this - mv refs/remotes/origin/feature/voight-kampff-pr /tmp
It did stop the error, but now mycroft just starts and doesn’t appear to do anything.
Just tells me to wait while finish booting up, but I can see under cli nothing is going on.
Ahh… I’m sorry I hope it did not destroy something with idea. My Picroft was working again after that.
I got the ideas what this error could mean, from here:
I appreciate the suggestion and it wasn’t working before I moved the file. So no need to be sorry.
I’d try git prune to clean up the broken references.
After SSHing into your Picroft and hitting
ctrl+c to exit the CLI
git remote prune origin
If you’d like you can do a dry-run first to see what the command will do using:
git remote prune -n origin
This should nix the broken reference and get everything working again.
Thanx for the reply.
I ended up just reinstalling and moving my old configs, scripts and skills back into place.