Dashboard module updating¶
Important
First need to do setting up the environment. All commands are executed only from superuser.
Mode superuser:
sudo -i
Module updating:
from Python packages repository:
pip3 uninstall dashboard pip3 install dashboard
GUI theme updating:
from Python packages repository:
pip3 uninstall dashboard-theme pip3 install dashboard-theme
Performing initial configuration of the module:
openstack aos configure -n dashboard
Updating databases:
openstack aos db migrate -n dashboard
Run commands to collect static files and compress them:
python3 /usr/share/openstack-dashboard/manage.py collectstatic python3 /usr/share/openstack-dashboard/manage.py compress
Restart the web server and caching service:
# Debian: systemctl restart apache2 systemctl restart memcached
Note
Perform a rollback in case of unsuccessful update of the module. Procedure is described in the section «Recovery plan».
Note
If new AccentOS Dashboard module package has appeared in your repository for Astra Linux (Smolensk), do the following:
Module updating:
apt install -y aos-dashboard apt install -y aos-dashboard-theme