Yes, but we have seen instances where people have installed both ways and 
are only running one currently.

Matthew reminded me a while back that the only way to know which one is 
'running' is to look for the pathname of the weewxd that is currently 
running.   I'd do it by looking with the 'ps' command for the weewxd 
processs.

# this one is setup.py
root@debian:~# ps axu|grep weewxd|grep -v grep
root     13327 45.7 55.3 201136 68276 ?        Sl   Jun27 81488:50 
/usr/local/bin/python3 /home/weewx/bin/weewxd --daemon 
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf

# this one is running the packaged weewx
[vince@pi4 ~]$ ps axu | grep weewxd|grep -v grep
root         581  0.8  0.5 189068 20712 ?        Sl   08:59   0:00 python3 
/usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid 
/etc/weewx/weewx.conf

On Friday, October 29, 2021 at 6:02:24 AM UTC-7 Andy wrote:

> Also you can look at installed packages.
>
> apt search weewx or apt list --installed | grep weewx
> rpm -qa | grep weewx
>
>
>
> On Thursday, October 28, 2021 at 9:17:20 AM UTC-7 Wiggytoo wrote:
>
>> Many thanks, it's in etc/weewx.
>>
>> Gavin
>>
>> On Thu, 28 Oct 2021, 15:33 Wiggytoo, <[email protected]> wrote:
>>
>>> Hi - I am running weewx 3.9.1 and was planning to upgrade to 4.5.1.
>>>
>>> I came across this in the documentation
>>>
>>> "*Warning!*
>>> You must use the same upgrade technique as your initial install! For 
>>> example, if you used setup.py to install WeeWX, then you should 
>>> use setup.py to upgrade. If you used a DEB or RPM package to install, then 
>>> you should upgrade using the same package type."
>>>
>>> I want to ensure I take this sound advice but I have no idea how I 
>>> originally installed it, is there some way of telling this?
>>>
>>> Many thanks,
>>> Gavin
>>>
>>> -- 
>>> 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/96zIaqphAaE/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/4f7dca7e-aa7e-41eb-8485-cf096808c195n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/4f7dca7e-aa7e-41eb-8485-cf096808c195n%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cf53317d-e303-4529-ab8a-d4ff635caa64n%40googlegroups.com.

Reply via email to