You have given very little information, but you are probably suffering from a permissions problem. WeeWX V5 runs as user 'weewx' (instead of 'root'), which doesn't always have the permissions it needs to run weewxd.
Read the wiki article *Understanding permissions <https://github.com/weewx/weewx/wiki/Understanding-permissions>. *Pay particular attention to the section *How to fix device permissions <https://github.com/weewx/weewx/wiki/Understanding-permissions#how-to-fix-device-permissions>*. See if they help. -tk On Sat, Feb 17, 2024 at 1:58 AM Thomas Hackler <thackle...@gmail.com> wrote: > I am sorry: > > pi@raspberrypi:~ $ systemctl status weewx > ● weewx.service - WeeWX > Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor > preset: enabled) > Active: failed (Result: exit-code) since Sat 2024-02-17 10:18:36 CET; > 38min ago > Docs: https://weewx.com/docs > Process: 606 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, > status=4) > Main PID: 606 (code=exited, status=4) > CPU: 621ms > > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: **** > self.mac = self.get_mac_address() > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: **** > File "/etc/weewx/bin/user/gw1000.py", line 3625, in get_mac_address > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: **** > return self.send_cmd_with_retries('CMD_READ_STATION_MAC') > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: **** > File "/etc/weewx/bin/user/gw1000.py", line 3808, in send_cmd_with_retries > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: **** > raise GW1000IOError(_msg) > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: **** > user.gw1000.GW1000IOError: Failed to obtain response to command > 'CMD_READ_STATION_MAC' after 3 attempts > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL __main__: Unable to load > driver: Failed to obtain response to command 'CMD_READ_STATION_MAC' after 3 > attempts > Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL __main__: **** > Exiting... > Feb 17 10:18:36 raspberrypi systemd[1]: weewx.service: Main process > exited, code=exited, status=4/NOPERMISSION > Feb 17 10:18:36 raspberrypi systemd[1]: weewx.service: Failed with result > 'exit-code'. > > michael.k...@gmx.at schrieb am Samstag, 17. Februar 2024 um 10:53:49 > UTC+1: > >> It will definitely help if you'd attach the log files as a whole, it >> see> >> ms > >> the> >> lo> >> g ab> >> ove is not showing all the relevant data. >> Thomas Hackler schrieb am Samstag, 17. Februar 2024 um 10:41:33 UTC+1: >> >>> pi@raspberrypi:~ $ apt policy weewx >>> weewx: >>> Installed: 5.0.2-1 >>> Candidate: 5.0.2-1 >>> >>> >>> Thomas Hackler schrieb am Samstag, 17. Februar 2024 um 10:39:13 UTC+1: >>> >>>> here are some more information, something seems to be wrong with the >>>> gw1000 driver, but I changed nothing: >>>> >>>> pi@raspberrypi:~ $ systemctl status weewx* >>>> ● weewx.service - WeeWX >>>> Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor >>>> preset:> >>>> Active: failed (Result: exit-code) since Sat 2024-02-17 10:18:36 >>>> CET; 17mi> >>>> Docs: https://weewx.com/docs >>>> Process: 606 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, >>>> status=4) >>>> Main PID: 606 (code=exited, status=4) >>>> CPU: 621ms >>>> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: >>>> **** s> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: >>>> **** Fil> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: >>>> **** r> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: >>>> **** Fil> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: >>>> **** r> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL weewx.engine: >>>> **** user.> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL __main__: Unable to >>>> load driv> >>>> Feb 17 10:18:36 raspberrypi weewxd[606]: CRITICAL __main__: **** >>>> Exiting... >>>> Feb 17 10:18:36 raspberrypi systemd[1]: weewx.service: Main process >>>> exited, cod> >>>> Feb 17 10:18:36 raspberrypi systemd[1]: weewx.service: Failed with >>>> result 'exit> >>>> lines 1-18/18 (END)...skipping... >>>> ● weewx.service - WeeWX >>>> Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor >>>> preset: enabled) >>>> Active: failed (Result: exit-code) since Sat 2024-02-17 10:18:36 >>>> CET; 17min ago >>>> Docs: https://weewx.com/docs >>>> Process: 606 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, >>>> status=4) >>>> Main PID: 606 (code=exited, status=4) >>>> CPU: 621ms >>>> >>>> Thomas Hackler schrieb am Samstag, 17. Februar 2024 um 10:35:25 UTC+1: >>>> >>>>> Hello, >>>>> I use weewx on a raspberry Pi 4. My system crashed and I had to go >>>>> back to an SD card image from January. It was a state were weewx was >>>>> runing >>>>> normally. >>>>> But now I don't know why weewx is not working anymore. >>>>> I get no reaction for commands like >>>>> >>>>> sudo /etc/init.d/weewx stop >>>>> sudo /etc/init.d/weewx start >>>>> >>>>> debug = 1 and I don't see something in syslog: >>>>> >>>>> sudo tail -f /var/log/syslog | grep weewx >>>>> >>>>> in January I had a weewx 4 and with apt upgrade I guess I changed to >>>>> version 5 now but this was not a problem during my last update. >>>>> >>>>> Any ideas? Thank you! >>>>> >>>>> Regards >>>>> Thomas >>>>> >>>> -- > 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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/a6f61017-ac4c-473b-a999-119806e7f062n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/a6f61017-ac4c-473b-a999-119806e7f062n%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDpUZ57_rr4%3D0uN6U%3DNk%3D%2BBsakEcmWLLu17CK%2B_9%3DVPmA%40mail.gmail.com.