git-auto-sync
git-auto-sync copied to clipboard
"git-auto-sync-daemon is NOT Running!"
macOS Monterey 12.5, M1 Mac
I've set up git-auto-sync
and it has successfully synced my repo, then I added the repo to the daemon. When I run git-auto-sync daemon status
I receive the following message:
git-auto-sync-daemon is NOT Running!
Monitoring -
/my/chosen/directory
How do I get the daemon to start?
@lowercasename thanks for reporting it. I am also facing the same problem. Have you been able to find a solution?
I am facing the same problem. I upate the service mod and build myself, then fix the promblem. see https://github.com/GitJournal/git-auto-sync/pull/17
I am facing the same problem. I upate the service mod and build myself, then fix the promblem. see #17
I am facing the same problem on Mac. Could you please show the detail way?
I'm facing the same problem:
➜ git-auto-sync d status
git-auto-sync-daemon is NOT Running!
Monitoring -
/Users/sudeep/oss/blockchain_notes/Blockchains
/Users/sudeep/oss/blogmaker2
As per my research under Linux Ubuntu server, below is the solution.
COMMAND PROGRAMMING PROBLEM Command : "auto-sync daemon status" <-- is existing and not working and it has been rename to auto-sync-daemon with incomplete and mixed variable function update. Which lead some old function variable still working with old command and status is working as service on/off.
RESEARCH GitHub Repo File : .goreleaser.yaml <-- Have the new name "git-auto-sync-daemon" Actual File name : git-auto-sync-daemon <-- Have the new file in location /usr/bin Process See Command - ps aux : Show the "git-auto-sync-daemon" & "git-auto-sync-daemon status" process running under user-account not main root account.
Commands Testing
- "git-auto-sync daemon ls" <-- is existing and working
- "git-auto-sync-daemon ls <-- is working
- "git-auto-sync daemon add <repoPath>" <-- is existing and working
- "git-auto-sync-daemon add <repoPath> <-- FYI: Doesn't work completely and need to remove
- "auto-sync-daemon status" <-- is working and it must stay on to initial pull command every 10 min and push command instantly.
SOLUTION Follow below steps
- Confirm after cloning the repo to localhost, created the test file in the localhost folder and tested the successfully sync with manual "git-auto-sync sync" command.
- Add the full repo path using Command : "git-auto-sync daemon add <repoPath>"
- Initiated the command to "auto-sync-daemon status" to run the monitor system and check if working. Confirm it work until it stay on, but soon as you stop it completely stop.
I am facing the same problem. I upate the service mod and build myself, then fix the promblem. see #17
I can confirm that building the tool with the above PR fixes the issue.