> For the complete documentation index, see [llms.txt](https://docs.reviactyl.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reviactyl.app/project/panel/updating-the-panel.md).

# Updating the Panel

This documentation covers the process for updating within the `v26.x.x` series of releases. This means updating from — for example — `v26.05.0` to `v26.05.01`.

## Automatic Upgrade

Automatic Upgrades are available starting from `v26.10.0`. Guide will be available soon after `.01`

## Manual Upgrade

{% stepper %}
{% step %}

### Delete Old Files

```bash
cd /var/www/reviactyl
find . -mindepth 1 -maxdepth 1 ! -name 'public' ! -name '.env' ! -name 'extensions' ! -name 'storage' ! -name 'database' -exec rm -rf -- {} +
```

Recommended to run inorder to fix conflicts.

{% hint style="warning" %}
**RUN THIS COMMAND ON YOUR REVIACTYL ROOT DIRECTORY (Example - `/var/www/reviactyl/`)**
{% endhint %}
{% endstep %}

{% step %}

### Download & Install Latest Version of Reviactyl

```bash
cd /var/www/reviactyl
curl -Lo panel.tar.gz https://github.com/reviactyl/panel/releases/latest/download/panel.tar.gz
tar -xzvf panel.tar.gz
chmod -R 755 storage/* bootstrap/cache/
```

{% endstep %}

{% step %}

### Download Composer Dependencies

```bash
COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader
```

{% endstep %}

{% step %}

### Run Database Migrations

```bash
php artisan migrate --seed --force
```

{% endstep %}

{% step %}

### Set Permissions

```bash
# If using NGINX, Apache or Caddy (not on RHEL / Rocky Linux / AlmaLinux)
chown -R www-data:www-data /var/www/reviactyl/*

# If using NGINX on RHEL / Rocky Linux / AlmaLinux
chown -R nginx:nginx /var/www/reviactyl/*

# If using Apache on RHEL / Rocky Linux / AlmaLinux
chown -R apache:apache /var/www/reviactyl/*
```

{% endstep %}

{% step %}

### Restart Queue Worker

```bash
sudo systemctl restart reviq.service
```

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.reviactyl.app/project/panel/updating-the-panel.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
