Reports suddenly stopped working

112 views
Skip to first unread message

icoj...@gmail.com

unread,
Jan 11, 2021, 12:23:41 PM1/11/21
to weewx-user
Hi,

I'm hoping someone can help me as I am not technical enough to understand log files and to troubleshoot other than the basics.  

It appears that on the afternoon of 5th Jan my weewx reports stopped generating.  The webpage still displays, but the data remains as at 5th Jan and it is showing as offline.

Weewx is still retrieving records and uploading them to wunderground and pwsweather but something appears to have broken the report generation around that time.

Can any kind soul take a look at the wee debug and syslog excerpt from around that time (I think it happened around 14:42), attached, and suggest anything please?

Many thanks in advance, 

Matt
weewx.zip

icoj...@gmail.com

unread,
Jan 12, 2021, 9:53:42 AM1/12/21
to weewx-user
I've noticed in the syslog that it is going round in loops trying to insert the same records from September, over and over again.  What's caused this?  I've changed nothing, it suddenly stopped updating the reports?!

Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 07:59:08 BST (1599807548) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:04:08 BST (1599807848) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:09:09 BST (1599808149) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:14:08 BST (1599808448) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:19:08 BST (1599808748) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:24:08 BST (1599809048) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:29:09 BST (1599809349) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:34:08 BST (1599809648) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:39:08 BST (1599809948) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:44:08 BST (1599810248) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:49:09 BST (1599810549) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:54:08 BST (1599810848) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 08:59:08 BST (1599811148) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 09:04:08 BST (1599811448) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 09:09:09 BST (1599811749) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 09:14:09 BST (1599812049) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353
Jan 12 14:51:53 weatherpi weewx[15949] ERROR weewx.manager: Unable to add record 2020-09-11 09:19:08 BST (1599812348) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Jan 12 14:51:53 weatherpi weewx[15949] DEBUG user.weather34: CloudCover: Percent value is 44.4705882353

Tom Keffer

unread,
Jan 12, 2021, 10:39:30 AM1/12/21
to weewx-user
You'll have to ask the author of the driver, but it looks like it is trying to download historical archive data, going all the way back into September. Because those data are already in the database, you get the UNIQUE constraint error. The errors are harmless, but it may take some time for the driver to finish downloading all that unneeded data.

--
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/8abea5f5-4ac9-4a55-8121-1d78ce3a8629n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages