Dashboard module updating

Important

First need to do setting up the environment. All commands are executed only from superuser.

Mode superuser:

sudo -i
  1. Module updating:

    • from Python packages repository:

      pip3 uninstall dashboard
      pip3 install dashboard
      
  2. GUI theme updating:

    • from Python packages repository:

      pip3 uninstall dashboard-theme
      pip3 install dashboard-theme
      
  3. Performing initial configuration of the module:

    openstack aos configure -n dashboard
    
  4. Updating databases:

    openstack aos db migrate -n dashboard
    
  5. 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
    
  6. 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:

  1. Module updating:

    apt install -y aos-dashboard
    apt install -y aos-dashboard-theme