My upgrade from 4.10 to 5.0 on my laptop, i.e. not connected to a real weather station thus running with the simulator device, has actually gone very nicely but for one puzzling report. I thought installing on my laptop would better prepare me for installing on my desktop that is actually connected to my weather station.
Jan 23 12:06:12 xps13-9305 systemd-udevd[632]: /usr/lib/udev/rules.d/60-weewx.rules:4 Unknown group '{weewx}', ignoring.
The reports occur in sets of ten once daily, so far.
installation history:
initially installed on this server running fedora in 2014 via the setup.py method. In 2020 I switched to the dnf repo method. When I first ran this upgrade to ver 5.0 using dnf upgrade I noticed that I ended up with the application using root:root for user:group assignments of directories and files. Reading the installation guide some more I noted there was a transition to weewx:weewx for those assignments. So I erased the application then ran dnf install weewx following along the instructions for fedora versions 34+. That seemed to correct the issue of ownership by creating the missing user and group.
I don’t observe anything else out of place. My install starts against the simulator device, and enters the main loop where it updates the database as I would expect.
Question: does the error reported above as in the journal imply a mis-configuration? Why is the group weewx identified as unknown?
- - - - - - - - - - -
Context:
{journal entries for ten minutes following reboot in attached text file}
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Initializing weewxd version 5.0.0
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Using Python 3.12.1 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)]
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Located at /usr/bin/python3
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Platform Linux-6.6.12-200.fc39.x86_64-x86_64-with-glibc2.38
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Locale: 'en_US.UTF-8'
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Entry path: /usr/share/weewx/weewxd.py
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: WEEWX_ROOT: /etc/weewx
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Configuration file: /etc/weewx/weewx.conf
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: User module: /etc/weewx/bin/user
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO __main__: Debug: 1
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO weewx.engine: Loading station type Simulator (weewx.drivers.simulator)
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO weewx.engine: StdConvert target unit is 0x1
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO weewx.engine: Archive will use data binding wx_binding
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO weewx.engine: Record generation will be attempted in 'hardware'
Jan 22 11:55:05 xps13-9305 weewxd[872]: INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
- - - - - - - - - - -
My upgrade from 4.10 to 5.0 on my laptop, i.e. not connected to a real weather station thus running with the simulator device, has actually gone very nicely but for one puzzling report. I thought installing on my laptop would better prepare me for installing on my desktop that is actually connected to my weather station.
Jan 23 12:06:12 xps13-9305 systemd-udevd[632]: /usr/lib/udev/rules.d/60-weewx.rules:4 Unknown group '{weewx}', ignoring.
installation history:
initially installed on this server running fedora in 2014 via the setup.py method. In 2020 I switched to the dnf repo method. When I first ran this upgrade to ver 5.0 using dnf upgrade I noticed that I ended up with the application using root:root for user:group assignments of directories and files. Reading the installation guide some more I noted there was a transition to weewx:weewx for those assignments. So I erased the application then ran dnf install weewx following along the instructions for fedora versions 34+. That seemed to correct the issue of ownership by creating the missing user and group.
I don’t observe anything else out of place. My install starts against the simulator device, and enters the main loop where it updates the database as I would expect.
Question: does the error reported above as in the journal imply a mis-configuration? Why is the group weewx identified as unknown?
if you saw that v5 was running as root:root, that means you must have deleted /var/lib/weewx, or changed its permissions. could you verify this?
3) xps13-9305:/etc/init.d# grep weewx /etc/passwd
weewx:x:971:960::/home/weewx:/sbin/nologin