Thanks so much, that process worked to clear the logger.

I attached the log out put for reference after restarting weewx.

Is there any way to get the records that did not write to the database 
added to show in the web GUI reporting?



On Monday, December 16, 2024 at 10:15:47 AM UTC-5 Francisco Alonso wrote:

> I guess you are now using an old datalogger attached to the console.
>
> The final record in the memory is old, with a date which is previous to 
> the last record in the DB: 15/12/2024 at 18:00 h:
>
> DMPAFT complete: page timestamp 2021-06-14 01:30:00 EDT (1623648600) less 
> than final timestamp 2024-12-15 18:00:00 EST
> Try deleting the memory of the datalogger and restart weewx.
> On Monday, 16 December 2024 at 15:40:55 UTC+1 Jim Wilkerson wrote:
>
>> Here are the messages from my Linux system as well.
>>
>> On Monday, December 16, 2024 at 9:37:53 AM UTC-5 Jim Wilkerson wrote:
>>
>>> I attached the log from when I restarted with debug=1 until this most 
>>> recent cycle at 09:30 EST.
>>>
>>> Thanks.
>>>
>>> On Monday, December 16, 2024 at 8:13:39 AM UTC-5 Tom Keffer wrote:
>>>
>>>> We need to see more of the log. In particular, set debug=1, then 
>>>> restart. Let it run through the first reporting cycle. Then post the log 
>>>> from startup.
>>>>
>>>>
>>>> On Sunday, December 15, 2024 at 9:47:42 PM UTC-8 [email protected] 
>>>> wrote:
>>>>
>>>>>
>>>>> Using a Vantage Pro2 console.
>>>>>
>>>>> Had been using a Meteobridge NanoSD, but it has failed, possible a 
>>>>> wireless issue.
>>>>>
>>>>> I switched back to my previous solution, a TP Link MR3020, which came 
>>>>> right up as it had been running some time back (new license applied).
>>>>>
>>>>> Weather uploads work, but I am not seeing an records written to the 
>>>>> database now.
>>>>>
>>>>> I see:
>>>>>
>>>>> INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
>>>>> INFO weewx.imagegenerator: Generated 45 images for report 
>>>>> SeasonsReport in 1.20 seconds
>>>>> INFO weewx.cheetahgenerator: Generated 8 files for report 
>>>>> SeasonsReport in 0.65 seconds
>>>>>
>>>>> but no records written, i.e. expect to see
>>>>>
>>>>> INFO weewx.manager: Added record 2024-12-12 00:30:00 EST (1733981400) 
>>>>> to database 'weewx.sdb'
>>>>> NFO weewx.manager: Added record 2024-12-12 00:30:00 EST (1733981400) 
>>>>> to daily summary in 'weewx.sdb'
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/a3235172-5655-4471-8ce7-ad376825888dn%40googlegroups.com.
Dec 16 11:00:19 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 11:00:19 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Report 
'RSYNC' not enabled. Skipping.
Dec 16 11:00:19 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Report 
'FTP' not enabled. Skipping.
Dec 16 11:00:19 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Report 
'StandardReport' not enabled. Skipping.
Dec 16 11:00:19 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Report 
'MobileReport' not enabled. Skipping.
Dec 16 11:00:19 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Report 
'SmartphoneReport' not enabled. Skipping.
Dec 16 11:00:19 linux-3wjh weewxd[17068]: INFO weewx.reportengine: Copied 5 
files to /var/www/html/weewx
Dec 16 11:00:19 linux-3wjh weewxd[17068]: INFO weewx.imagegenerator: Generated 
45 images for report SeasonsReport in 0.84 seconds
Dec 16 11:00:18 linux-3wjh weewxd[17068]: DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 11:00:18 linux-3wjh weewxd[17068]: INFO weewx.cheetahgenerator: 
Generated 8 files for report SeasonsReport in 0.56 seconds
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheeta>
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Running 
generators for report 'SeasonsReport' in directory '/etc/weewx>
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report>
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Running 
report 'SeasonsReport'
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.reportengine: Running 
reports for latest time in the database.
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Empty 
record page 0; index 1
Dec 16 11:00:17 linux-3wjh weewxd[17068]: INFO weewx.manager: Added record 
2024-12-16 11:00:00 EST (1734364800) to daily summary in 'weewx>
Dec 16 11:00:17 linux-3wjh weewxd[17068]: INFO weewx.manager: Added record 
2024-12-16 11:00:00 EST (1734364800) to database 'weewx.sdb'
Dec 16 11:00:17 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Retrieving 1 page(s); starting index= 0
Dec 16 11:00:16 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 11:00:14 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Getting 
archive packets since 2024-12-16 10:00:00 EST (1734361200)
Dec 16 11:00:06 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 11:00:04 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Dec 16 10:53:28 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:53:26 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Dec 16 10:46:50 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:46:48 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Dec 16 10:40:13 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:40:11 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Dec 16 10:40:11 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:40:09 linux-3wjh weewxd[17068]: INFO weewx.engine: Starting main 
packet loop.
Dec 16 10:40:09 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Retrieving 0 page(s); starting index= 0
Dec 16 10:40:08 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:40:07 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Getting 
archive packets since 2024-12-16 10:00:00 EST (1734361200)
Dec 16 10:40:07 linux-3wjh weewxd[17068]: INFO weewx.manager: Daily summaries 
up to date
Dec 16 10:40:07 linux-3wjh weewxd[17068]: INFO weewx.manager: Starting backfill 
of daily summaries
Dec 16 10:40:07 linux-3wjh weewxd[17068]: INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Dec 16 10:40:07 linux-3wjh weewxd[17068]: INFO weewx.engine: Clock error is 
-0.17 seconds (positive is fast)
Dec 16 10:40:06 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO __main__: Starting up weewx 
version 5.1.0
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdReport
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.engine: 'pyephem' 
detected, extended almanac data is available
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdReport
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdPrint
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdPrint
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdAWEKAS
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.restx: AWEKAS: Posting not 
enabled.
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.restx.StdAWEKAS
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdWOW
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.restx: WOW: Posting not 
enabled.
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.restx.StdWOW
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdCWOP
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.restx: CWOP: Posting not 
enabled.
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.restx.StdCWOP
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdPWSweather
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.restx: PWSweather: Posting 
not enabled.
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.restx.StdPWSweather
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdWunderground
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.restx: Wunderground: 
Posting not enabled.
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.restx.StdWunderground
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdStationRegistry
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.restx: StationRegistry: 
Registration not requested.
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.restx.StdStationRegistry
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdArchive
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Use LOOP data in 
hi/low calculations: 1
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.engine: Using archive 
interval of 1800 seconds (specified by hardware)
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.engine: Record generation 
will be attempted in 'hardware'
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.engine: Archive will use 
data binding wx_binding
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdArchive
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdDelta
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdDelta
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdRainRater
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdRainRater
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdPressureCooker
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdPressureCooker
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.wxxtypes.StdWXXTypes
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdWXXTypes
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.wxservices.StdWXCalculate
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.wxservices: StdWXCalculate 
will use data binding wx_binding
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.wxservices.StdWXCalculate
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdQC
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdQC
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdCalibrate
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdCalibrate
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdConvert
Dec 16 10:40:05 linux-3wjh weewxd[17068]: INFO weewx.engine: StdConvert target 
unit is 0x1
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdConvert
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Finished loading 
service weewx.engine.StdTimeSynch
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.engine: Loading service 
weewx.engine.StdTimeSynch
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Hardware 
name: Vantage Pro2
Dec 16 10:40:05 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: ISS ID 
is 1
Dec 16 10:40:02 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Hardware 
type is 16
Dec 16 10:40:02 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:40:00 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Opened 
up ethernet host 10.243.1.122 on port 22222. timeout=4.0, tc>
Dec 16 10:40:00 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Option 
loop_request=1
Dec 16 10:40:00 linux-3wjh weewxd[17068]: DEBUG weewx.drivers.vantage: Driver 
version is 3.6.2
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Dec 16 10:40:00 linux-3wjh weewxd[17068]: DEBUG __main__: Initializing engine
Dec 16 10:40:00 linux-3wjh weewxd[17068]: DEBUG __main__: loop_on_init: True
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Groups:       weewx
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Group:        weewx
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: User:         weewx
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Debug:        1
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: User module:  
/etc/weewx/bin/user
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Config file:  
/etc/weewx/weewx.conf
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: WEEWX_ROOT:   
/etc/weewx
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Entry path:   
/usr/share/weewx/weewxd.py
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Locale:       
'en_US.UTF-8'
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Platform:     
Linux-6.4.0-150600.23.25-default-x86_64-with-glibc2.3.4
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Located at:   
/usr/bin/python3
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Using Python: 3.6.15 
(default, Sep 23 2021, 15:41:43) [GCC]
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Dec 16 10:40:00 linux-3wjh weewxd[17068]: INFO __main__: Initializing weewxd 
version 5.1.0
Dec 16 10:40:00 linux-3wjh systemd[1]: Started WeeWX.
Dec 16 10:25:23 linux-3wjh systemd[1]: weewx.service: Consumed 10.278s CPU time.
Dec 16 10:25:23 linux-3wjh systemd[1]: Stopped WeeWX.
Dec 16 10:25:23 linux-3wjh systemd[1]: weewx.service: Deactivated successfully.
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****  Terminate
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      raise 
Terminate
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewxd.py", line 221, in sigTERMhandler
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      _recv = 
self.socket.recv(_N)
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewx/drivers/vantage.py", line 418, in read
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      _buffer 
= self.port.read(99)
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewx/drivers/vantage.py", line 605, in _get_>
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      
loop_packet = self._get_packet()
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewx/drivers/vantage.py", line 586, in genDa>
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      for 
_loop_packet in self.genDavisLoopPackets(self.loop_batch):
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewx/drivers/vantage.py", line 557, in genLo>
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      for 
packet in self.console.genLoopPackets():
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 204, in run
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****      
engine.run()
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****    File 
"/usr/share/weewx/weewxd.py", line 127, in main
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG __main__:     ****  Traceback 
(most recent call last):
Dec 16 10:25:23 linux-3wjh weewxd[30663]: INFO __main__: Terminating weewx 
version 5.1.0
Dec 16 10:25:23 linux-3wjh weewxd[30663]: DEBUG weewx.engine: StdReport thread 
has been terminated
Dec 16 10:25:23 linux-3wjh weewxd[30663]: INFO weewx.engine: Shutting down 
StdReport thread
Dec 16 10:25:23 linux-3wjh weewxd[30663]: INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Dec 16 10:25:23 linux-3wjh weewxd[30663]: INFO __main__: Received signal TERM 
(15).
Dec 16 10:25:23 linux-3wjh systemd[1]: Stopping WeeWX..

Reply via email to