Mosquitto/InfluxDB does not start on boot

Hi,

i updated OH from 3.0 to 3.1 on my Rasp. 3 and had some troubles getting OH to start again:

Warning: The unit file, source configuration file or drop-ins of openhab.service changed on disk. Run 'systemctl daemon-reload' to reload units.

After the deamon-reload, OH starts but now my mosquitto does not start on boot.

[19:42:18] openhabian@openHABianDevice:~$ sudo systemctl status mosquitto.service -l
● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/mosquitto.service.d
           └─override.conf
   Active: failed (Result: exit-code) since Sat 2021-08-21 19:36:38 CEST; 6min ago
     Docs: man:mosquitto.conf(5)
           man:mosquitto(8)
 Main PID: 667 (code=exited, status=1/FAILURE)

Aug 21 19:36:38 openHABianDevice systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Aug 21 19:36:38 openHABianDevice systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 5.
Aug 21 19:36:38 openHABianDevice systemd[1]: Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Aug 21 19:36:38 openHABianDevice systemd[1]: mosquitto.service: Start request repeated too quickly.
Aug 21 19:36:38 openHABianDevice systemd[1]: mosquitto.service: Failed with result 'exit-code'.
Aug 21 19:36:38 openHABianDevice systemd[1]: Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.

with “mosquitto” the broker works

[19:44:56] openhabian@openHABianDevice:~$ mosquitto
1629567946: mosquitto version 1.5.7 starting
1629567946: Using default config.
1629567946: Opening ipv4 listen socket on port 1883.
1629567946: Opening ipv6 listen socket on port 1883.
1629567946: New connection from 192.168.1.122 on port 1883.
1629567946: New client connected from 192.168.1.122 as DVES_8B2C06 (c1, k30, u'openhabian').
1629567946: New connection from 192.168.1.121 on port 1883.
1629567946: New client connected from 192.168.1.121 as DVES_187459 (c1, k30, u'openhabian').
1629567957: New connection from 192.168.1.123 on port 1883.
1629567957: New client connected from 192.168.1.123 as DVES_8ACC52 (c1, k30, u'openhabian').
1629567976: New connection from 192.168.1.100 on port 1883.
1629567976: New client connected from 192.168.1.100 as openHAB (c1, k60, u'openhabian').

PS: Also Grafana does not start and i think InfluxDB too.

[20:12:35] openhabian@openHABianDevice:~$ sudo systemctl status influxdb.service -l
● influxdb.service - InfluxDB is an open-source, distributed, time series database
   Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
   Active: activating (start) since Sat 2021-08-21 20:12:33 CEST; 7s ago
     Docs: https://docs.influxdata.com/influxdb/
Cntrl PID: 16018 (influxd-systemd)
    Tasks: 11 (limit: 2178)
   CGroup: /system.slice/influxdb.service
           ├─16018 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
           ├─16019 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
           └─16079 sleep 1
[20:14:24] openhabian@openHABianDevice:~$ sudo systemctl start influxdb
Job for influxdb.service failed because the control process exited with error code.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
[20:14:34] openhabian@openHABianDevice:~$ journalctl -xe
Aug 21 20:14:51 openHABianDevice comitup[16953]:     conf.ap_password
Aug 21 20:14:51 openHABianDevice comitup[16953]:   File "/usr/share/comitup/comitup/states.py", line 322, in init_states
Aug 21 20:14:51 openHABianDevice comitup[16953]:     nmmon.init_nmmon()
Aug 21 20:14:51 openHABianDevice comitup[16953]:   File "/usr/share/comitup/comitup/nmmon.py", line 146, in init_nmmon
Aug 21 20:14:51 openHABianDevice comitup[16953]:     modemgr.get_ap_device(),
Aug 21 20:14:51 openHABianDevice comitup[16953]:   File "/usr/share/comitup/comitup/modemgr.py", line 68, in get_ap_device
Aug 21 20:14:51 openHABianDevice comitup[16953]:     ap_device = devs[0]
Aug 21 20:14:51 openHABianDevice comitup[16953]: IndexError: list index out of range
Aug 21 20:14:51 openHABianDevice systemd[1]: comitup.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit comitup.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 21 20:14:51 openHABianDevice systemd[1]: comitup.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit comitup.service has entered the 'failed' state with result 'exit-code'.
Aug 21 20:14:51 openHABianDevice systemd[1]: Failed to start Comitup Wifi Management.
-- Subject: A start job for unit comitup.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit comitup.service has finished with a failure.
--
-- The job identifier is 34131 and the job result is failed.
Aug 21 20:14:53 openHABianDevice influxd-systemd-start.sh[16904]: ts=2021-08-21T18:14:53.766998Z lvl=info msg="Reading file" log_id=0W6UaypG000 engine=tsm1 service

Any Ideas ?
Thanks!

Do you have 2 mosquittos running?
One log says version 3.1 the other shows 1.5.7

based the journal snippet it looks like several services are failing.
wifi seems to fail, too.
Are you on latest openhabian-config version ?
Which influxdb version is installed ?