Closed WerVa closed 3 years ago
Hello @WerVa according to the systemctl status, the daemon seems to be enabled and should autostart during boot.
Maybe the logs tell us what's going wrong.
journalctl -b -u nymea-networkmanager
the logs since boot, maybe there is something going wrong.apt policy nymea-networkmanager
, since we had a start up problem few months ago.If the daemon is not starting at all, there are no logs and something is wrong with the systemd service. If there are logs, they hopefully give us a hint why the daemon is not able to start during boot.
journalctl -b -u nymea-networkmanager -- Logs begin at Thu 2019-02-14 10:11:59 GMT, end at Mon 2021-02-01 09:12:15 GMT. -- -- No entries --
apt policy nymea-networkmanager nymea-networkmanager: Installed: 0.5.5+202011171741~buster+rpi1 Candidate: 0.5.5+202011171741~buster+rpi1 Version table: *** 0.5.5+202011171741~buster+rpi1 500 500 http://ci-repo.nymea.io/experimental-silo buster/rpi armhf Packages 100 /var/lib/dpkg/status
I can run manualy only:
BlackMirror@MyBlackMirror:~$ systemctl start nymea-networkmanager ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to start 'nymea-networkmanager.service'. Authenticating as: ,,, (BlackMirror) Password: ==== AUTHENTICATION COMPLETE === BlackMirror@MyBlackMirror:~$ systemctl status nymea-networkmanager ● nymea-networkmanager.service - Daemon for nymea to configure wifi network using a Bluetooth LE connection Loaded: loaded (/lib/systemd/system/nymea-networkmanager.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-02-01 09:45:45 GMT; 5s ago Main PID: 1394 (nymea-networkma) Tasks: 2 (limit: 1330) CGroup: /system.slice/nymea-networkmanager.service └─1394 /usr/bin/nymea-networkmanager -d
I added this to supervisor:
[program:nymea-networkmenager] command=/usr/bin/nymea-networkmanager -d autostart=true autorestart=true
and working... you can close problem
So the problem was concurring process manager? You use supervisor and systemd? Can you describe the environment, just in case somebody else runs into this issue?
this is the environment for my project, it’s extremely limited, so I dont think anybody should have this problem
When i start nymea-networkmenager no boot
XXX@XXX:~$ systemctl status nymea-networkmanager ● nymea-networkmanager.service - Daemon for nymea to configure wifi network using a Bluetooth LE connection Loaded: loaded (/lib/systemd/system/nymea-networkmanager.service; enabled; vendor preset: enabled) Active: inactive (dead) Docs: https://github.com/nymea/nymea-networkmanager
sudo journalctl -u nymea-networkmanager -- Logs begin at Thu 2019-02-14 10:11:59 GMT, end at Sun 2021-01-31 23:19:47 GMT. -- -- No entries
when i run sudo systemctl start nymea-networkmanager then working :( but on startup is problem