Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"git-auto-sync-daemon is NOT Running!" #16

Open
lowercasename opened this issue Apr 12, 2023 · 6 comments
Open

"git-auto-sync-daemon is NOT Running!" #16

lowercasename opened this issue Apr 12, 2023 · 6 comments

Comments

@lowercasename
Copy link

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?

@akifateef
Copy link

@lowercasename thanks for reporting it. I am also facing the same problem. Have you been able to find a solution?

@ifeitao
Copy link

ifeitao commented Aug 12, 2023

I am facing the same problem. I upate the service mod and build myself, then fix the promblem. see #17

@Jamesun921
Copy link

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?

@sudeepdino008
Copy link

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

@hpngithub
Copy link

hpngithub commented Jun 2, 2024

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 " <-- is existing and working
  • "git-auto-sync-daemon add <-- 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

  1. 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.
  2. Add the full repo path using Command : "git-auto-sync daemon add "
  3. 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.

@sudeepdino008
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants