WeeWx stops doing its thing

137 views
Skip to first unread message

G7LTT

unread,
Jun 9, 2024, 1:16:16 PMJun 9
to weewx-user
I'm running V5 and an Ambient WS2000. Until about a week ago everything was fine. WeeWX was doing its thing about every 5 minutes. Then for no apparent reason it stopped doing its thing.

After about an hour or so of faultless running it simply stops doing its thing. But yet the WeeWx job is still running. Below is a paste of the only logfile I can find pulled from the journal. As you can see, there's noting reported by WeeWx. 

I've run it interactively at the console to see if it pukes out an error and nothing there either. It just stops.

http://wx.ni2o.ampr.org will show you some lage gaps in the data. This is where WeeWX has stopped/stalled and I've restarted the daemon.

Ideas?

Thanks

Mark

Jun 08 18:34:01 WeeWX CRON[1028]: pam_unix(cron:session): session closed for user root
Jun 08 18:34:01 WeeWX CRON[1029]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
Jun 08 18:34:01 WeeWX CRON[1028]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Jun 08 17:43:27 WeeWX weewxd[300]: INFO root: loopPacket Accepted
Jun 08 17:41:49 WeeWX weewxd[300]: INFO weewx.reportengine: Copied 0 files to /var/www/html/
Jun 08 17:41:49 WeeWX weewxd[300]: INFO weewx.cheetahgenerator: Generated 12 files for report StandardReport in 5.67 seconds
Jun 08 17:41:48 WeeWX weewxd[300]: INFO root: loopPacket Accepted
Jun 08 17:41:46 WeeWX weewxd[300]: INFO weewx.restx: Wunderground-PWS: Published record 2024-06-08 17:40:00 EDT (1717882800)
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.restx: CWOP: Published record 2024-06-08 17:40:00 EDT (1717882800)
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.reportengine: Copied 0 files to /var/www/html/mobile
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.imagegenerator: Generated 4 images for report MobileReport in 0.03 seconds
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.cheetahgenerator: Generated 1 files for report MobileReport in 0.01 seconds
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.reportengine: Copied 0 files to /var/www/html/smartphone
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.imagegenerator: Generated 6 images for report SmartphoneReport in 0.04 seconds
Jun 08 17:41:43 WeeWX weewxd[300]: INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.02 seconds

Tom Keffer

unread,
Jun 9, 2024, 1:48:51 PMJun 9
to weewx...@googlegroups.com
This is too small a snippet of the log to get much information. We really need to see the start up sequence.

Please set debug=1, restart weewx, then post the log through the first reporting cycle.

--
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/100afd7e-4f43-46fe-9c9e-e45a16568174n%40googlegroups.com.

vince

unread,
Jun 9, 2024, 2:31:59 PMJun 9
to weewx-user
Not understanding the wording of "doing its thing".   What thing is it doing then not doing ?

You might read https://github.com/weewx/weewx/wiki/view-logs#journalctl for how to get all the weewx info out of the journal logs...

G7LTT

unread,
Jun 10, 2024, 1:19:34 AMJun 10
to weewx-user
"Doing its thing" would be whatever the app does; collect stats, populate the DB, create the web pages, upload the webpages. Y'know? "do its thing" .

Tom Keffer

unread,
Jun 10, 2024, 2:42:47 PMJun 10
to weewx...@googlegroups.com
How about a copy of the log as described above?

--
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.

G7LTT

unread,
Jun 12, 2024, 11:05:53 AMJun 12
to weewx-user
At the risk of jinxing it, I _think_ it might be OK now. 

I noticed in the logs that I was about to post that things stopped working after it made a call out to the Ambient API website. So I tried  wrote a script to make random connections to the API website and about 50% of the connections failed. I fixed this issue by changing the route to the API website (I have multiple Internet connections here). My script passed all the tests and so I restarted the WeeWX daemon. Its been up now for over 24 hours.

I'm going to make contact with the ambientweatherapi.py folks and see if they know about this issue. I would have expected their script to try again or at least re-run itself when called by WeeWX? Or even do some sort of graceful termination?

http://weather.ni2o.ampr.org should now be working.

Thanks for your time!!

Reply all
Reply to author
Forward
0 new messages