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.
Recommended update flow
Section titled “Recommended update flow”1. Back up your data
Section titled “1. Back up your data”At minimum, back up:
- your database
.env- any custom reverse proxy or service files
- uploaded or generated assets if you store them locally
2. Put the panel into maintenance mode
Section titled “2. Put the panel into maintenance mode”cd /var/www/skyportphp artisan down3. Pull the new code
Section titled “3. Pull the new code”git fetch --all --tagsgit pull --ff-only4. Update dependencies and build assets
Section titled “4. Update dependencies and build assets”composer install --no-dev --optimize-autoloaderbun install --frozen-lockfilebun run build5. Run database migrations
Section titled “5. Run database migrations”php artisan migrate --force6. Refresh caches
Section titled “6. Refresh caches”php artisan optimize:clearphp artisan config:cachephp artisan route:cachephp artisan view:cache7. Restart services
Section titled “7. Restart services”sudo systemctl restart skyport-panel.servicesudo systemctl restart skyport-queue.service8. Bring the panel back online
Section titled “8. Bring the panel back online”php artisan upAlso update your daemons
Section titled “Also update your daemons”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.