gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Upgrade from 0.10.11 to 0.10.12 failed

Open datamann opened this issue 1 year ago • 7 comments

I just upgraded from 0.10.11 to 0.10.12 and when starting Gitbutler for the first time after the upgrade I got this error: Screenshot Gitbutler

I tried to remove the repository but now I'm not able to add the repository back making the app useless. I will try to remove this version completely and reinstall it.

datamann avatar Feb 20 '24 13:02 datamann

I completely removed Gitbutler, reinstalled it, logged in, added the same repository, and got the same error msg.

datamann avatar Feb 20 '24 13:02 datamann

Tried to reinstall version 0.10.11 and now get the same error. So at this point, I'm not able to use Gitbutler at all.

datamann avatar Feb 20 '24 13:02 datamann

hey @datamann, i am so sorry for this. I am investigating why this may be, but in the meantime here are some suggestions for mitigating:

  • Consider removing the project and re-adding it again.
  • If you need to extract work out of vbranches, you may get refs to them here ls -l .git/refs/gitbutler
  • It may be worth deleting the data folder of the app

Let me know if any of these help

krlvi avatar Feb 20 '24 14:02 krlvi

Thank you for your fast respons! I've tried to remove the data folder ~/Library/Application Support/com.gitbutler.app/ but had no effect. I have however not tried to remove .git/refs/gitbutler

datamann avatar Feb 20 '24 14:02 datamann

I mentioned the .git/refs/gitbutler just for you to get your data out of the virtual branches in case you have something that you need immediatelly

krlvi avatar Feb 20 '24 14:02 krlvi

BTW Just let me know if you need me to test something.

datamann avatar Feb 20 '24 14:02 datamann

Still getting the same error in version 0.10.13: image

image

However, the error seems to be related to this specific repository as I was able to add another repository and it seems to work fine, at least for now.

datamann avatar Feb 21 '24 13:02 datamann

Is this still the case with the latest version of GitButler, Version 0.11.3 (20240419.070253) at the time of writing?

Otherwise, it looks like the repository is checked out, i.e. has its .git/HEAD pointing to .git/refs/heads/gitbutler/integration, but that ref does not seem to exist. Git should also have problems in this repository, as HEAD is expected to point to a valid ref or commit unless it's a freshly initialized repository.

Maybe you could share a git status on the project that shows these issues.

Byron avatar Apr 21 '24 19:04 Byron

since it has been a while I will close this issue. I think it should definitely be fixes by now. You are always welcome to create a new github issue if this problem resurfaces.

krlvi avatar Aug 16 '24 09:08 krlvi