instantlinux / docker-tools

Docker tools for developer productivity & entertainment
Apache License 2.0
268 stars 90 forks source link

SYS-623 re-implement weewx installation for version 5.x #165

Closed instantlinux closed 3 weeks ago

instantlinux commented 3 weeks ago

Summary of Changes

Why is this change being made?

Routine security patching and version updates.

How was this tested? How can the reviewer verify your testing?

Local testing and CI. This is the startup message at container launch.

Using configuration file /home/weewx/weewx-data/weewx.conf
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Initializing weectl version 5.1.0
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Command line: /home/weewx/weewx-venv/bin/weectl station reconfigure --driver=weewx.drivers.vantage --no-prompt
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Using Python: 3.12.3 (main, Apr 18 2024, 07:52:31) [GCC 13.2.1 20240309]
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Located at:   /home/weewx/weewx-venv/bin/python3
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Platform:     Linux-5.15.0-113-generic-x86_64-with
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Locale:       'C.UTF-8;C;C;C;C;C'
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Entry path:   /home/weewx/weewx-venv/bin/weectl
2024-08-22 07:21:12 weectl[16]: INFO weectllib: WEEWX_ROOT:   /home/weewx/weewx-data
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Config file:  /home/weewx/weewx-data/weewx.conf
2024-08-22 07:21:12 weectl[16]: INFO weectllib: User module:  /home/weewx/weewx-data/bin/user
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Debug:        0
2024-08-22 07:21:12 weectl[16]: INFO weectllib: User:         weewx
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Group:        dialout
2024-08-22 07:21:12 weectl[16]: INFO weectllib: Groups:       dialout dialout
Processing configuration file /home/weewx/weewx-data/weewx.conf
2024-08-22 07:21:12 weectl[16]: INFO weectl-station: Using Vantage version 3.6.2 (weewx.drivers.vantage)
Saving configuration file /home/weewx/weewx-data/weewx.conf
Saved old configuration file as /home/weewx/weewx-data/weewx.conf.20240822072112
Using configuration file /home/weewx/weewx-data/weewx.conf
Using driver weewx.drivers.vantage.
Using Vantage driver version 3.6.2 (weewx.drivers.vantage)
Old archive interval is 5 minutes, new one will be 5 minutes.
Old and new archive intervals are the same. Nothing done.
Using configuration file /home/weewx/weewx-data/weewx.conf
Using driver weewx.drivers.vantage.
Using Vantage driver version 3.6.2 (weewx.drivers.vantage)
Old rain season start is 10, new one is 10.
Old and new rain season starts are the same. Nothing done.
Using configuration file /home/weewx/weewx-data/weewx.conf
Using driver weewx.drivers.vantage.
Using Vantage driver version 3.6.2 (weewx.drivers.vantage)
Setting time zone code to 4...
Set time zone code to 4
# wx-nginx.ci.net:3022 SSH-2.0-OpenSSH_9.1
# wx-nginx.ci.net:3022 SSH-2.0-OpenSSH_9.1
# wx-nginx.ci.net:3022 SSH-2.0-OpenSSH_9.1
# wx-nginx.ci.net:3022 SSH-2.0-OpenSSH_9.1
# wx-nginx.ci.net:3022 SSH-2.0-OpenSSH_9.1
Using configuration file /home/weewx/weewx-data/weewx.conf
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Initializing weewxd version 5.1.0
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Command line: /home/weewx/weewx-venv/bin/weewxd
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Using Python: 3.12.3 (main, Apr 18 2024, 07:52:31) [GCC 13.2.1 20240309]
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Located at:   /home/weewx/weewx-venv/bin/python3
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Platform:     Linux-5.15.0-113-generic-x86_64-with
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Locale:       'C.UTF-8;C;C;C;C;C'
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Entry path:   /home/weewx/weewx-venv/bin/weewxd
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: WEEWX_ROOT:   /home/weewx/weewx-data
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Config file:  /home/weewx/weewx-data/weewx.conf
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: User module:  /home/weewx/weewx-data/bin/user
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Debug:        0
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: User:         weewx
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Group:        dialout
2024-08-22 07:21:43 weewxd[44]: INFO weewxd: Groups:       dialout dialout
2024-08-22 07:21:43 weewxd[44]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-08-22 07:21:47 weewxd[44]: INFO user.airlink: Service version is 1.4.
2024-08-22 07:21:47 weewxd[44]: INFO user.airlink: Source 1 for AirLink readings: airlink:80, timeout: 2
2024-08-22 07:21:47 weewxd[44]: INFO weewx.engine: StdConvert target unit is 0x1
2024-08-22 07:21:47 weewxd[44]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-08-22 07:21:47 weewxd[44]: INFO weewx.engine: Archive will use data binding wx_binding
2024-08-22 07:21:47 weewxd[44]: INFO weewx.engine: Record generation will be attempted in 'hardware'
2024-08-22 07:21:47 weewxd[44]: INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)
2024-08-22 07:21:47 weewxd[44]: INFO weewx.restx: StationRegistry: Station will be registered.
2024-08-22 07:21:47 weewxd[44]: INFO weewx.restx: Wunderground-RF: Data for station KCASANFR1966 will be posted
2024-08-22 07:21:47 weewxd[44]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-08-22 07:21:47 weewxd[44]: INFO weewx.restx: CWOP: Posting not enabled.
2024-08-22 07:21:47 weewxd[44]: INFO weewx.restx: WOW: Posting not enabled.
2024-08-22 07:21:47 weewxd[44]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-08-22 07:21:47 weewxd[44]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-08-22 07:21:47 weewxd[44]: INFO weewxd: Starting up weewx version 5.1.0
2024-08-22 07:21:48 weewxd[44]: INFO weewx.engine: Clock error is 2.62 seconds (positive is fast)
2024-08-22 07:21:48 weewxd[44]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx_a'
2024-08-22 07:21:48 weewxd[44]: INFO weewx.manager: Starting backfill of daily summaries
2024-08-22 07:21:48 weewxd[44]: INFO weewx.manager: Daily summaries up to date

Completion checklist