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

bug: fig-daemon.service restarts indefinitely #2949

Closed
3 tasks done
adhamsalama opened this issue May 18, 2024 · 7 comments
Closed
3 tasks done

bug: fig-daemon.service restarts indefinitely #2949

adhamsalama opened this issue May 18, 2024 · 7 comments
Labels
os:linux Issues related to Linux

Comments

@adhamsalama
Copy link

Checks

  • I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • I have run fig doctor in the affected terminal session
  • I have run fig restart and replicated the issue again

Operating system

Fedora Linux

Expected behaviour

I have uninstalled Fig like a year ago, and when I run jouranctl -e now I see logs for fig-daemon.service trying to start and failing then restarting.

Here are the longs:

May 18 16:22:49 fedora systemd[1826]: fig-daemon.service: Scheduled restart job, restart counter is at 4.
May 18 16:22:49 fedora systemd[1826]: Started fig-daemon.service - Fig Daemon.
May 18 16:22:49 fedora (fig)[3604]: fig-daemon.service: Failed to locate executable fig: No such file or directory
May 18 16:22:49 fedora (fig)[3604]: fig-daemon.service: Failed at step EXEC spawning fig: No such file or directory
May 18 16:22:49 fedora systemd[1826]: fig-daemon.service: Main process exited, code=exited, status=203/EXEC
May 18 16:22:49 fedora systemd[1826]: fig-daemon.service: Failed with result 'exit-code'.

Actual behaviour

It should have been uninstalled completely from the system.

Steps to reproduce

No response

Environment

No response

@mschrage mschrage added os:linux Issues related to Linux and removed NEED_TO_LABEL labels May 30, 2024
@grant0417
Copy link
Member

Hey to remove that you can run sudo systemctl disable --now fig-daemon to disable the daemon. We no longer distribute the Linux version so this should not be an issue for future users.

@adhamsalama
Copy link
Author

@grant0417
When I run that command I get this:
Failed to disable unit: Unit file fig-daemon.service does not exist

@grant0417
Copy link
Member

Can you run sudo systemctl status fig-daemon and systemctl status --user fig-daemon

@adhamsalama
Copy link
Author

sudo systemctl status fig-daemon

Unit fig-daemon.service could not be found.

systemctl status --user fig-daemon

     Loaded: loaded (/home/adham/.config/systemd/user/fig-daemon.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: activating (auto-restart) (Result: exit-code) since Fri 2024-06-07 21:10:56 EEST; 2s ago
    Process: 6101 ExecStart=fig daemon (code=exited, status=203/EXEC)
   Main PID: 6101 (code=exited, status=203/EXEC)
        CPU: 3ms

@grant0417

@grant0417
Copy link
Member

grant0417 commented Jun 7, 2024

Okay to remove it permanently run the following steps, let me know if you have any additional issues:

systemctl --user stop fig-daemon.service
systemctl --user disable fig-daemon.service
rm -f ~/.config/systemd/user/fig-daemon.service

@adhamsalama
Copy link
Author

It worked, thanks @grant0417!

@maddler
Copy link

maddler commented Jul 9, 2024

I tried the proposed solution but that's not working. Any clue how to resolve this?

2024-07-09T23:49:30.275240+01:00 pihole2 systemd[3678928]: fig-daemon.service: Failed at step EXEC spawning /usr/bin/fig: No such file or directory
2024-07-09T23:49:30.275508+01:00 pihole2 systemd[2359]: fig-daemon.service: Main process exited, code=exited, status=203/EXEC
2024-07-09T23:49:30.275864+01:00 pihole2 systemd[2359]: fig-daemon.service: Failed with result 'exit-code'.
2024-07-09T23:49:35.495165+01:00 pihole2 systemd[2359]: fig-daemon.service: Scheduled restart job, restart counter is at 706901.
2024-07-09T23:49:35.495709+01:00 pihole2 systemd[2359]: Stopped fig-daemon.service - Fig Daemon.
2024-07-09T23:49:35.517779+01:00 pihole2 systemd[2359]: Started fig-daemon.service - Fig Daemon.
2024-07-09T23:49:35.518750+01:00 pihole2 systemd[3678934]: fig-daemon.service: Failed to locate executable /usr/bin/fig: No such file or directory
2024-07-09T23:49:35.519071+01:00 pihole2 systemd[3678934]: fig-daemon.service: Failed at step EXEC spawning /usr/bin/fig: No such file or directory
2024-07-09T23:49:35.519417+01:00 pihole2 systemd[2359]: fig-daemon.service: Main process exited, code=exited, status=203/EXEC
2024-07-09T23:49:35.519891+01:00 pihole2 systemd[2359]: fig-daemon.service: Failed with result 'exit-code'.
2024-07-09T23:49:40.745212+01:00 pihole2 systemd[2359]: fig-daemon.service: Scheduled restart job, restart counter is at 706902.
2024-07-09T23:49:40.745566+01:00 pihole2 systemd[2359]: Stopped fig-daemon.service - Fig Daemon.
2024-07-09T23:49:40.777766+01:00 pihole2 systemd[2359]: Started fig-daemon.service - Fig Daemon.
2024-07-09T23:49:40.778889+01:00 pihole2 systemd[3678937]: fig-daemon.service: Failed to locate executable /usr/bin/fig: No such file or directory
2024-07-09T23:49:40.779154+01:00 pihole2 systemd[3678937]: fig-daemon.service: Failed at step EXEC spawning /usr/bin/fig: No such file or directory
2024-07-09T23:49:40.780405+01:00 pihole2 systemd[2359]: fig-daemon.service: Main process exited, code=exited, status=203/EXEC
2024-07-09T23:49:40.780905+01:00 pihole2 systemd[2359]: fig-daemon.service: Failed with result 'exit-code'.

root@pihole2:/var/log# systemctl status --user fig-daemon
Failed to connect to bus: No medium found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:linux Issues related to Linux
Projects
None yet
Development

No branches or pull requests

4 participants