From e3201744ecfe9c5d64ab486e25820152db58cacc Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Mon, 18 Dec 2023 09:06:21 -0500 Subject: [PATCH] document full purge --- TODO.md | 19 ++++++------------- docs_src/quickstarts/debian.md | 4 ++-- docs_src/quickstarts/redhat.md | 2 +- docs_src/quickstarts/suse.md | 2 +- 4 files changed, 10 insertions(+), 17 deletions(-) diff --git a/TODO.md b/TODO.md index 24794dbe..7a16b465 100644 --- a/TODO.md +++ b/TODO.md @@ -9,23 +9,16 @@ - mw verify upgrade behavior on skin files in /etc/weewx/skins. do the non- modified skin files get upgraded from apt/yum? -- mw see if backport of importlib.resources exists for suse 15 and rocky8 for python 3.6 -- mw adjust/verify the weewx.conf maintainer version behavior - -## Resolved (push these to docs and/or design doc) - -- ensure that maintainer's version of weewx.conf is created but no used; ensure - that existing weewx.conf is not overwritten +- mw see if backport of importlib.resources exists for suse 15 and rocky8 for + python 3.6 +- mw ensure that maintainer's version of weewx.conf is created but no used + ensure that existing weewx.conf is not overwritten /etc/weewx/weewx.conf - untouched config /etc/weewx/weewx.conf-OLD-LATEST - maintainer; 'weewctl upgrade' /etc/weewx/weewx.conf-LATEST - distribution + update the docs (each quickstart) to make this process explicit -- add steps to purging. these are for deb/rpm installs - sudo userdel weewx - sudo rm -rf /etc/weewx - sudo rm -rf /var/lib/weewx - sudo rm -rf /var/log/weewx - sudo rm -rf /var/www/html/weewx +## Resolved (push these to docs and/or design doc) - verify the weewx-multi scenario using systemd configs should be XXX.conf, so log label is weewxd-XXX diff --git a/docs_src/quickstarts/debian.md b/docs_src/quickstarts/debian.md index dccab76d..e2917f72 100644 --- a/docs_src/quickstarts/debian.md +++ b/docs_src/quickstarts/debian.md @@ -170,10 +170,10 @@ sudo apt purge weewx When you use `apt` to uninstall WeeWX, it does not touch WeeWX data, logs, or any changes you might have made to the WeeWX configuration. It also leaves the `weewx` user, since data and configuration files were owned by that user. -To remove the remaining WeeWX bits: +To remove every trace of WeeWX: ```{.shell .copy} -sudo apt remove weewx +sudo apt purge weewx sudo rm -r /var/www/html/weewx sudo rm -r /var/lib/weewx sudo rm -r /var/log/weewx diff --git a/docs_src/quickstarts/redhat.md b/docs_src/quickstarts/redhat.md index f30b39c4..9fb69f25 100644 --- a/docs_src/quickstarts/redhat.md +++ b/docs_src/quickstarts/redhat.md @@ -143,7 +143,7 @@ sudo yum remove weewx When you use `yum` to uninstall WeeWX, it does not touch WeeWX data, logs, or any changes you might have made to the WeeWX configuration. It also leaves the `weewx` user, since data and configuration files were owned by that user. -To remove the remaining WeeWX bits: +To remove every trace of WeeWX: ```{.shell .copy} sudo yum remove weewx diff --git a/docs_src/quickstarts/suse.md b/docs_src/quickstarts/suse.md index 2903c0e8..35f6f447 100644 --- a/docs_src/quickstarts/suse.md +++ b/docs_src/quickstarts/suse.md @@ -135,7 +135,7 @@ sudo zypper remove weewx When you use `zypper` to uninstall WeeWX, it does not touch WeeWX data, logs, or any changes you might have made to the WeeWX configuration. It also leaves the `weewx` user, since data and configuration files were owned by that user. -To remove the remaining WeeWX bits: +To remove every trace of WeeWX: ```{.shell .copy} sudo zypper remove weewx