Skip to content

Updating

You update RAYXO by running the latest installer. There is no update button in the panel yet; that feature is on the roadmap.

Log in to the server as root, then run:

Terminal window
wget -O setup.sh https://rayxopanel.com/setup.sh
Terminal window
sudo bash setup.sh

-O setup.sh overwrites the old setup.sh. This matters because each setup.sh installs its own release version: an old script would install the old version again.

Check the changelog before updating.

  • The new release package is downloaded to /usr/local/rayxo/releases/<version>, and the /usr/local/rayxo/current link is moved to it.
  • The panel settings (panel.env) are kept. Only new settings are added.
  • The panel’s database migrations are run.
  • The web server configuration of every website is rewritten, and account quotas are applied again.

Website data, databases, and accounts are not changed.

Terminal window
sudo bash setup.sh --version 0.2.0

Ubuntu packages such as Nginx, PHP, and MariaDB are updated through apt, the same as on any other server:

Terminal window
sudo apt update && sudo apt upgrade

The agent version is shown on the admin dashboard. From the terminal:

Terminal window
rayxo version