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

Restart problems #63

Open
lnies opened this issue Jan 8, 2022 · 1 comment
Open

Restart problems #63

lnies opened this issue Jan 8, 2022 · 1 comment
Labels
bug Something isn't working daemon Everything related to the daemon

Comments

@lnies
Copy link
Contributor

lnies commented Jan 8, 2022

In version "V2.0.2-81eefc3" "(build Wed Jan 5 22:05:44 2022)", daemon is inactive after reboot (it is the armv6 build) and after power cycling. Needs service restart to become active. Following is the status output:

● muondetector-daemon.service - muondetector-daemon - Daemon for custom muondetector board
     Loaded: loaded (/lib/systemd/system/muondetector-daemon.service; disabled; vendor preset: enabled)
     Active: inactive (dead)

In version "V2.0.2-57fcf3e" "(build Wed Dec 29 15:15:30 2021)", daemon is favoring some relict MQTT account to connect to main server after reboot or power cycle, instead of using the .conf settings or previously entered credentials via muondetector-login. Following is the status output:

● muondetector-daemon.service - muondetector-daemon - Daemon for custom muondetector board
     Loaded: loaded (/lib/systemd/system/muondetector-daemon.service; disabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-01-06 16:01:55 GMT; 1 day 21h ago
   Main PID: 706 (muondetector-da)
      Tasks: 9 (limit: 415)
        CPU: 3h 11min 4.090s
     CGroup: /system.slice/muondetector-daemon.service
             └─706 /usr/bin/muondetector-daemon -c

Jan 07 02:59:02 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:03 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:04 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:04 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:06 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:06 raspberrypi  muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:06 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:07 raspberrypi muondetector-daemon[706]: Warning: Couldn't publish data
Jan 07 02:59:07 raspberrypi muondetector-daemon[706]: Info: Connected to mqtt.
Jan 07 02:59:07 raspberrypi muondetector-daemon[706]: Info: MQTT (re)connected
@lnies lnies added bug Something isn't working daemon Everything related to the daemon labels Jan 8, 2022
@lnies
Copy link
Contributor Author

lnies commented Feb 2, 2022

Starting daemon after rebooting problem: don't forget to enable the service!
sudo systemctl enable muondetector-daemon.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working daemon Everything related to the daemon
Projects
None yet
Development

No branches or pull requests

1 participant