we just tried the upgrade again to weewx v5.0.1 (sudo apt update) and it worked this time. (we have not done any changes to the system after the downgrade to v4.10.2)
On Tuesday, February 6, 2024 at 8:32:36 PM UTC+3 Pierre-Yves wrote: > @ Matthew, thanks. I need now to "digest" all this information, it's a bit > high level for me ;-) > > @ Stefanos, thanks too, I tested my USB SDR key and obtain the same result > as yours : "Bus 003 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. > RTL2838 DVB-T" > > Pierre-Yves > Le mardi 6 février 2024 à 18:17:07 UTC+1, Stefanos Kalaitzis a écrit : > >> i forgot to write in my last message that when you finished you must >> restart udev or restart the device you using( p.c , rpi ,... etc) >> >> On Tuesday, February 6, 2024 at 7:11:07 PM UTC+2 matthew wall wrote: >> >>> On Tuesday, February 6, 2024 at 11:38:24 AM UTC-5 Pierre-Yves wrote: >>> >>> It seems to be a problem of rules change. In fact, I first upgraded from >>> 4.10.2 to 5.0.0 and weewx worked perfectly. >>> >>> >>> weewx was running as root:root. weewx 5.0.0 did not modify any >>> permissions when it upgraded from 4.10.2. >>> >>> >>> Then I went from 5.0.0 to 5.0.1 an weewx failed to start. >>> >>> >>> weewx was running as weewx:weewx. weewx 5.0.1 converts from root:root >>> permissions to weewx:weewx permissions, and runs the daemon as weewx. >>> >>> >>> For Weewx,, I did a deb/rpm install and, as far I remember, I installed >>> rtl-sdr following your Git (https://github.com/matthewwall/weewx-sdr). >>> >>> I tried the command you proposed (sudo usermod -aG plugdev weewx) but >>> that doesn't solve the problem. >>> >>> >>> is there a udev rules file for sdr? (it is a separate step when you >>> build rtl-sdr from source) >>> if there is a udev rules file for sdr, how are the permissions set? >>> did the usermod for weewx succeed? >>> is weewx in the plugdev group? (grep weewx /etc/group) >>> did you restart weewxd after putting weewx into the plugdev group? >>> >>> >>> Regarding the rtl-sdr rules, I have a doubt. I installed the file in >>> /etc/weewx/udev/rules.d. Maybe it is a wrong place... I read in another >>> thread that it should be in /usr/lib/udev/rules.d... What about ? >>> >>> >>> packages install to /usr/lib/udev/rules.d >>> >>> system administrators (or end-users acting as system administrators) put >>> things in /etc/udev/rules.d >>> >>> that way you can override whatever a package installs, and your changes >>> will not be overwritten by the package when you upgrade/update. >>> >>> >> -- 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/eccc3ce1-dcb3-4835-977d-82c2b9683c07n%40googlegroups.com.
