Thank you for your help, Gary :-) Il giorno giovedì 1 dicembre 2022 alle 04:48:41 UTC+1 gjr80 ha scritto:
> Installing weewx-multi involves two fundamental steps; installing (and > configuring) the weewx-multi init.d script and setting up a config file for > each instance. It sounds like you may well have reverted the config file > changes, but without changing the operation of the weewx-multi init.d > script you will continue to experience issues. > > I haven't reverted a weewx-multi install but two approaches come to mind. > > First, you could work through the How to run multiple instances of WeeWX > wiki article > <https://github.com/weewx/weewx/wiki/weewx-multi#how-to-run-multiple-instances-of-weewx> > > and 'undo' the weewx-multi setup. This would involve going back to a single > WeeWX config file (/home/weewx/weewx.conf or /etc/weewx/weewx.conf > depending on your WeeWX install) and replacing the weewx-multi init.d > script by installing the standard WeeWX init.d script. For a setup.py > install the instructions for installing the WeeWX init.d script can be > found at step 4 of the WeeWX: Installation using setup.py page > <http://weewx.com/docs/setup.htm>. For a package install you will need to > manually download the WeeWX init.d script from GitHub before > installing/configuring it. Something like (untested): > > $ wget -P /var/tmp > https://raw.githubusercontent.com/weewx/weewx/master/util/init.d/weewx.debian > $ sudo cp /var/tmp/weewx.debian /etc/init.d/weewx > $ sudo update-rc.d weewx defaults > > The second approach would be to continue with weewx-multi but configure it > to use a single WeeWX instance rather than two (or more) instances. This > would involve working through the steps in the How to run multiple > instances of WeeWX wiki article > <https://github.com/weewx/weewx/wiki/weewx-multi#how-to-run-multiple-instances-of-weewx> > but > only configuring for one instance (in the context of the current wiki > article this would be configuring for 'house' but not 'paddock'). I have no > idea if this will work, the script was written for multiple instances but > on first glance it appears this may work. > > Or I guess you could take the Windows approach and re-install everything :) > > If it were me I would be reverting to the standard, single user init.d > script. Less complex and more standard so likely easier to troubleshoot if > things go awry. > > Gary > On Monday, 28 November 2022 at 18:43:24 UTC+10 Mauro De Lauretis wrote: > >> Hi >> >> I was wondering if somebody can explain me how to remove a multiple >> instance of Weewx previously created. It does not work with just deleting >> configuration files, because the system still looks for the .conf located >> in /etc/weewx. >> >> *root@raspberrypi:/etc/weewx# /etc/init.d/weewx restart* >> >> *[ ok ] Restarting weewx: weewx.* >> >> *[....] Restarting weewx: weatherflowThe instance weatherflow does not >> have a config at /etc/weewx/weatherflow.conf* >> My goal is to restart a single instance from the .conf located in the >> main Weewx folder (in my case located in /home/weewx). >> >> Thanks for your help >> >> Mauro >> > -- 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/5170053d-0f06-4339-99b4-3e99e6d2b314n%40googlegroups.com.
