Skip to content

Updating the Panel

Safely update the Skyport panel and restart supporting services.

Before updating, read the release notes for the version you are moving to.

At minimum, back up:

  • your database
  • .env
  • any custom reverse proxy or service files
  • uploaded or generated assets if you store them locally
Terminal window
cd /var/www/skyport
php artisan down
Terminal window
git fetch --all --tags
git pull --ff-only
Terminal window
composer install --no-dev --optimize-autoloader
bun install --frozen-lockfile
bun run build
Terminal window
php artisan migrate --force
Terminal window
php artisan optimize:clear
php artisan config:cache
php artisan route:cache
php artisan view:cache
Terminal window
sudo systemctl restart skyport-panel.service
sudo systemctl restart skyport-queue.service
Terminal window
php artisan up

Do not leave skyportd far behind the panel version. The daemon performs compatibility checks during enrollment and runtime sync, so matching release lines are strongly recommended.

See Upgrading skyportd.