mirror of
https://github.com/requarks/wiki.git
synced 2026-03-02 22:57:36 -05:00
Git backend storage give-up on sync #1630
Labels
No labels
BETA
BETA
accessibility
backlog
bug
can't replicate
contrib-easy
contrib-hard
contrib-medium
deferred
documentation
duplicate
duplicate
editors
enhancement
invalid
localization
migrate
ui
under review
v3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wiki#1630
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lunik on GitHub (Jun 18, 2020).
Originally assigned to: @NGPixel on GitHub.
Describe the bug
When Git backend storage fail for some reason (git server restarting for exemple), the storage function fail (obviously). But when the git service is back up, WikiJS never try to save again. It stay in error mode.
To Reproduce
Steps to reproduce the behavior:
Gitas storage backendAdditional steps :
Force SyncExpected behavior
WikiJS should always try to sync even if the previous sync failed (maybe with a cooldown)
Screenshots
N/A
Host Info (please complete the following information):
Additional context
Add any other context about the problem here.
@jmvaswani commented on GitHub (Nov 26, 2023):
Hi !
I would like to contribute to this issue, I currently have my dev environment setup, and I think I need to start off by learning about the scheduler that you guys use.
Can you please guide me to understanding the scheduler workflow? Also any info on the global WIKI object would be super helpful as well.. Thanks!
@jmvaswani commented on GitHub (Dec 20, 2023):
Hey, I could not reproduce this problem on the development environment, any idea if it has been fixed? Perhaps we could close this issue
Steps performed by me
@imysl0 commented on GitHub (Aug 28, 2024):
Hi @jmvaswani :
Would you be interested in fixing this issue? I've encountered this problem, but I'm unsure how to fix it:
@jmvaswani commented on GitHub (Sep 9, 2024):
Hi @imysl0. Can you explain how did you encounter the issue ? I tried to reproduce it on my dev setup, but didn't have much luck there
@imysl0 commented on GitHub (Sep 10, 2024):
Hi @jmvaswani :
The link below is an example of using a submodule.
how-to-use-git-submodules
On this basis,
This is the issue I encountered:
-[ ] The current Git synchronization module is unable to synchronize with a Git repository that contains submodules
Additionally, I encountered another issue where, after different users made modifications and committed them in the Git repository, Wiki.js would pick up these changes and record them in its own database. However, the page's modifier was always the Wiki.js administrator, not the Git commit author. I attempted to fix this issue but was unsuccessful. I have documented my efforts here for reference.
discussions/7274
@BPowell76 commented on GitHub (Nov 16, 2024):
Did the commit actually go through though? It says the operation was successful, but do the changes actually show up in the remote repo?