Yup! When I had it setup before I left it as the default so it worked fine
then. Makes sense now.

On Thu, Dec 17, 2020 at 06:34 gjr80 <[email protected]> wrote:

> Good! We both learnt something tonite.
>
> Gary
>
> On Thursday, 17 December 2020 at 21:33:18 UTC+10 [email protected]
> wrote:
>
>> That did the trick!  Thank you so much Gary!
>>
>> Carter
>>
>> On Thu, Dec 17, 2020 at 06:29 gjr80 <[email protected]> wrote:
>>
>>> Try adding the following to /etc/default/weewx:
>>>
>>> WEEWX_CFG=/home/pi/EW5321/weewx.conf
>>>
>>> Assuming of course that is where your weewx.conf is.
>>>
>>> Gary
>>> On Thursday, 17 December 2020 at 21:22:02 UTC+10 [email protected]
>>> wrote:
>>>
>>>> Looks like that got me a little closer, I got the normal [ ok ]
>>>> Starting weewx (via systemctl): weewx.service. console output but it
>>>> doesn’t seem to be doing much according to the log:
>>>>
>>>> Dec 17 06:20:42 raspberrypi-1 systemd[1]: Starting LSB: weewx weather
>>>> system...
>>>> Dec 17 06:20:42 raspberrypi-1 weewx[769] INFO __main__: Initializing
>>>> weewx version 4.2.0
>>>> Dec 17 06:20:42 raspberrypi-1 weewx[769] INFO __main__: Using Python
>>>> 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
>>>> Dec 17 06:20:42 raspberrypi-1 weewx[769] INFO __main__: Platform
>>>> Linux-5.4.79-v7l+-armv7l-with-debian-10.6
>>>> Dec 17 06:20:42 raspberrypi-1 weewx[769] INFO __main__: Locale is
>>>> 'en_US.UTF-8'
>>>> Dec 17 06:20:42 raspberrypi-1 weewx[769] INFO __main__: PID file is
>>>> /var/run/weewx.pid
>>>> Dec 17 06:20:42 raspberrypi-1 weewx[759]: Starting weewx weather
>>>> system: weewx.
>>>> Dec 17 06:20:42 raspberrypi-1 systemd[1]: Started LSB: weewx weather
>>>> system.
>>>>
>>>> And that’s all that happens.
>>>>
>>>> On Thu, Dec 17, 2020 at 06:02 gjr80 <[email protected]> wrote:
>>>>
>>>>> Aha, you've installed WeeWX to other than /home/weewx and the WeeWX
>>>>> startup script you copied to /etc/init.d/weewx is set to look for
>>>>> WeeWX in /home/weewx.
>>>>>
>>>>> No problems, the script is designed to allow overrides. I haven't used
>>>>> them (overrides) before but I *believe* what you need to do is create a
>>>>> file /etc/default/weewx with the following contents:
>>>>>
>>>>> WEEWX_BIN=/home/pi/EW5321/bin/weewxd
>>>>>
>>>>> Gary
>>>>> On Thursday, 17 December 2020 at 20:43:50 UTC+10
>>>>> [email protected] wrote:
>>>>>
>>>>>> Commands:
>>>>>> cd /home/pi/EW5321
>>>>>> sudo cp util/init.d/weewx.debian /etc/init.d/weewx
>>>>>> sudo chmod +x /etc/init.d/weewx
>>>>>> sudo update-rc.d weewx defaults 98
>>>>>> sudo /etc/init.d/weewx start
>>>>>>
>>>>>> This is all that shows in the log, even with the debug option set:
>>>>>> Dec 17 05:42:31 raspberrypi-1 systemd[1]: Reloading.
>>>>>>
>>>>>> On Thu, Dec 17, 2020 at 05:26 gjr80 <[email protected]> wrote:
>>>>>>
>>>>>>> Yes, post the exact commands you entered to set up the service as
>>>>>>> well as the exact responses received on the console.
>>>>>>>
>>>>>>> Gary
>>>>>>>
>>>>>>> On Thursday, 17 December 2020 at 20:06:41 UTC+10
>>>>>>> [email protected] wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> So I recently had to re-install WeeWx on my Raspberry Pi and
>>>>>>>> setting it up using the setup.py, I’m able to run it via sudo
>>>>>>>> ./bin/weewxd but when I setup the daemon nothing seems to happen.
>>>>>>>> I’m used to get console output saying it started and seeing it in the 
>>>>>>>> log
>>>>>>>> but there’s absolutely nothing.
>>>>>>>>
>>>>>>>> Any ideas?
>>>>>>>>
>>>>>>> --
>>>>>>> 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/6w9Ulx1e_UM/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/dc9d6cb0-533a-4ddc-953a-90747138fd68n%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/dc9d6cb0-533a-4ddc-953a-90747138fd68n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>>>
>>>>> --
>>>>>> *Carter J. Humphreys*
>>>>>> B.S. Meteorology, State University of New York at Oswego '20
>>>>>> A.S. Computer Science, Finger Lakes Community College '19
>>>>>>
>>>>> --
>>>>> 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/6w9Ulx1e_UM/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/c7341139-6bd1-4882-b3ae-9f3f835adf27n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/c7341139-6bd1-4882-b3ae-9f3f835adf27n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>>
>>> --
>>>> *Carter J. Humphreys*
>>>> B.S. Meteorology, State University of New York at Oswego '20
>>>> A.S. Computer Science, Finger Lakes Community College '19
>>>>
>>> --
>>> 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/6w9Ulx1e_UM/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/f8906c6c-f4af-4d7b-9d36-7a349cfa0a03n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/f8906c6c-f4af-4d7b-9d36-7a349cfa0a03n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>>
> --
>> *Carter J. Humphreys*
>> B.S. Meteorology, State University of New York at Oswego '20
>> A.S. Computer Science, Finger Lakes Community College '19
>>
> --
> 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/6w9Ulx1e_UM/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/facdfb4a-e728-4fff-bea7-703a881db79fn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/facdfb4a-e728-4fff-bea7-703a881db79fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
--
*Carter J. Humphreys*
B.S. Meteorology, State University of New York at Oswego '20
A.S. Computer Science, Finger Lakes Community College '19

-- 
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/CAC_3%3DF0x5Q%2BzHeywgh%2BfcuNrsMcj%3D_j-os0qBUnhEJZ3c4q4VQ%40mail.gmail.com.

Reply via email to