Upgrade and uninstall¶
Upgrade¶
- Back up first:
aiapp backup /backups/before-upgrade(see Backups). - Install the new version over the old one: run the install script again (it fetches the latest release), or replace the binary. With Docker or Helm, change the image tag.
- Restart the server. Apps, data and versions are kept; apps come back by themselves.
- Read the release notes on the Download page for anything to do by hand.
Check the version with aiapp version.
Uninstall¶
| Installed with | Remove |
|---|---|
| Windows installer | delete %LOCALAPPDATA%\Programs\aiapp and remove it from your PATH; delete %USERPROFILE%\.aiapp to remove the data |
| macOS / Linux installer | delete ~/.local/bin/aiapp (or /usr/local/bin/aiapp); delete ~/.aiapp to remove the data |
| Linux service | sudo systemctl disable --now aiapp, delete /etc/systemd/system/aiapp.service, /usr/local/bin/aiapp, /etc/aiapp and /var/lib/aiapp |
| Docker | docker rm -f aiapp; docker volume rm aiapp-data removes the data |
| Helm | helm uninstall ai; delete the PersistentVolumeClaim to remove the data |
Warning
Deleting the data folder deletes every app's documents, memory, jobs and audit log for good.