Thanks Vince, Yes, weewx runs perfectly when i start it manually. If i reboot, it does not start automatically. I'm convinced the previous install of weewx has left some confusion on the system. In fact, i tried to install weewx from deb again and it also wasn't starting automatically. I think things are just confusing, I may need to start from scratch.
@Chiny, thanks for the reply. I did initially have weewx installed via deb (like you) and then sudo service weewx start used to work perfectly. But since i installed a 2nd station and wanted to play with weewx-multi i ran into trouble and at that point tried to install weewx via setup.py in order to troubleshoot. In the process just made more trouble 😂 On Mon, Jul 5, 2021 at 11:04 AM vince <vinceska...@gmail.com> wrote: > It's rather hard to tell what it's doing based on you (re)starting the > service versus running manually perhaps. > > At Jul 5 08:04:52 I see a keyboard interrupt then another start at > 08:05:17 which seems to run. At 08:10:19 it adds a record to the db but > fails to run the Seasons skin due to the skin.conf file being missing. If > you look carefully you'll see it looking for the skin in /etc/weewx (where > the dpkg puts things) rather than /home/weewx (where setup.py puts things) > so basically your weewx.conf file seems to be pointing to where dpkg puts > things, not where setup.py puts things...for at least the skins. > > I do see some i/o errors in there (first example Jul 5 00:00:41) and weewx > resetting as a result so I don't know if it's aborting on you due to lack > of hearing data from the station maybe. > > But it's definitely running.. > > > On Sunday, July 4, 2021 at 9:15:11 PM UTC-7 seano...@gmail.com wrote: > >> Thanks Tom, >> >> I'm using Linux 10 Buster. >> >> I tried that -x please see attached. I get the feeling like it's not even >> trying to run weewx. >> >> I cleared the syslog before i rebooted, that's why it's so sparse. I am >> getting it from /var/log/syslog. Everything related to weewx is in >> /var/log/weewx.log which you can see here >> <https://u.pcloud.link/publink/show?code=XZx9JPXZ1dQbqXRzMzmRIDqcydKfFVGcoI1y>. >> Whatever you see there with weewx running is when it has been run >> automatically. I'm sure this is an OS problem, somehow init.d is not doing >> what it's supposed to. >> >> Thanks >> >> >> On Mon, Jul 5, 2021 at 7:28 AM Tom Keffer <tke...@gmail.com> wrote: >> >>> Things to try >>> >>> 1. Where are you getting this system log? It looks very sparse. >>> >>> 2. What version of Raspbian are you using? (Use "cat /etc/os-release") >>> >>> 3. Try using a -x switch before running /etc/init.d/weewx. It will at >>> least tell you what it's doing: >>> >>> set -x >>> sudo /etc/init.d/weewx start >>> set +x >>> >>> >>> -tk >>> >>> On Sun, Jul 4, 2021 at 1:47 PM Sean Jahnig <seano...@gmail.com> wrote: >>> >>>> Thanks for the reply. It could very well be the init.d/weewx script but >>>> i've started at it and from what i understand, i can't see an error. I've >>>> attached weewx.txt which is the top half of the init.d script. >>>> >>>> I cleared the syslog and the weewx.log and then i rebooted. After the >>>> reboot i pasted the syslog into the attached syslog.txt - and the weewx.log >>>> remained empty so nothing to attach. >>>> >>>> After the boot, i tried to run this sudo /etc/init.d/weewx start and >>>> nothing happens, nor gets added to the log. >>>> >>>> Lastly, i ran *cd /home/weewx* and then *sudo ./bin/weewxd* and it >>>> immediately worked and started working. >>>> >>>> >>>> >>>> On Sun, Jul 4, 2021 at 6:54 PM Tom Keffer <tke...@gmail.com> wrote: >>>> >>>>> Make sure the script in /etc/init.d/weewx references your new copy of >>>>> weewxd in /home/weewx/bin, and not the old copy in /usr/share/weewx >>>>> >>>>> But, it's hard to say anything definitive without seeing the log. >>>>> >>>>> -tk >>>>> >>>>> On Sun, Jul 4, 2021 at 6:50 AM seano...@gmail.com <seano...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I originally had weewx installed using the DEB package which was >>>>>> fine. With the intention of using multiple instances of weewx for >>>>>> different >>>>>> stations, I have uninstalled that and then I re-installed weewx using >>>>>> setup.py to the /home/weewx/ >>>>>> >>>>>> It works perfectly when I run it directly in terminal using *sudo >>>>>> ./bin/weewxd* but I have not been able to add the script to >>>>>> *init.d/weewx* in order for it to run at boot. I have followed the >>>>>> instructions at https://weewx.com/docs/setup.htm but weewx will not >>>>>> start at boot and after boot, even if I manually run sudo >>>>>> /etc/init.d/weewx start it does nothing. I can tell because I'm >>>>>> tailing the log file and nothing happens. Run it manually, it starts >>>>>> collecting data perfectly. >>>>>> >>>>>> I used the default file from /weewx/utils/weewx.debian and copied it >>>>>> to /etc/init.d/weewx and I did not make any changes. Is there something >>>>>> else I'm supposed to do. The weewx installation was done to the default >>>>>> /home/weewx directory. >>>>>> >>>>>> Would appreciate any suggestions. >>>>>> >>>>>> -- >>>>>> 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+...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/9cfe9263-c54c-47f3-9ed5-f2197bb7696en%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/weewx-user/9cfe9263-c54c-47f3-9ed5-f2197bb7696en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>>> 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/POwnsa43jyI/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> weewx-user+...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7A0rcQ_OqmiqdYe_6MTNXy-rJH1LH8Vge1heqAxkuNg%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7A0rcQ_OqmiqdYe_6MTNXy-rJH1LH8Vge1heqAxkuNg%40mail.gmail.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+...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/CALeSoZkYr1JAhQKfr4MJ%3DBQJoKnhrs%2BfFGKUt7Ku3rcRcdo_0g%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/weewx-user/CALeSoZkYr1JAhQKfr4MJ%3DBQJoKnhrs%2BfFGKUt7Ku3rcRcdo_0g%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> 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/POwnsa43jyI/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> weewx-user+...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/CAPq0zED86H%2Bt%3DtBfSWDByhT1t_Y%2BVtaT4LLVrWL9bSrJromVUQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zED86H%2Bt%3DtBfSWDByhT1t_Y%2BVtaT4LLVrWL9bSrJromVUQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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/POwnsa43jyI/unsubscribe. > To unsubscribe from this group and all its topics, 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/998943b3-0bc7-4a59-b932-ce5e6cb830e9n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/998943b3-0bc7-4a59-b932-ce5e6cb830e9n%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/CALeSoZmep2zoU6WngT1eqXMizmYTvybFgx%3D%2BKGxFaTQy9Gechg%40mail.gmail.com.