withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.04k stars 54 forks source link

bug: fig-daemon.service restarts indefinitely #2949

Closed adhamsalama closed 2 weeks ago

adhamsalama commented 1 month ago

Checks

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

grant0417 commented 1 month ago

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 commented 1 month ago

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

grant0417 commented 3 weeks ago

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

adhamsalama commented 3 weeks ago

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 commented 3 weeks ago

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 commented 2 weeks ago

It worked, thanks @grant0417!