I log in to the system using the same user/credentials as when I installed PiHole and Unbound which installed and ran without any issues.
When the weewx installation completes, the service fails to start and there appears to be folders/files missing.
Here is the console output from the installation process, the output of "systemctl status weewx.service" and "journalctl -u weewx"
pi@raspberrypi1:~ $ cat /etc/issue
Raspbian GNU/Linux 10 \n \l
pi@raspberrypi1:~ $ python --version
Python 2.7.16
pi@raspberrypi1:~ $ sudo wget -qO -
http://weewx.com/keys.html | sudo apt-key add -
OK
pi@raspberrypi1:~ $ sudo wget -qO -
http://weewx.com/apt/weewx-python2.list | sudo tee /etc/apt/sources.list.d/weewx.list
deb [arch=all]
http://weewx.com/apt/python2 squeeze main
pi@raspberrypi1:~ $ sudo apt-get update
Hit:1
http://weewx.com/apt/python2 squeeze InRelease
Hit:2
http://archive.raspberrypi.org/debian buster InRelease
Get:3
http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Fetched 15.0 kB in 1s (11.5 kB/s)
Reading package lists... Done
pi@raspberrypi1:~ $ sudo apt-get install weewx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
lxplug-volume
Use 'sudo apt autoremove' to remove it.
Suggested packages:
sqlite ftp
The following NEW packages will be installed:
weewx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,207 kB of archives.
After this operation, 5,327 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package weewx.
(Reading database ... 100745 files and directories currently installed.)
Preparing to unpack .../archives/weewx_4.2.0-1_all.deb ...
Unpacking weewx (4.2.0-1) ...
Setting up weewx (4.2.0-1) ...
Job for weewx.service failed because the control process exited with error code.
See "systemctl status weewx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript weewx, action "start" failed.
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated)
Active: failed (Result: exit-code) since Wed 2020-12-16 13:48:44 EST; 22ms ago
Docs: man:systemd-sysv-generator(8)
Process: 10601 ExecStart=/etc/init.d/weewx start (code=exited, status=1/FAILURE)
Dec 16 13:48:43 raspberrypi1 systemd[1]: Starting LSB: weewx weather system...
Dec 16 13:48:44 raspberrypi1 weewx[10601]: Starting weewx weather system: weewxTraceback (most recent call last):
Dec 16 13:48:44 raspberrypi1 weewx[10601]: File "/usr/share/weewx/weewxd", line 28, in <module>
Dec 16 13:48:44 raspberrypi1 weewx[10601]: import user.extensions
Dec 16 13:48:44 raspberrypi1 weewx[10601]: ImportError: No module named extensions
Dec 16 13:48:44 raspberrypi1 weewx[10601]: failed!
Dec 16 13:48:44 raspberrypi1 systemd[1]: weewx.service: Control process exited, code=exited, status=1/FAILURE
Dec 16 13:48:44 raspberrypi1 systemd[1]: weewx.service: Failed with result 'exit-code'.
Dec 16 13:48:44 raspberrypi1 systemd[1]: Failed to start LSB: weewx weather system.
dpkg: error processing package weewx (--configure):
installed weewx package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (241-7~deb10u5+rpi1) ...
Errors were encountered while processing:
weewx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks in advance.