You did not update your weewx service file, /etc/systemd/system/weewx.service. This is step #4 in the instructions.
On Wed, Apr 10, 2024 at 1:05 AM Juan Antonio Mosquera Casais < juan.antonio.mosquera.cas...@gmail.com> wrote: > Hello, I have weewx 4.10.2 installed via setup.py, and I followed the > instructions at https://github.com/weewx/weewx/wiki/v5-upgrade but when > trying to start the service I get this error: > > Apr 10 07:39:51 raspberrypi systemd[1225]: weewx.service: Failed to locate > executable /home/weewx/bin/weewxd: No such file or directory > Apr 10 07:39:51 raspberrypi systemd[1225]: weewx.service: Failed at step > EXEC spawning /home/weewx/bin/weewxd: No such file or directory > Apr 10 07:39:51 raspberrypi systemd[1]: Started WeeWX weather system. > Apr 10 07:39:51 raspberrypi systemd[1]: weewx.service: Main process > exited, code=exited, status=203/EXEC > Apr 10 07:39:51 raspberrypi systemd[1]: weewx.service: Failed with result > 'exit-code'. > > It is because in the instructions the bin has to be moved to bin.old, if I > put the bin back it works, but with version 4.10.2. How can I update to > version 5.0.2 and keep my old configuration? Thank you. > > -- > 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/689f6dd3-1de9-4d6b-90b2-1c7fc0b36fc7n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/689f6dd3-1de9-4d6b-90b2-1c7fc0b36fc7n%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/CAPq0zECT_fZ5fY6YapuJQAcuEcCFP%3DVmF2%2B%2BH3TixTCEdDcBEQ%40mail.gmail.com.