Gary

Many thanks for your reply.

The log of what happened when I did as you suggest is below.  I have
included my attempts to kill the weewx PIDs at the start.  There is less
than 10mins, as my network crashed half way through (this intermitten
crashing is what caused me to change my router set up and hence the IP
address of the Davis Vantage Pro2 and hence the issues described here).  At
least this now appears to only show one weewx PID, as far as I can see.
Any further help you can give would be really appreciated.

pi@raspberrypi:~ $ sudo systemctl stop weewx

pi@raspberrypi:~ $ ps -aux|grep weewx

pi        6438  0.0  0.0   4368   552 pts/0    S+   11:23   0:00 grep
--color=au
                                                             to weewx

pi@raspberrypi:~ $ kill -9 6438

-bash: kill: (6438) - No such process

pi@raspberrypi:~ $ kill -9 4368

-bash: kill: (4368) - No such process

pi@raspberrypi:~ $ ps -aux|grep weewx

pi        6457  0.0  0.0   4368   564 pts/0    S+   11:26   0:00 grep
--color=auto weewx

pi@raspberrypi:~ $ kill -9 6457

-bash: kill: (6457) - No such process

pi@raspberrypi:~ $ sudo systemctl start weewx

pi@raspberrypi:~ $ ps -aux|grep weewx

root      6484  1.0  1.0  15452  9660 ?        S    11:27   0:00 python2
/usr/share/weewx/weewxd --daemon
--pidf
                                        ile=/var/run/weewx.pid
/etc/weewx/weewx.conf

pi        6489  0.0  0.0   4368   544 pts/0    S+   11:28   0:00 grep
--color=auto weewx

pi@raspberrypi:~ $ showlog

Jul  8 11:28:07 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage:
Getting archive packets since 2021-07-08
06
      :20:00 BST (1625721600)

Jul  8 11:28:07 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle
wake up of console successful

Jul  8 11:28:09 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage:
Retrieving 12 page(s); starting index= 1

Jul  8 11:28:09 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: DMPAFT
complete: page timestamp
2021-07-07
                                                   10:50:00 BST
(1625651400) less than final timestamp 2021-07-08 06:20:00 BST (1625721600)

Jul  8 11:28:09 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Catch
up complete.

Jul  8 11:28:09 raspberrypi weewx[6484] INFO weewx.engine: Starting main
packet loop.

Jul  8 11:28:10 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle
wake up of console successful

Jul  8 11:28:11 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage:
Requesting 200 LOOP packets.

Jul  8 11:28:11 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle
wake up of console successful

Jul  8 11:28:13 raspberrypi kernel: [12270.030958] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4


                               a:c3:08:00
SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=20067
PROTO=2

Jul  8 11:28:20 raspberrypi kernel: [12276.686821] [UFW BLOCK] IN=wlan0
OUT=
MAC=01:00:5e:00:00:01:e4:57:40:c2:d

3:72:08:00
SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=15562
PROTO=2

Jul  8 11:28:22 raspberrypi kernel: [12278.325287] [UFW BLOCK] IN=wlan0
OUT=
MAC=01:00:5e:00:00:fb:78:3e:53:b8:e
8:3a:08:00 SRC=192.168.0.46 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1
ID=0 DF PROTO=2

Jul  8 11:28:46 raspberrypi kernel: [12302.786362] [UFW BLOCK] IN=wlan0
OUT=
MAC=b8:27:eb:6b:80:28:9c:b6:d0:92:2

                                                9:4d:08:00
SRC=192.168.0.55 DST=192.168.0.24 LEN=141 TOS=0x00 PREC=0x00 TTL=128
ID=61860 PROTO=UDP SPT=57456 DPT


                                      =161
LEN=121

Jul  8 11:28:56 raspberrypi kernel: [12312.939246] [UFW BLOCK] IN=wlan0
OUT=
MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4
a:c3:08:00 SRC=192.168.0.36 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1
ID=64763 PROTO=2

Jul  8 11:29:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:29:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:29:08 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen
er


                  ror
[Errno -3] Temporary failure in name resolution>

Jul  8 11:29:08 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record
2021-07-08
                  11:28:12 BST (1625740092): Failed upload after 1 tries

Jul  8 11:29:08 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1:
[Errno -3] Temporary failure in name
r


esolution

Jul  8 11:29:27 raspberrypi kernel: [12343.247930] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1
DST=224.0.0.1 LEN=32 TOS=0x00
PR
EC=0xC0 TTL=1 ID=15565 PROTO=2

Jul  8 11:29:27 raspberrypi kernel: [12343.759989] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:00:90:a9:dd:b8:41:08:00 SRC=192.168.0.56
DST=224.0.0.251 LEN=32
TOS=0x00
                                          PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:29:42 raspberrypi kernel: [12358.096314] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36
DST=224.0.0.251 LEN=32 TOS=0x00


PREC=0x00
TTL=1 ID=60422 PROTO=2

Jul  8 11:29:42 raspberrypi kernel: [12358.096660] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1
DST=224.0.0.251 LEN=36
TOS=0x00
PREC=0xC0 TTL=1 ID=19984 PROTO=2

Jul  8 11:29:42 raspberrypi kernel: [12358.096825] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:78:3e:53:b8:e8:3a:08:00 SRC=192.168.0.46
DST=224.0.0.251 LEN=32
TOS=0x00
                                                                     PREC=0xC0
TTL=1 ID=0 DF PROTO=2

Jul  8 11:30:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:30:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:30:04 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in
name resolution>

Jul  8 11:30:04 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record 2021-07-08 11:29:07 BST (1625740147): Failed
upload after 1 tries

Jul  8 11:30:09 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2:
[Errno -3] Temporary failure in name resolution

Jul  8 11:30:14 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage:
Getting archive packets since 2021-07-08 06:20:00 BST (1625721600)

Jul  8 11:30:15 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle
wake up of console successful

Jul  8 11:30:16 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage:
Retrieving 12 page(s); starting index= 1

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: DMPAFT
complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less than
final timestamp 2021-07

                                                                  -08
06:20:00 BST (1625721600)

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Catch
up complete.

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running
reports for latest time in the database.

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage:
Requesting 200 LOOP packets.

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running
report 'StandardReport'

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found
configuration file /etc/weewx/skins/Belchertown/skin.conf for report
'StandardReport'

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.cheetahgenerator: Using
search list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Station',
'weewx.cheetah
                 generator.Current', 'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
'weewx.cheetahgenerator.JSONHelpers',
u'user.belche

       rtown.getData']

Jul  8 11:30:17 raspberrypi weewx[6484] DEBUG weewx.manager: Daily summary
version is 4.0

Jul  8 11:30:17 raspberrypi weewxd: Belchertown Extension: version 0.8rc2

Jul  8 11:30:18 raspberrypi weewx[6484] DEBUG weewx.drivers.vantage: Gentle
wake up of console successful

Jul  8 11:30:57 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:30:57 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:31:00 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in
name resolution>

Jul  8 11:31:00 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record 2021-07-08 11:30:04 BST (1625740204): Failed
upload after 1 tries

Jul  8 11:31:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:31:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:31:01 raspberrypi CRON[6510]: (pi) CMD (sudo cp -f
/var/www/html/weewx/belchertown/json/day.json
/var/www/html/weewx/belchertown/json/week.json
/var/www/html/wee

   wx/belchertown/json/month.json
/var/www/html/weewx/belchertown/json/year.json /var/www/html/weewx/json)

Jul  8 11:31:11 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3:
[Errno -3] Temporary failure in name resolution

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine: Caught
unrecoverable exception in generator
'weewx.cheetahgenerator.CheetahGenerator'

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****  Error downloading forecast data. Check the URL in your configuration
and try again. You
are
  trying to use URL:
https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en,
and the error is: <urlopen error [Errno -3]
Temporar
                                                              y failure in
name resolution>

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****  Traceback (most recent call last):

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****      obj.start()

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****      self.run()

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****      ngen = self.generate(gen_dict[section_name], self.gen_ts)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in
generate

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in
generate

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****      ngen += self.generate(section[subsection], gen_ts)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in
generate

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
 ****      default_binding)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in
_getSearchList

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
       ****      searchList += obj.get_extension_list(timespan, db_lookup)

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****    File "/usr/share/weewx/user/belchertown.py", line 406, in
get_extension_list

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****      raise Warning( "Error downloading forecast data. Check the URL in
your configuration
an
                                       d try again. You are trying to use
URL: %s, and the error is: %s" % ( forecast_url, error ) )

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****  Warning: Error downloading forecast data. Check the URL in your
configuration and try
again
. You are trying to use URL:
https://api.darksky.net/forecast/27feba6b7f421e968e0d2842ef610af3/51.306,-0.29?units=auto&lang=en,
and the error is: <urlopen error [Errno
-3]
Temporary failure in name resolution>

Jul  8 11:31:14 raspberrypi weewx[6484] ERROR weewx.reportengine:
****  Generator terminated

Jul  8 11:31:14 raspberrypi weewx[6484] INFO weewx.reportengine: Copied 22
files to /var/www/html/weewx

Jul  8 11:31:14 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running
report 'sftp'

Jul  8 11:31:14 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found
configuration file /etc/weewx/skins/sftp/skin.conf for report 'sftp'

Jul  8 11:31:14 raspberrypi weewxd: sftp: running SFTPGenerator 0.3

Jul  8 11:31:15 raspberrypi weewxd: sftp: local_root=/var/www/html/weewx

Jul  8 11:31:15 raspberrypi weewxd: sftp: remote_root=/

Jul  8 11:31:15 raspberrypi weewxd: sftp:
server=home756219443.1and1-data.host port=22 user=u95106325

Jul  8 11:31:15 raspberrypi weewxd: sftp: connecting to
[email protected]

Jul  8 11:31:16 raspberrypi weewx[6484] ERROR weewx.restx: MQTT: Failed to
publish record 2021-07-08 11:28:12 BST (1625740092): Failed upload after 3
tries

Jul  8 11:31:19 raspberrypi kernel: [12455.787617] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36
DST=224.0.0.251 LEN=32
TOS=0x00
PREC=0x00 TTL=1 ID=40612 PROTO=2

Jul  8 11:31:24 raspberrypi kernel: [12460.088337] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:56:49:9b:03:b7:a1:08:00 SRC=192.168.0.35
DST=224.0.0.251 LEN=32
TOS=0x00

          PREC=0x00
TTL=1 ID=57898 PROTO=2

Jul  8 11:31:32 raspberrypi kernel: [12468.076715] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1
DST=224.0.0.1 LEN=32 TOS=0x00
PR
EC=0xC0 TTL=1 ID=15574 PROTO=2

Jul  8 11:31:32 raspberrypi kernel: [12468.690065] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:00:0e:58:23:16:66:08:00 SRC=192.168.0.38
DST=224.0.0.251 LEN=32
TOS=0x00
            PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Jul  8 11:31:53 raspberrypi kernel: [12489.272844] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:64:9a:be:19:4b:8e:08:00 SRC=192.168.0.44
DST=224.0.0.251 LEN=32 TOS=0x00

                                   PREC=0x00
TTL=1 ID=21984 PROTO=2

Jul  8 11:31:56 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in
name resolution>

Jul  8 11:31:56 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record 2021-07-08 11:30:57 BST (1625740257): Failed
upload after 1 tries

Jul  8 11:31:56 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:31:56 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:32:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:32:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:32:11 raspberrypi weewxd: sftp: connect 1 of 3 failed:
(u'home756219443.1and1-data.host', 22)

Jul  8 11:32:12 raspberrypi weewxd: restx: MQTT: Failed upload attempt 1:
[Errno -3] Temporary failure in name resolution

Jul  8 11:32:24 raspberrypi kernel: [12520.403006] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:ce:ae:c5:22:57:5f:08:00 SRC=192.168.0.27
DST=224.0.0.251 LEN=32 TOS=0x00

                                                  PREC=0x00
TTL=1 ID=52756 PROTO=2

Jul  8 11:32:37 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:32:37 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:32:52 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in
name resolution>

Jul  8 11:32:52 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record 2021-07-08 11:31:53 BST (1625740313): Failed
upload after 1 tries

Jul  8 11:33:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:33:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:33:07 raspberrypi weewxd: sftp: connect 2 of 3 failed:
(u'home756219443.1and1-data.host', 22)

Jul  8 11:33:13 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2:
[Errno -3] Temporary failure in name resolution

Jul  8 11:33:37 raspberrypi kernel: [12593.313029] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1
DST=224.0.0.1 LEN=32 TOS=0x00
PR
                                                             EC=0xC0 TTL=1
ID=15583 PROTO=2

Jul  8 11:33:38 raspberrypi kernel: [12594.951645] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:9c:32:ce:cc:4b:99:08:00 SRC=192.168.0.21
DST=224.0.0.251 LEN=32
TOS=0x00
PREC=0x00 TTL=1 ID=48726 PROTO=2

Jul  8 11:33:46 raspberrypi kernel: [12602.428483] [UFW BLOCK] IN=wlan0
OUT= MAC=b8:27:eb:6b:80:28:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55
DST=192.168.0.24 LEN=141
TOS=0x
00 PREC=0x00 TTL=128 ID=61932 PROTO=UDP SPT=57357 DPT=161 LEN=121

Jul  8 11:33:48 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in
name resolution>

Jul  8 11:33:48 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record 2021-07-08 11:32:51 BST (1625740371): Failed
upload after 1 tries

Jul  8 11:34:02 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:34:02 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:34:03 raspberrypi weewxd: sftp: connect 3 of 3 failed:
(u'home756219443.1and1-data.host', 22)

Jul  8 11:34:03 raspberrypi weewxd: sftp: failed 3 attempts for
[email protected]

Jul  8 11:34:03 raspberrypi weewxd: sftpgenerator: transferred 0 files in
169.40 seconds

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running
report 'Highcharts_Belchertown'

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found
configuration file /etc/weewx/skins/Highcharts_Belchertown/skin.conf for
report
'Highcharts_Belcher
                       town'

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.cheetahgenerator: Using
search list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Station',
'weewx.cheetah

                   generator.Current',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers',
u'user.belche
rtown_highchartsSearchX.highchartsDay',
u'user.belchertown_highchartsSearchX.highchartsWeek',
u'user.belchertown_highchartsSearchX.highchartsMonth',
u'user.belchertown_hig
hchartsSearchX.highchartsYear']

Jul  8 11:34:03 raspberrypi weewx[6484] DEBUG weewx.manager: Daily summary
version is 4.0

Jul  8 11:34:10 raspberrypi kernel: [12626.695937] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:6e:a5:b7:f8:4a:c3:08:00 SRC=192.168.0.36
DST=224.0.0.251 LEN=32 TOS=0x00


PREC=0x00
TTL=1 ID=27936 PROTO=2

Jul  8 11:34:14 raspberrypi weewxd: restx: MQTT: Failed upload attempt 3:
[Errno -3] Temporary failure in name resolution

Jul  8 11:34:19 raspberrypi weewx[6484] ERROR weewx.restx: MQTT: Failed to
publish record 2021-07-08 11:28:12 BST (1625740092): Failed upload after 3
tries

Jul  8 11:34:21 raspberrypi kernel: [12637.755328] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:01:e4:57:40:c2:d3:72:08:00 SRC=192.168.0.1
DST=224.0.0.1 LEN=36 TOS=0x00
PR
EC=0xC0 TTL=1 ID=15590 PROTO=2

Jul  8 11:34:22 raspberrypi kernel: [12638.062701] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:90:21:06:46:88:f9:08:00 SRC=192.168.0.45
DST=224.0.0.251 LEN=32
TOS=0x00

                      PREC=0xC0
TTL=1 ID=0 DF PROTO=2

Jul  8 11:34:25 raspberrypi weewx[6484] INFO weewx.cheetahgenerator:
Generated 4 files for report Highcharts_Belchertown in 21.38 seconds

Jul  8 11:34:25 raspberrypi weewx[6484] INFO weewx.reportengine: Copied 0
files to /var/www/html/weewx/belchertown

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.reportengine: Running
report 'Belchertown'

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.reportengine: Found
configuration file /etc/weewx/skins/Belchertown/skin.conf for report
'Belchertown'

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.cheetahgenerator: Using
search list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Station',
'weewx.cheetah
generator.Current', 'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
'weewx.cheetahgenerator.JSONHelpers',
u'user.belche
rtown.getData']

Jul  8 11:34:25 raspberrypi weewx[6484] DEBUG weewx.manager: Daily summary
version is 4.0

Jul  8 11:34:45 raspberrypi weewx[6484] DEBUG weewx.restx: Wunderground-RF:
Failed upload attempt 1: <urlopen error [Errno -3] Temporary failure in
name resolution>

Jul  8 11:34:45 raspberrypi weewx[6484] ERROR weewx.restx: Wunderground-RF:
Failed to publish record 2021-07-08 11:33:49 BST (1625740429): Failed
upload after 1 tries

Jul  8 11:34:53 raspberrypi kernel: [12670.012329] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55
DST=224.0.0.251 LEN=32
TOS=0x00
PREC=0x00 TTL=1 ID=6208 PROTO=2

Jul  8 11:34:54 raspberrypi kernel: [12670.626473] [UFW BLOCK] IN=wlan0
OUT= MAC=01:00:5e:00:00:fb:9c:b6:d0:92:29:4d:08:00 SRC=192.168.0.55
DST=224.0.0.251 LEN=32
TOS=0x00
                                                                PREC=0x00
TTL=1 ID=6209 PROTO=2

Jul  8 11:35:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage:
ip-read error: timed out

Jul  8 11:35:01 raspberrypi weewx[6484] ERROR weewx.drivers.vantage: LOOP
try #1; error: timed out

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: carrier lost

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: deleting address
fe80::aba8:bd8:21c8:842f

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Withdrawing address record
for fe80::aba8:bd8:21c8:842f on eth0.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Leaving mDNS multicast group
on interface eth0.IPv6 with address fe80::aba8:bd8:21c8:842f.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Interface eth0.IPv6 no
longer relevant for mDNS.

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: deleting default route via
10.0.1.1

Jul  8 11:35:07 raspberrypi dhcpcd[426]: eth0: deleting route to 10.0.1.0/24

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Withdrawing address record
for 10.0.1.16 on eth0.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Leaving mDNS multicast group
on interface eth0.IPv4 with address 10.0.1.16.

Jul  8 11:35:07 raspberrypi avahi-daemon[407]: Interface eth0.IPv4 no
longer relevant for mDNS.



On Thu, 8 Jul 2021 at 11:04, gjr80 <[email protected]> wrote:

> Bit hard to read but it still appears that you have at least two WeeWX
> instances running:
>
> Jul  8 08:41:33 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage:
> Gentle wake up of console successful
>
> Jul  8 08:41:36 raspberrypi weewxd: restx: MQTT: Failed upload attempt 2:
> [Errno -3] Temporary failure in name resolution
>
> Jul  8 08:41:36 raspberrypi weewx[1400] ERROR weewx.drivers.vantage:
> ip-read error: timed out
> I also suspect you have some remnants of running WeeWX directly as well
> (the weewxd: entries)
>
> The following lines seem to indicate that one WeeWX instance (1942) is
> communicating with the logger just fine:
>
> Jul  8 08:41:28 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage:
> Retrieving 5 page(s); starting index= 1
>
> Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage:
> DMPAFT complete: page timestamp 2021-07-07 10:50:00 BST (1625651400) less
> than final timestamp 2021-07-08 06:20:00 BST (1625721600)
>
> Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage: Catch
> up complete.
>
> Jul  8 08:41:29 raspberrypi weewx[1942] INFO weewx.engine: Starting main
> packet loop.
>
> Jul  8 08:41:29 raspberrypi weewx[1942] DEBUG weewx.drivers.vantage:
> Gentle wake up of console successful
>
> Judging by that portion of the log I suspect you probably have corrupt
> station memory and will likely ultimately have to clear the logger memory.
> But first you need to kill the competing WeeWX instances or you will
> continue to chase your tail. I suggest you:
>
> 1. Attempt to stop the WeeWX daemon using
>
> $ sudo systemctl stop weewx
>
> or whatever command you are used to using.
>
> 2. Check for any remaining running WeeWX instances using:
>
> $ ps -aux|grep weewx
>
> This will give you a list of processes that include the text 'weewx'
> somewhere in them, the list of entries will look something like:
>
> bill     12631  0.0  0.0   6488   392 pts/1    S+   17:01   0:00 tail -f
> -n 50 /var/log/weewx/weewx.log
>
> root    12676 16.3  5.8 191520 55824 ?        Sl   17:01  26:13
> /usr/bin/python3 /home/weewx/bin/weewxd --daemon --log-label weewx
> --pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
>
> The number in the second column is the process ID (PID) and the last
> column is the text after the last time column is the command being run. In
> the above case PID 12676 is a running WeeWX instance but PID 12631 is not
> (it's just tailing the WeeWX log)
>
> 3. Kill any running WeeWX instances by using the kill command as follows
> to kill the PID(s) concerned. In the above case you would use:
>
> $ sudo kill -9 12676
>
> Again, in your case, I suspect you may well have PIDs of 1400 and/or 1942.
> You will probably also see one for weewxd, kill that PID too.
>
> 4. Run the ps command at 2. above and check there are no WeeWX instances
> still running (other PIDs that include the text 'weewx', such as the tail
> [PID 12631] above, are fine).
>
> 5. Restart WeeWX using
>
> $ sudo systemctl start weewx
>
> 6. Monitor the log from startup, you will initially two difference PIDs
> being used for WeeWX but once the WeeWX daemon is up and running there
> should only be one PID appearing in the log. Take a copy of the log from
> startup through until 10 minutes have passed (from startup) and post the
> log back here.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/9gG34XNbgDk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/046b0dbd-756e-4e59-8c4b-0947e1ab05fdn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/046b0dbd-756e-4e59-8c4b-0947e1ab05fdn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAKbmhJRKR2Eaqakp6-oYWyTPn2K5FgBD6%2BYOVoqMpgOA4y4ssg%40mail.gmail.com.

Reply via email to