Trying anything that comes to mind I did a 'sudo /etc/init.d/weewx stop' 
and then 'sudo /etc/init.d/weewx start' and all came right!?!?!
I looked at what stop and start do differently and I think the 'stop' might 
remove a 'lockfile' probably /var/run/weewx.pid
I think' start-stop-daemon --start' will fail if /var/run/weewx.pid exists.

Cheers,
Frits.

On Saturday, 29 May 2021 at 14:39:16 UTC+12 [email protected] wrote:

> Adding to my last: the syslog output is not showing anything from the 
> startup as a daemon. It shows my termination of weewx running in a terminal 
> session.
> The terminal output at the start of the daemon is as follows:
> pi@Snoopy:~ S sudo /etc/init.d/weewx start
> [ ok ] Starting weewx (via systemctl): weewx.service
> pi@Snoopy:~ $
>
> Cheers,
> Frits.
>
> On Saturday, 29 May 2021 at 14:30:02 UTC+12 [email protected] wrote:
>
>> Fair comment Vince.
>> Running platform: Raspberry Pi4 
>> The debug flag in weewx.conf is set to 1
>> This is a new installation on PI4.
>>
>> Running weewx (4.5.1) from terminal with the following command works 
>> correct with database and web pages being updated:
>> sudo weewxd
>>
>> Running weewx as daemon with the following command gives the syslog 
>> output as above:
>> sudo /etc/init.d/weewx start
>>
>> Cheers,
>> Frits.
>>
>>
>>
>>
>>
>> On Saturday, 29 May 2021 at 13:48:05 UTC+12 vince wrote:
>>
>>> We need much more information to try to help....
>>> See the FAQ - 
>>> https://github.com/weewx/weewx/wiki/faq-how-to-report-a-problem
>>>
>>>

-- 
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/f55a5d82-33de-47a8-909e-395febc5ae52n%40googlegroups.com.

Reply via email to