{% extends "layouts/panel.html" %} {% load i18n %} {% block title %}{% trans "How to update Ravix" %}{% endblock %} {% block page_title %}{% trans "How to update Ravix" %}{% endblock %} {% block content %}
{% trans "Updating takes a few clicks. Ravix checks the package, makes a backup, switches to the new version and, if anything goes wrong, goes back to the old version by itself." %}
{% trans "You do not need to prepare anything: a backup of the files and the database is made automatically before every update. If you want an extra copy of your own, make it first." %}
{% trans "The scheduled job (cron) that was set up when you installed Ravix carries out the update, so it can take a minute or two to start. Keep that job active; if it was removed, add it again as the installation guide says." %}
{% trans "A system service does the work in the background; the panel only asks for it. From the command line you can run the installer again from the new version’s folder. It is safe to repeat, and if the new Python packages cannot be installed it changes nothing." %}
sudo bash install.sh --domain example.com --source "$PWD"
{% trans "Your pages and posts, users, uploaded media, installed themes and plugins, plugin data and the settings file stay as they are." %}
{% trans "Open the site and the panel and check the version on the dashboard. On your own server, run the health check:" %}
sudo -u ravix /srv/ravix/app/deploy/manage.sh ravix_preflight