Log error: fatal: not a git repository (or any of the parent directories): .git

I’m having this issue when I’m clicking the Title of the Journal or Pages and then checking their Check page history

It will show these errors.
Screen Shot 2021-09-15 at 10.26.07 PM

These are in different times.
This happened when I reloaded the page.

This is the other error I got:

Hi @Janvier, have you enabled the Version Control in Logseq settings?

The page history will only work if there is any sort of Git integration.

Hi @mogavenasam, yes it is enabled and Git auto commit is set to 60s.

I can give you some steps to troubleshoot, but can’t guarantee that it will fix it:

  1. Navigate to the graph folder, check if you have the .git folder. This is a hidden folder, you will need to enable showing hidden files in your operating system. You can Google how to do this.
  2. If the .git folder exists, then you will need to check OS user permission. Are you running the Logseq application as the user that can access all the content under the graph folder?
  3. If that is also okay, then it’s worth restarting the Logseq application.
  4. And make sure, you are running on the latest version of Logseq - there are some bug fixes around the Version Control feature.

I hope that this helps. :slight_smile:

1 Like

Yes, the .git file is present.
I’m running it as an admin.

I think it only happens in some occasions only when I try it again it works after a while.
When I reload it, it shows again the error. So I guess this is just a minor bug. yes, I’m also running the latest version.

Thanks, I learned something new about the hidden folder. :grin:

1 Like