> 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/migrating-from-pterodactyl.md).

# Migrating from Pterodactyl

## Compatibility

**Reviactyl** is backwards compatible with Pterodactyl. This means no data loss when switching between Pterodactyl & Reviactyl.

## Minimum PHP Requirements

PHP 8.2 or previous are no longer supported by Reviactyl v26. You need to upgrade php to minimum of 8.3 or higher (8.5 is recommended).

See [Upgrading PHP Here](/project/tutorial/upgrading-php.md).

You will need to have root access to your server in order to run and use this panel.

{% hint style="warning" %}
Make sure you have saved your `.env` file somewhere else in case of risk of losing it during migration.
{% endhint %}

{% stepper %}
{% step %}

## Clean-up Pterodactyl Old Files

```bash
cd /var/www/pterodactyl
rm -rf *
```

{% endstep %}

{% step %}

## Install PHP Intl Extension

Reviactyl v26 requires PHP 8.3 or newer and the `intl` extension. The Pterodactyl installation guide does not install `intl`, so add it:

```bash
apt install php8.3-intl
```

If `php -v` shows a version older than 8.3. Make sure to [upgrade your PHP First.](/project/tutorial/upgrading-php.md)

{% endstep %}

{% step %}

## Download & Install Latest Version of Reviactyl

```bash
cd /var/www/pterodactyl
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/pterodactyl/*

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

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

{% endstep %}

{% step %}

## Restart Queue Worker

```bash
sudo systemctl restart pteroq.service
```

{% endstep %}
{% endstepper %}

That’s it! 🎉 Migration complete.


---

# 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/migrating-from-pterodactyl.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.
