{% extends "controlpanel/layout.html" %} {% block title %}Restart/Upgrade 4CAT{% endblock %} {% block body_class %}plain-page frontpage admin {{ body_class }}{% endblock %} {% block subbreadcrumbs %}{% set navigation.sub = "restart" %}{% endblock %} {% block body %}

Restart/Upgrade 4CAT

{% for notice in flashes %}

{{ notice|safe }}

{% endfor %}

Use the buttons below to restart or upgrade 4CAT. Restarting will stop and start the backend daemon and attempt to trigger a restart of the web interface.

Upgrading will pull the latest release from the 4CAT GitHub repository (you can configure a different URL in the 4CAT settings). If the release is newer than the code currently running, it will be installed and 4CAT will be upgraded to the newest version. Afterwards 4CAT will be restarted and if necessary the relevant upgrade scripts will be run with default settings.

Restarting is relatively safe, upgrading always has a risk of breaking things. The web interface may be unresponsive during the process. Do not refresh the page until it is finished. This may take a while. We recommend making a backup before upgrading.

Don't upgrade on Friday afternoons :-)

You are currently running 4CAT version {{ current_version }}.
The latest release available is {{ tagged_version }}.

{% if in_progress %} A restart or upgrade is currently in progress. {% elif can_upgrade %} You can upgrade 4CAT{% if release_notes %}. Make sure to read the release notes before you do{% endif %}. {% else %} No upgrades are currently available. {% endif %}

  • {% if can_upgrade %}
  • {% endif %}
{% if __user_config("privileges.can_upgrade_to_dev") %}

You can also upgrade to a development branch of the configured GitHub repository. This way you can for example use new or experimental features before they are officially released.

WARNING: it is very easy to break your 4CAT by upgrading to a development branch. Only use this if you know what you're doing. Don't say we didn't warn you!

{% endif %}

Process log

Below is the contents of restart.log. Check the timestamp at the top as this may also show the log of a previous restart/upgrade attempt.

                Process output will be logged here.
            
{% endblock %}