Comitup Wifi Management failures

  • Platform information: RBPi3-32
    • Hardware: RBPi3-32
    • OS: openHAB -3.0
    • Java Runtime Environment: whatever came with openHAB -3.0
    • openHAB version: 3.0
  • Issue of the topic: Failure to start “Comitup WiFi Management”. Everything else looks good when booting. I have successfully setup WiFi through config. Even after rebooting RBPi and router, still WiFi initialization fails. Without that, no dice for anything useful, of course.
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

You forgot to post any configuration or logs.

I have WIFI disabled on me because it has generated me an IP address here that I can not use.

Hardware

Jan  2 18:31:47 openhab kernel: [    0.000000] Booting Linux on physical CPU 0x0
Jan  2 18:31:47 openhab kernel: [    0.000000] Linux version 5.4.79-v7l+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP Mon Nov 23 13:27:40 GMT 2020
Jan  2 18:31:47 openhab kernel: [    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
Jan  2 18:31:47 openhab kernel: [    0.000000] CPU: div instructions available: patching division code
Jan  2 18:31:47 openhab kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Jan  2 18:31:47 openhab kernel: [    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.

At the next boot then comes the following error message and now it keeps trying to start the service.

syslog

Jan  2 18:46:44 openhab systemd[1]: Starting Comitup Wifi Management...
Jan  2 18:46:45 openhab comitup[2018]: comitup-no-wifi - No wifi devices found
Jan  2 18:46:45 openhab comitup[2018]: Traceback (most recent call last):
Jan  2 18:46:45 openhab comitup[2018]:   File "/usr/sbin/comitup", line 33, in <module>
Jan  2 18:46:45 openhab comitup[2018]:     sys.exit(load_entry_point('comitup==1.13', 'console_scripts', 'comitup-cmd')())
Jan  2 18:46:45 openhab comitup[2018]:   File "/usr/share/comitup/comitup/comitup.py", line 130, in main
Jan  2 18:46:45 openhab comitup[2018]:     cdns.state_callback,
Jan  2 18:46:45 openhab comitup[2018]:   File "/usr/share/comitup/comitup/statemgr.py", line 171, in init_state_mgr
Jan  2 18:46:45 openhab comitup[2018]:     conf.ap_password
Jan  2 18:46:45 openhab comitup[2018]:   File "/usr/share/comitup/comitup/states.py", line 322, in init_states
Jan  2 18:46:45 openhab comitup[2018]:     nmmon.init_nmmon()
Jan  2 18:46:45 openhab comitup[2018]:   File "/usr/share/comitup/comitup/nmmon.py", line 146, in init_nmmon
Jan  2 18:46:45 openhab comitup[2018]:     modemgr.get_ap_device(),
Jan  2 18:46:45 openhab comitup[2018]:   File "/usr/share/comitup/comitup/modemgr.py", line 68, in get_ap_device
Jan  2 18:46:45 openhab comitup[2018]:     ap_device = devs[0]
Jan  2 18:46:45 openhab comitup[2018]: IndexError: list index out of range
Jan  2 18:46:45 openhab systemd[1]: comitup.service: Main process exited, code=exited, status=1/FAILURE
Jan  2 18:46:45 openhab systemd[1]: comitup.service: Failed with result 'exit-code'.
Jan  2 18:46:45 openhab systemd[1]: Failed to start Comitup Wifi Management.

comitup.log

2021-01-02 18:43:17,727 - comitup - INFO - Starting comitup
2021-01-02 18:43:17,731 - comitup - ERROR - comitup-no-wifi - No wifi devices found
2021-01-02 18:43:24,222 - comitup - INFO - Starting comitup
2021-01-02 18:43:24,226 - comitup - ERROR - comitup-no-wifi - No wifi devices found
2021-01-02 18:43:30,720 - comitup - INFO - Starting comitup
2021-01-02 18:43:30,725 - comitup - ERROR - comitup-no-wifi - No wifi devices found

I have now stopped the service and disabled.

1 Like

I came here from google. comitup was failing for me as well (though for a different reason) and I’ve gotten past it thanks to this post

I’m sure there’s many ways to do this - I am using wifi only connection so this is what I ran:

sudo systemctl disable comitup
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager
nmtui

activate connection, select ssid and enter password

My error was something about comitup couldn’t locate NetworkManager .service files