Q & A¶
1. Getting Private key file is encrypted paramiko error¶
Try the following:
- Upgrade
paramikoto the latest version. - https://unix.stackexchange.com/a/12201/32880
- https://askubuntu.com/a/853578/33408
2. How to upgrade OS¶
This roughly boils to:
-
Restrict service access.
$ webscaff off -
Backup data.
$ webscaff run.backupTip
If you use a cloud service this may also prove disk images/backups.
-
Start OS upgrade procedure.
$ webscaff sys.utils.os-upgrade -
Upgrade PostgreSQL cluster.
$ webscaff sys.pg.cluster-upgrade XTip
Where
Xis a previous PG version to upgrade from, e.g12. -
Cleanup from unused packages.
$ webscaff sys.apt.autoremove -
Upgrade virtual environment to use a new system Python version.
$ webscaff run.venv.sync -
Restart your service.
$ webscaff restartTip
Use
$ webscaff login a separate terminal window to see how the restart is happening.