Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-09 Thread seano...@gmail.com
Just a quick update. One last attempt to get weewx running at boot before I drive out and format the microsd card to start fresh. I followed the below article to automatically run weewx using systemd and it is working now! Thanks for all the support.

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-05 Thread Sean Jahnig
Thanks Vince, That is good advice. I tried that more than once and the problem persists so i'm ready to drive out to the location and collect the SD card to format it so i can start fresh. This is the first weather station I built so I probably did something wrong when I first set it up. I

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-05 Thread vince
You're changing too many things and not completely cleaning up what you had before. I'd suggest starting over with the Simulator then switching to the real driver you want to use (presumably SDR from your previous posts). - Remove the debian package. Remove the /etc/weewx tree if it still

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-05 Thread Sean Jahnig
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

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-05 Thread 'Chiny' via weewx-user
Why the discussion re init.d ? Looking at my system, weewx appears to use systemd, so: systemctl status weewx should show whether weewx is running and something like (not tested) sudo systemctl enable weewx.service to make weewx run on bootup. Weewx newbie here, so it may not be so simple.

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-05 Thread vince
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

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-04 Thread Tom Keffer
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

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-04 Thread vince
We've seen this one before recently. See if the pid file referenced in the init.d file is present in /var/run - if it's there either delete it manually or else do a couple 'sysctl stop weewx' commands to delete it. Subsequent startups should work ok. On Sunday, July 4, 2021 at 1:47:10 PM

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-04 Thread Sean Jahnig
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

Re: [weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-04 Thread Tom Keffer
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 wrote: > Hi, > > I originally had

[weewx-user] Re-installed weewx using setup.py and now it won't start at boot

2021-07-04 Thread seano...@gmail.com
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