today tried to update my other raspberry pi to weewx v5.01 and this pi is different than the main weather pi that we use: 1-bme280 sensor. 2-sdr 3-weewx-wxobs skin.
after the weewx update we did the following: sudo usermod -aG dialout weewx sudo usermod -aG plugdev weewx sudo systemctl restart udev weewx but weewx v5.01 failed with following errors: -PermissionError: [Errno 13] Permission denied: '/dev/i2c-1', this error related to bme280 sensor running this command "sudo usermod -aG i2c weewx" fixed the issue. -PermissionError: [Errno 13] Permission denied: '/usr/share/php/wxobs_weewx.inc', this error related to weewx-wxobs skin we are using apache2, doing these changes fixed the issue (thanks to *glennmckechnie*) mkdir /etc/weewx/wxobs-tmp chown weewx.weewx /etc/weewx/wxobs-tmp edited skin.conf located in /etc/weewx/skins/wxobs/ and uncommenting line #30 and changing include_path = '/tmp' to become include_path = '/etc/weewx/wxobs-tmp' weewx v5.01 is running ok now on this raspberry pi, hoping the above step may help someone during the upgrade to weewx v5.01 On Wednesday, February 7, 2024 at 7:59:59 PM UTC+3 Tom Keffer wrote: > https://www.weewx.com/docs/5.0/upgrade/#weewx-runs-as-the-weewx-user > > > On Wed, Feb 7, 2024 at 8:58 AM Tom Keffer <[email protected]> wrote: > >> I'll add "plughw" to the troubleshooting section. >> >> -tk >> >> On Wed, Feb 7, 2024 at 8:16 AM Steve Gee <[email protected]> wrote: >> >>> I ended up adding the weewx user to the plughw group which fixed the >>> problem with rtl_433 not starting: >>> >>> sudo adduser weewx plughw >>> sudo systemctl restart weewx.service >>> >>> On Wednesday, February 7, 2024 at 2:14:41 AM UTC-5 František Slimařík >>> wrote: >>> >>>> @Matthew: >>>> >>>> That makes sense yep. Thanks a lot for detailed explanation. I cannot >>>> change port 80 on my hardware so I will review other options :) >>>> >>>> st 7. 2. 2024 v 8:08 odesílatel matthew wall <[email protected]> >>>> napsal: >>>> >>>>> another option is to put a proxy in front of interceptor. configure >>>>> interceptor to listen on a high port, say 8080, then run nginx binding to >>>>> port 80 as a reverse proxy to interceptor, proxying all traffic or just >>>>> specific requests. >>>>> >>>>> m >>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "weewx-user" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/weewx-user/5BuR3BSQfeY/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/e8a748e8-5008-4ecc-b5f2-59fad26e8b67n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/e8a748e8-5008-4ecc-b5f2-59fad26e8b67n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> 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/3239d8e8-5e87-420a-a660-74666b1847ben%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/3239d8e8-5e87-420a-a660-74666b1847ben%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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/40f7eabb-bca8-4b44-9038-45b34398b963n%40googlegroups.com.
