Re: [weewx-user] Re: WeeWx stops doing its thing

2024-06-12 Thread G7LTT
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!!

On Monday, June 10, 2024 at 2:42:47 PM UTC-4 Tom Keffer wrote:

> How about a copy of the log as described above?
>
> On Sun, Jun 9, 2024 at 11:19 PM G7LTT  wrote:
>
>> "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" .
>>
>> On Sunday, June 9, 2024 at 2:31:59 PM UTC-4 vince wrote:
>>
>>> 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...
>>>
>>> On Sunday, June 9, 2024 at 10:16:16 AM UTC-7 G7LTT wrote:
>>>
 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

>>> -- 
>>
> 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/3d9e884b-9534-4090-b737-eaee434924b7n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/49fa4586-5fd3-4f67-bfca-e48ea693fcb0n%40googlegroups.com.


Re: [weewx-user] Re: WeeWx stops doing its thing

2024-06-10 Thread Tom Keffer
How about a copy of the log as described above?

On Sun, Jun 9, 2024 at 11:19 PM G7LTT  wrote:

> "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" .
>
> On Sunday, June 9, 2024 at 2:31:59 PM UTC-4 vince wrote:
>
>> 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...
>>
>> On Sunday, June 9, 2024 at 10:16:16 AM UTC-7 G7LTT wrote:
>>
>>> 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
>>>
>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/3d9e884b-9534-4090-b737-eaee434924b7n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECOK3NYZbXbWC5EsxQGmrDhb_5Bhr%2B-so1U-AbUkS0BWw%40mail.gmail.com.


[weewx-user] Re: WeeWx stops doing its thing

2024-06-09 Thread G7LTT
"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" .

On Sunday, June 9, 2024 at 2:31:59 PM UTC-4 vince wrote:

> 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...
>
> On Sunday, June 9, 2024 at 10:16:16 AM UTC-7 G7LTT wrote:
>
>> 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
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3d9e884b-9534-4090-b737-eaee434924b7n%40googlegroups.com.


[weewx-user] Re: WeeWx stops doing its thing

2024-06-09 Thread vince
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...

On Sunday, June 9, 2024 at 10:16:16 AM UTC-7 G7LTT wrote:

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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cff3434b-455e-4132-8a54-5c96fd1b60c1n%40googlegroups.com.