I just upgraded my Raspberry Pi 4 weewx installation to v4.3 from v 4.2 and everything appears to be working as expected. Being the paranoid sort that I am, when the upgrade process prompted me to overwrite or save/use my current weewx.conf I told it to use my current one. After doing so and saving multiple versions of weewx.conf, the system reported that it is using weewx.conf-4.2.0.
Now that I have verified that the new, combined weewx.conf will be ok to use, how do I get weewx to use the combined weewx.conf instead of the old weewx.conf-4.2.0?
I couldn't find any specific information on how to verify the version of weewx.conf weewx was using when it started running. Also, I didn't see anything is the syslog when I restarted weewx that would lead me to know which weewx.conf it was running with.
Upgrade process console output below,
pi@raspberrypi1:~ $ sudo apt-get update
Get:1
http://weewx.com/apt/python3 buster InRelease [3,906 B]
Get:2
http://weewx.com/apt/python3 buster/main all Packages [1,725 B]
Get:3
http://archive.raspberrypi.org/debian buster InRelease [32.7 kB]
Get:4
http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:5
http://archive.raspberrypi.org/debian buster/main armhf Packages [349 kB]
Get:6
http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.4 MB in 8s (1,664 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 packages were automatically installed and are no longer required:
lxplug-volume python-cheetah python-configobj python-usb
Use 'sudo apt autoremove' to remove them.
Suggested packages:
sqlite ftp
The following packages will be upgraded:
weewx
1 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
Need to get 1,201 kB of archives.
After this operation, 18.4 kB disk space will be freed.
Get:1
http://weewx.com/apt/python3 buster/main all weewx all 4.3.0-1 [1,201 kB]
Fetched 1,201 kB in 1s (1,731 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 102302 files and directories currently installed.)
Preparing to unpack .../archives/weewx_4.3.0-1_all.deb ...
Unpacking weewx (4.3.0-1) over (4.2.0-1) ...
Setting up weewx (4.3.0-1) ...
Installing new version of config file /etc/weewx/skins/Mobile/skin.conf ...
Configuration file '/etc/weewx/skins/Seasons/skin.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** skin.conf (Y/I/N/O/D/Z) [default=N] ? n
Installing new version of config file /etc/weewx/skins/Smartphone/skin.conf ...
Installing new version of config file /etc/weewx/skins/Standard/skin.conf ...
Installing new version of config file /etc/weewx/udev/rules.d/cc3000.rules ...
Installing new version of config file /etc/weewx/udev/rules.d/weewx.rules ...
Configuration file '/etc/weewx/weewx.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** weewx.conf (Y/I/N/O/D/Z) [default=N] ? n
Installing new version of config file /etc/weewx/weewx.conf.dist ...
saving previous config file as /etc/weewx/weewx.conf-4.2.0
saving distribution config file as /etc/weewx/weewx.conf-4.3.0
merging previous and distribution into /etc/weewx/weewx.conf
Using configuration file /etc/weewx/weewx.conf-4.2.0
Processing triggers for systemd (241-7~deb10u5+rpi1) ...