Mender-client not connecting after reboot

I have a system that starts up on CM4 in host mode. At this stage mender OTA connects to the server and is accepted. The spp on the iPhone then connects to the CM4 and passes the local ip and password in, I’m running the demo server currently. The CM4 reboots in normal mode connected to the local network. There is no contact with the server and it doesn’t seem that mender OTA is running. Is something confusing the system with the switch between Host and normal, and if so should I wait for the switch to normal mode before letting mender OTA run?


This turned out to be linked with not having mender-client in systemd. Works perfectly now.