I tried the first option you wrote, I stopped WeeWX, did a backup of database, deleted the records after the outage and then restarted WeeWX.
Here are the log file after I started WeeWX, there are some errors, like " ValueError: Inconsistent units (1 vs vs 1) when querying for hourRain"
Jun 27 10:44:39 raspberrypi weewx[8704] INFO __main__: Initializing weewx version 4.0.0
Jun 27 10:44:39 raspberrypi weewx[8704] INFO __main__: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Jun 27 10:44:39 raspberrypi weewx[8704] INFO __main__: Platform Linux-4.14.98-v7+-armv7l-with-debian-9.9
Jun 27 10:44:39 raspberrypi weewx[8704] INFO __main__: Locale is 'sv_SE.UTF-8'
Jun 27 10:44:39 raspberrypi weewx[8704] INFO __main__: PID file is /var/run/weewx.pid
Jun 27 10:44:39 raspberrypi weewx[8692]: Starting weewx weather system: weewx.
Jun 27 10:44:39 raspberrypi systemd[1]: Started LSB: weewx weather system.
Jun 27 10:44:39 raspberrypi weewx[8708] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.drivers.fousb: driver version is 1.20
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.drivers.fousb: polling mode is PERIODIC
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.drivers.fousb: polling interval is 50
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.drivers.fousb: found station on USB bus= device=
Jun 27 10:44:39 raspberrypi weewxd: pond: using /home/pliggen/log.txt
Jun 27 10:44:39 raspberrypi weewxd: pond: using /home/pliggen/log2.txt
Jun 27 10:44:39 raspberrypi weewxd: pond: using /home/pliggen/dht11_humid.txt
Jun 27 10:44:39 raspberrypi weewxd: pond: using /home/pliggen/log3.txt
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.engine: StdConvert target unit is 0x1
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.wxservices: The following values will be calculated: pressure=prefer_hardware, barometer=prefer_hardware, altimeter=prefer_hardware, windchill=prefer_hardware, heatindex=prefer_hardware, dewpoint=prefer_hardware, inDewpoint=prefer_hardware, rainRate=prefer_hardware, maxSolarRad=prefer_hardware, cloudbase=prefer_hardware, humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware, windrun=prefer_hardware
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.wxservices: The following algorithms will be used for calculations: altimeter=aaASOS, maxSolarRad=RS
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.engine: Archive will use data binding wx_binding
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.engine: Record generation will be attempted in 'software'
Jun 27 10:44:39 raspberrypi weewx[8708] INFO weewx.engine: Using archive interval of 600 seconds (software record generation)
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Zambretti: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Zambretti: last forecast issued 2020-05-04 22:40:00 CEST (1588624800), requested 2020-05-04 22:40:00 CEST (1588624800)
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Zambretti: interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: NWS: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: NWS: location ID (lid) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: NWS: forecast office ID (foid) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: NWS: forecast will not be run
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: WU: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: WU: API key (api_key) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: WU: forecast will not be run
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: OWM: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: OWM: last forecast issued 2020-05-04 19:50:58 CEST (1588614658), requested 2020-05-04 19:50:58 CEST (1588614658)
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: OWM: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX2250 location=57.961878399999996,13.750314399999999 fc=5day3hour
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: UKMO: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: UKMO: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5b92 location=2337
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Aeris: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Aeris: client identifier (client_id) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Aeris: client secret (client_secret) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: Aeris: forecast will not be run
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: WWO: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: WWO: API key (api_key) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: WWO: forecast will not be run
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: DS: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: DS: API key (api_key) is not specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: DS: forecast will not be run
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: XTide: forecast version 3.3.0
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: XTide: location (location) has not been specified
Jun 27 10:44:40 raspberrypi weewxd: forecast: MainThread: XTide: forecast will not be run
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.restx: StationRegistry: Station will be registered.
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.restx: Wunderground-PWS: Data for station XXXXXXXXX will be posted
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.restx: PWSweather: Posting not enabled.
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.restx: CWOP: Posting not enabled.
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.restx: WOW: Data for station XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX will be posted
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.restx: AWEKAS: Posting not enabled.
Jun 27 10:44:40 raspberrypi weewxd: restx: WeatherCloud: service version is 0.11
Jun 27 10:44:40 raspberrypi weewxd: restx: WeatherCloud: Data will be uploaded for id=XXXXXXXXXXXXXX
Jun 27 10:44:40 raspberrypi weewxd: restx: OWM: service version is 0.7
Jun 27 10:44:40 raspberrypi weewxd: restx: OWM: Data will not be posted: Missing option 'appid'
Jun 27 10:44:40 raspberrypi weewxd: windy: version is 0.6
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.mqtt: service version is 0.23
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.mqtt: binding to [u'archive', u'loop']
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.mqtt: topic is weather
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.mqtt: desired unit system is METRIC
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.mqtt: data will be uploaded to mqtt://
192.168.1.199:1883Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 0: "extraTemp2 < 57"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 1: "extraTemp2 > 75"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 2: "extraTemp3 < 37"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 3: "extraTemp3 > 75"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 4: "extraTemp1 < 33"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 5: "extraTemp1 > 65"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm set for expression 6: "rxCheckPercent == 0"
Jun 27 10:44:40 raspberrypi weewx[8708] INFO __main__: Starting up weewx version 4.0.0
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jun 27 10:44:40 raspberrypi weewx[8708] INFO weewx.manager: Starting backfill of daily summaries
Jun 27 10:44:41 raspberrypi weewx[8708] ERROR weewx.drivers.fousb: unrecognised magic number 1104
Jun 27 10:44:41 raspberrypi weewx[8708] INFO weewx.drivers.fousb: synchronising to the weather station (quality=0)
Jun 27 10:44:59 raspberrypi weewx[8708] INFO weewx.drivers.fousb: unstable read: blocks differ for ptr 0x000000
Jun 27 10:45:00 raspberrypi weewx[8708] INFO weewx.drivers.fousb: unstable read: blocks differ for ptr 0x00aa80
Jun 27 10:45:00 raspberrypi weewxd: pond: found value of 55.2866
Jun 27 10:45:00 raspberrypi weewxd: pond: found value of 70.925
Jun 27 10:45:00 raspberrypi weewxd: pond: found value of 99.9000
Jun 27 10:45:00 raspberrypi weewxd: pond: found value of 67.325
Jun 27 10:45:00 raspberrypi weewx[8708] WARNING weewx.qc: 2021-06-27 10:44:59 CEST (1624783499) Archive value 'extraTemp2' 159.665 outside limits (32.0, 95.0)
Jun 27 10:45:00 raspberrypi weewx[8708] WARNING weewx.qc: 2021-06-27 10:44:59 CEST (1624783499) Archive value 'extraTemp3' 153.185 outside limits (32.0, 95.0)
Jun 27 10:45:00 raspberrypi weewx[8708] WARNING weewx.qc: 2021-06-27 10:44:59 CEST (1624783499) Archive value 'extraTemp1' 131.51588 outside limits (23.0, 68.0)
Jun 27 10:45:00 raspberrypi weewx[8708] INFO weewx.manager: Added record 2021-06-27 10:44:59 CEST (1624783499) to database 'weewx.sdb'
Jun 27 10:45:00 raspberrypi weewx[8708] INFO weewx.manager: Added record 2021-06-27 10:44:59 CEST (1624783499) to daily summary in 'weewx.sdb'
Jun 27 10:45:00 raspberrypi weewxd: forecast: MainThread: Zambretti: starting thread
Jun 27 10:45:00 raspberrypi weewxd: forecast: ZambrettiThread: Zambretti: generating forecast for 2021-06-27 09:00:00 CEST (1624777200)
Jun 27 10:45:00 raspberrypi weewxd: forecast: ZambrettiThread: Zambretti: using winddir from 2021-06-27 08:30:00 CEST (1624775400) to 2021-06-27 09:00:00 CEST (1624777200)
Jun 27 10:45:00 raspberrypi weewxd: forecast: ZambrettiThread: Zambretti: using pressure from 2021-06-27 06:00:00 CEST (1624766400) to 2021-06-27 09:00:00 CEST (1624777200)
Jun 27 10:45:00 raspberrypi weewxd: forecast: MainThread: OWM: starting thread
Jun 27 10:45:00 raspberrypi weewxd: forecast: MainThread: UKMO: starting thread
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: Windy: Unexpected exception of type <type 'exceptions.ValueError'>
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: WOW: Unexpected exception of type <type 'exceptions.ValueError'>
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: WeatherCloud: Unexpected exception of type <type 'exceptions.ValueError'>
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: Wunderground-PWS: Unexpected exception of type <type 'exceptions.ValueError'>
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: MQTT: Unexpected exception of type <type 'exceptions.ValueError'>
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** Traceback (most recent call last):
Jun 27 10:45:00 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm expression "extraTemp2 < 57" evaluated True at 2021-06-27 10:44:59 CEST (1624783499)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 378, in run_loop
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** self.process_record(_record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 422, in process_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** _full_record = self.get_record(record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 300, in get_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** % (_result[1], _result[2], record['usUnits']))
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** ValueError: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] CRITICAL weewx.restx: Windy: Thread terminating. Reason: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** Traceback (most recent call last):
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 378, in run_loop
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** self.process_record(_record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 422, in process_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** _full_record = self.get_record(record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 300, in get_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** % (_result[1], _result[2], record['usUnits']))
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** ValueError: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] CRITICAL weewx.restx: WOW: Thread terminating. Reason: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** Traceback (most recent call last):
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 378, in run_loop
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** self.process_record(_record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/user/wcloud.py", line 238, in process_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** Traceback (most recent call last):
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 378, in run_loop
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** self.process_record(_record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** Traceback (most recent call last):
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/user/mqtt.py", line 472, in process_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** record = self.get_record(record, dbm)
Jun 27 10:45:00 raspberrypi weewxd: forecast: ZambrettiThread: Zambretti: units=1 winddir=0.0 pressure=0.0 first_p= last_p=
Jun 27 10:45:00 raspberrypi weewxd: forecast: ZambrettiThread: Zambretti: forecast failure: could not convert string to float:
Jun 27 10:45:00 raspberrypi weewxd: forecast: ZambrettiThread: Zambretti: terminating thread
Jun 27 10:45:00 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm expression "extraTemp3 < 37" evaluated True at 2021-06-27 10:44:59 CEST (1624783499)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 378, in run_loop
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 300, in get_record
Jun 27 10:45:00 raspberrypi weewx[8708] INFO weewx.engine: Starting main packet loop.
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** % (_result[1], _result[2], record['usUnits']))
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** ValueError: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** self.process_record(_record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** r = self.get_record(record, dbm)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/user/wcloud.py", line 249, in get_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** rec = super(WeatherCloudThread, self).get_record(record, dbm)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 300, in get_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** % (_result[1], _result[2], record['usUnits']))
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** ValueError: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] CRITICAL weewx.restx: WeatherCloud: Thread terminating. Reason: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 422, in process_record
Jun 27 10:45:00 raspberrypi weewx[8708] INFO user.alarm_multi: Alarm expression "extraTemp1 < 33" evaluated True at 2021-06-27 10:44:59 CEST (1624783499)
Jun 27 10:45:00 raspberrypi weewx[8708] CRITICAL weewx.restx: MQTT: Thread terminating. Reason: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** _full_record = self.get_record(record, dbmanager)
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** File "/usr/share/weewx/weewx/restx.py", line 300, in get_record
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** % (_result[1], _result[2], record['usUnits']))
Jun 27 10:45:00 raspberrypi weewx[8708] ERROR weewx.restx: *** ValueError: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewx[8708] CRITICAL weewx.restx: Wunderground-PWS: Thread terminating. Reason: Inconsistent units (1 vs vs 1) when querying for hourRain
Jun 27 10:45:00 raspberrypi weewxd: forecast: OWMThread: OWM: got 40 forecast records
Jun 27 10:45:00 raspberrypi weewxd: forecast: OWMThread: OWM: saving 40 forecast records
Jun 27 10:45:00 raspberrypi weewxd: forecast: OWMThread: OWM: forecast failure: addRecord() got an unexpected keyword argument 'log_level'
Jun 27 10:45:00 raspberrypi weewxd: forecast: OWMThread: OWM: terminating thread
Jun 27 10:45:01 raspberrypi weewxd: forecast: UKMOThread: UKMO: missing field 'Location'
Jun 27 10:45:01 raspberrypi weewxd: forecast: UKMOThread: UKMO: got 0 forecast records
Jun 27 10:45:01 raspberrypi weewxd: forecast: UKMOThread: UKMO: saving 0 forecast records
Jun 27 10:45:01 raspberrypi weewxd: forecast: UKMOThread: UKMO: forecast failure: addRecord() got an unexpected keyword argument 'log_level'
Jun 27 10:45:01 raspberrypi weewxd: forecast: UKMOThread: UKMO: terminating thread
Jun 27 10:45:01 raspberrypi CRON[8748]: (pliggen) CMD (/usr/bin/php7.0 /var/www/html/weewx/smhi_warnings_bjurdammen.php > /dev/null 2>&1)
Jun 27 10:45:02 raspberrypi systemd[1]: Started Session c2641 of user pliggen.
Jun 27 10:45:02 raspberrypi weewx[8708] INFO user.alarm_multi: email sent to: [u'XXXXXXXXXXXXXXXXXXX']
Jun 27 10:45:02 raspberrypi weewx[8708] INFO user.alarm_multi: email sent to: [u'XXXXXXXXXXXXXXXXXXX']
Jun 27 10:45:02 raspberrypi systemd[1]: Started Session c2642 of user pliggen.
Jun 27 10:45:02 raspberrypi systemd[1]: Started Session c2643 of user pliggen.
Jun 27 10:45:02 raspberrypi weewx[8708] INFO user.alarm_multi: email sent to: [u'XXXXXXXXXXXXXXXXXXX']
Jun 27 10:45:03 raspberrypi weewx[8708] INFO weewx.drivers.fousb: station status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)
Jun 27 10:45:12 raspberrypi weewx[8708] ERROR weewx.restx: StationRegistry: Failed to publish record 2021-06-27 10:44:59 CEST (1624783499): Failed upload after 3 tries
Jun 27 10:46:02 raspberrypi systemd[1]: Started Session c2644 of user pliggen.
Jun 27 10:46:02 raspberrypi systemd[1]: Started Session c2645 of user pliggen.
Jun 27 10:46:03 raspberrypi systemd[1]: Started Session c2646 of user pliggen.
Jun 27 10:47:02 raspberrypi systemd[1]: Started Session c2647 of user pliggen.
Jun 27 10:47:02 raspberrypi systemd[1]: Started Session c2648 of user pliggen.
Jun 27 10:47:02 raspberrypi systemd[1]: Started Session c2649 of user pliggen.
Jun 27 10:47:32 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: Received signal TERM (15).
Jun 27 10:47:32 raspberrypi weewx[8708] INFO weewx.engine: Main loop exiting. Shutting engine down.
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: Terminating weewx version 4.0.0
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** Traceback (most recent call last):
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** File "/usr/share/weewx/weewxd", line 154, in main
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** engine.run()
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** File "/usr/share/weewx/weewx/engine.py", line 188, in run
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** for packet in self.console.genLoopPackets():
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** File "/usr/share/weewx/weewx/drivers/fousb.py", line 1072, in genLoopPackets
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** for p in self.get_observations():
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** File "/usr/share/weewx/weewx/drivers/fousb.py", line 1153, in get_observations
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** time.sleep(self.polling_interval)
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** File "/usr/share/weewx/weewxd", line 257, in sigTERMhandler
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** raise Terminate
Jun 27 10:47:32 raspberrypi weewx[8708] INFO __main__: **** Terminate
Jun 27 10:47:32 raspberrypi weewx[9056]: Stopping weewx weather system: weewx.
Jun 27 10:47:32 raspberrypi systemd[1]: Stopped LSB: weewx weather system.