Irregardless of how weewx is installed, the following locations are
searched when looking for weewx.conf:

   1. If an argument is given to weewxd, it uses that;
   2. Then it tries two levels up from the directory weewxd is in (this is
   useful when running out of the git repository);
   3. Then it tries /etc/weewx;
   4. Then it tries /home/weewx.

I suspect the problem is that the file /etc/weewx/weewx.conf doesn't exist?
Make sure it does. If it does, then we'll have to investigate further.

-tk



On Sun, May 5, 2019 at 5:47 PM JM <[email protected]> wrote:

> I have previously set up two other weather stations using weewx. Just set
> up a new instance and I am finding that the default installation path for
> weewx.conf is incorrect.
> below is a error received in it's initial installation state. I have moved
> weewx.conf to the /home/pi/ directory and it runs. The weewx documentation
> indicates that the default DEB package will install to :
> /etc/weewx/weewx.conf.
> Can anyone give me insight on how to point weewx to the /etc/weewx
> directory instead of /home/pi ?
>
>
> pi@raspberrypi:~ $ sudo weewxd weewx.conf
> Traceback (most recent call last):
>   File "/usr/bin/weewxd", line 64, in <module>
>     weewx.engine.main(options, args)
>   File "/usr/share/weewx/weewx/engine.py", line 848, in main
>     sane = os.stat(config_path).st_ctime
> OSError: [Errno 2] No such file or directory: '/home/pi/weewx.conf'
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to