wikijs and GIT backup #5074
Replies: 5 comments 19 replies
-
I would suggest using the Purge Local Repository action, under Admin > Storage > Git. This will clear the local repository and recreate it. You can then do a Force Sync. |
Beta Was this translation helpful? Give feedback.
-
@NGPixel I also can confirm this bug, and I dug into it a bit. It occurs when uploading multiple assets or sometimes back to back assets updates. the problem appears to be a race condition. The first asset is still adding/commiting and the git process still has the lock. The second asset then tries to do the same thing, but git fails to grab the lock and fails out. I am willing to help out with a PR, but not sure what the best way to approach this just yet. |
Beta Was this translation helpful? Give feedback.
-
@NGPixel hello. Is there will be bugfix for this issue ? |
Beta Was this translation helpful? Give feedback.
-
I opened a PR that appears to fix this on my end. #6511 it is a one line change if anyone wants to test it out in their environment as well. |
Beta Was this translation helpful? Give feedback.
-
Hi I have searched and not found any answers. I have been using Wikijs for about 6 months in Docker using portainer. I have it backing up to github everything was working fine. 3 days ago it stopped backing up and gives this error "error: cannot pull with rebase: Your index contains uncommitted changes. error: please commit or stash them"
1 I have tried using "git stash " and "git pull -rebase" using CLI in wikijs It just tells me I don't have a repo /shrug
Is there somewhere with some step by step to work through this ??
I fixed it buy running untracked changes for like the 10th time not sure what is going on but she finally started sycning
Beta Was this translation helpful? Give feedback.
All reactions