Skip to content

Restart problems #63

@lnies

Description

@lnies

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdaemonEverything related to the daemon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions