document full purge

This commit is contained in:
Matthew Wall
2023-12-18 09:06:21 -05:00
parent 12c04381e1
commit e3201744ec
4 changed files with 10 additions and 17 deletions

19
TODO.md
View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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