No, Paul, it's actually a bug. The variable UTIL_ROOT should have been expanded.
-tk On Sat, Dec 16, 2023 at 12:10 PM [email protected] <[email protected]> wrote: > Good sleuthing Vince ! > Running Debian 12 on a test LXD Container. System was already set and > running was only testing setup-daemon.systemd > Verified setup-daemon.systemd works properly on a physical machine > running Debian 12. Attribute the error to ENV variables and their handling > in the LXD container. > So sorry for raising the alarm bell. If I think something seems weird, and > it's in a LXD test container I always verify on real hardware... except for > today. > > Paul > On Saturday, December 16, 2023 at 1:22:52 PM UTC-5 Vince Skahan wrote: > >> This worked for me - deb12 in a vagrant vm running as user 'vagrant'. >> >> I followed the docs, just added --no-prompt to the station setup to not >> have it ask questions >> >> sudo apt update >> sudo apt install python3-pip -y >> sudo apt install python3-venv -y >> python3 -m venv ~/weewx-venv >> source ~/weewx-venv/bin/activate >> python3 -m pip install weewx >> source ~/weewx-venv/bin/activate >> weectl station create --no-prompt >> sudo sh ~/weewx-data/scripts/setup-daemon.systemd >> sudo systemctl start weewx >> sudo systemctl status weewx >> >> What precise os are you running ? >> Are you trying to do it in docker perhaps ? >> >> We'd need to see your exact steps start to finish please. >> >> >> On Saturday, December 16, 2023 at 7:35:11 AM UTC-8 Paul R Anderson wrote: >> >> Sorry not sure what I'm doing wrong. >> >> panders@cont-weewx-git:~$ sudo sh >> /home/panders/weewx-data/scripts/setup-daemon.systemd >> >> Cannot find utility files at location '/root/weewx-data/util' >> panders@cont-weewx-git:~$ >> >> -- > 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/f0bc9c46-7965-4e59-b46d-4d68f8bdad44n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/f0bc9c46-7965-4e59-b46d-4d68f8bdad44n%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/CAPq0zEB9-EqQp166naHR%2Bi8%3DU_kXmzW%2Bnwgvabry0%2BA%2Bijbe3Q%40mail.gmail.com.
