This is true: you do not need a value for WEEWX_ROOT. The default value is
the directory where weewx.conf is found. In fact, weewx.conf installed by
V5 do not contain a value.

On Fri, Mar 1, 2024 at 7:21 AM Remy Lavabre <remy.lava...@gmail.com> wrote:

> Yes Tom, as I told Matthew in my previous post, I installed V5 in a
> virtual environment then copied the weewx.conf file from my version 4.10.2
> which works perfectly.
> I took the precaution of changing a few variables like SKIN_ROOT =
> skins, HTML_ROOT = public_html, version = 5.0.2
> but not WEEWX_ROOT = ~/weewx-data/… :-(((((
>
> From the tests I have carried out, it even seems possible to do without
> defining this WEEWX_ROOT variable in weewx.conf of V5... Can you confirm
> Tom?
>
> Many thanks for your software and your much appreciated help! ;-)
>
> Le vendredi 1 mars 2024 à 15:54:48 UTC+1, Tom Keffer a écrit :
>
>> Thank you, Matthew. I had totally forgotten that older weewx.conf files
>> set WEEWX_ROOT=/
>>
>> Remy: as Matthew asked, do you know how your weewx.conf came to be in its
>> state? Did you copy it from a previous debian install?
>>
>> On Fri, Mar 1, 2024 at 6:38 AM Remy Lavabre <remy.l...@gmail.com> wrote:
>>
>>> SOLVED.... -->> Thank-you MATTHEW ! (and Tom of course...)
>>> With *WEEWX_ROOT = ~/weewx-data/*
>>>
>>> Result ->
>>> Saving installer file to
>>> /home/remy/weewx-data/~/weewx-data/bin/user/installer/awekaswx
>>> Saved copy of configuration as
>>> /home/remy/weewx-data/weewx.conf.20240301153706
>>> Finished installing extension awekaswx from awekaswx.zip
>>>
>>> :ooo))))))))
>>>
>>> Le vendredi 1 mars 2024 à 15:34:55 UTC+1, Remy Lavabre a écrit :
>>>
>>>> Hi Matthew,
>>>> Thank you for your help !
>>>>
>>>> *--->>> /etc/weewx does not exist*
>>>> remy@remy-virtual-machine:/etc$ cd weewx
>>>> bash: cd: weewx: Aucun fichier ou dossier de ce type
>>>>
>>>>
>>>> ---->>>
>>>> *# Root directory of the weewx data file hierarchy for this
>>>> stationWEEWX_ROOT = /*
>>>>
>>>> ---->>>> *The weewx.conf file was recovered from version 4.10.2 which
>>>> works perfectly and replaced the weewx.conf file from version 5 after
>>>> installation in a virtual environment and by modifying:*
>>>>
>>>>
>>>> *SKIN_ROOT = skinsHTML_ROOT = public_htmlversion = 5.0.2*
>>>>
>>>>
>>>> Le vendredi 1 mars 2024 à 15:13:04 UTC+1, matthew wall a écrit :
>>>>
>>>> remy,
>>>>
>>>> does /etc/weewx exist?
>>>>
>>>> --->>>>>
>>>>
>>>>
>>>> does /etc/weewx/bin/user exist?
>>>>
>>>> in the file ~/weewx-data/weewx.conf, what is WEEWX_ROOT?
>>>>
>>>> how did the file ~/weewx-data/weewx.conf get to its current state?
>>>>
>>>> m
>>>>
>>>> --
>>>
>> 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/bf0d11a5-2d3e-4eb8-95b4-43821f035a5bn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/bf0d11a5-2d3e-4eb8-95b4-43821f035a5bn%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/a92df256-40f0-4042-bc87-cea709ac92a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/a92df256-40f0-4042-bc87-cea709ac92a4n%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/CAPq0zEBjxBB40F%3D5d7yx37qb4q1%2BZZuWPAJo%2B4CMq8ygFsb26Q%40mail.gmail.com.

Reply via email to