Errors on Ubuntu Update

105 views
Skip to first unread message

Mitchell Tuckness

unread,
Sep 2, 2022, 11:43:06 PM9/2/22
to weewx-user
Hi all,

I updated Ubuntu to the latest version (22.04.01), and since then, I haven't been able to get it to update. So in troubleshooting it, I thought I would update everything else while I was at it. 

I did an update to Weewx 4.8
I updated the GW1000 driver to gw1000-0.5.0b5

This is the error I am getting, and Weewx isn't running. Any suggestions on getting it back up and running? Thanks!

    Process: 807 ExecStart=/home/weewx/bin/weewxd /home/weewx/weewx.conf (code=exited, status=1/FAILURE)
   Main PID: 807 (code=exited, status=1/FAILURE)
        CPU: 787ms

Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****    File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****    File "/home/weewx/bin/weeutil/weeutil.py", line 1150, in get_object
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****      mod = __import__(module)
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****    File "/home/weewx/bin/user/mqtt.py", line 100, in <module>
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****      import paho.mqtt.client as mqtt
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****  ModuleNotFoundError: No module named 'paho'
Sep 02 18:49:23 weewx-pi weewxd[807]: weewx[807] CRITICAL __main__:     ****  Exiting.
Sep 02 18:49:26 weewx-pi systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE

Mitchell Tuckness

unread,
Sep 2, 2022, 11:54:40 PM9/2/22
to weewx-user
I got it. It seems a series of missing modules (or different than they used to be). I installed paho.mqtt and then twython, it's back up and running!

p q

unread,
Sep 2, 2022, 11:57:45 PM9/2/22
to weewx...@googlegroups.com
You're apparently using mqtt and missing a prerequisite. Go get paho. It didn't get installed in your upgrade. 

pip install paho-mqtt



--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cdbfc5e1-fc83-40e8-b35e-bde329de14bbn%40googlegroups.com.

David Trebacz

unread,
Sep 3, 2022, 7:13:17 PM9/3/22
to weewx-user
For me :
sudo pip3 install paho-mqtt
eliminated my error after the upgrade of ubuntu from 20.04 to 22.04.1

Reply all
Reply to author
Forward
0 new messages