mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 08:56:07 +00:00
Updating took four steps of commands copied from the README, with a diff to read for settings.py and the nginx config. update.sh does them: run from the repository (git show origin/master:update.sh | bash), it is always the newest one, also on an installation that has none yet. Nothing changes before its checks pass: root, an installation, with PostgreSQL --database-backed-up, and an older version's own settings.py moved into data/local_settings.py first (it stops and shows how that settings.py differs from its version's template). Then it stops the panel, backs it up into /root/webvirtcloud-backup-<date>, pulls master, installs the requirements (LDAP's too when installed), migrates, collects the static files, gives the files to the panel's user, installs the units and starts the panel. It does not replace the nginx config, which holds the installation's own lines: it prints what the new version changes in it. The whole script is one function, so the pull cannot change what runs. dev/test-installer.sh IMAGE FROM installs FROM and updates it to HEAD; the Installer workflow runs it from v4.3.0 on Debian 13 and AlmaLinux 10. The README's update section is the command and what it does. |
||
|---|---|---|
| .. | ||
| scss | ||
| console_layout.py | ||
| libvirt-bootstrap.sh | ||
| requirements.txt | ||
| test-installer.sh | ||