Tom, big thanks again! weectl station upgrade --config=/home/test/weewx.conf --what examples util
worked like a charm! Tom Keffer schrieb am Donnerstag, 1. August 2024 um 16:05:21 UTC+2: > You almost got it! Try > > *weectl station upgrade --config=/home/test/weewx.conf* > > > On Thu, Aug 1, 2024 at 5:24 AM Copain <[email protected]> wrote: > >> Tom, many thanks for your assistance. Creating a station works perfectly. >> >> For reconfiguring a station, I noticed the option >> [--weewx-root=DIRECTORY], which probably could be used for a custom path. >> >> However, I would like to come back to the issue re upgrading a station. >> >> I tried all of these, none of which worked: >> weectl station upgrade --what examples util /home/test >> weectl station upgrade /home/test --what examples util >> weectl station upgrade --examples-root=/home/test >> weectl station upgrade --weewx-root=/home/test --what examples util >> >> How is the correct syntax to upgade an existing station at a custom path? >> >> Thank you. >> >> Tom Keffer schrieb am Samstag, 24. Februar 2024 um 00:42:13 UTC+1: >> >>> It's actually very simple: >>> >>> *weectl station create /home/test* >>> >>> >>> See the weectl station create documentation >>> <https://www.weewx.com/docs/5.0/utilities/weectl-station/>. >>> >>> On Fri, Feb 23, 2024 at 12:06 PM Copain <[email protected]> wrote: >>> >>>> Here my results of further install tests. >>>> >>>> Install of weewx-venv to /home/test works as follows: >>>> python3 -m venv /home/test/weewx-venv >>>> source /home/test/weewx-venv/bin/activate >>>> python3 -m pip install weewx >>>> >>>> The provision of a new station with weectl station create did NOT work, >>>> as I found no way to add my custom path. >>>> Depending on the logged on user, weewx-data is either generated in >>>> /home/USER or /root. >>>> In a way, this approach does not seem to be consistently. >>>> >>>> Did I overlook something to generate the station using a custom path? >>>> Would it make sense to add a 'path option' to weewx utilities? >>>> >>>> Copain schrieb am Freitag, 23. Februar 2024 um 17:30:53 UTC+1: >>>> >>>>> Many thanks to all of you for the continuous development of weewx. >>>>> >>>>> I am trying to install weewx v5.0.2 to /home/test. >>>>> This does not seem to work, as the installer by default wants to use >>>>> /home/USER/... >>>>> >>>>> How can I pip install weewx-venv and weewx-data to a custom path, >>>>> independent of the logged on system user? >>>>> Where can I change the default path? >>>>> >>>>> Thank you. >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "weewx-development" 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-development/48799331-310b-4304-a2da-4b6a17e1413dn%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-development/48799331-310b-4304-a2da-4b6a17e1413dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-development" 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-development/559e169b-40c5-42c8-b990-730da593b717n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-development/559e169b-40c5-42c8-b990-730da593b717n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/985e937c-5f95-43f3-b3e9-7d5174824c82n%40googlegroups.com.
