Updating Cyrus Panel
Choose the update method that corresponds to how you originally installed Cyrus Panel.
Method 1: Release Archive Update (Recommended)
If you installed Cyrus Panel by downloading panel.zip from GitHub Releases:
- Stop the Panel (e.g., stop your terminal session or
pm2 stop cyrus/systemctl stop cyrus). - Backup your
.envconfiguration file:cp .env ../cyrus.env.backup - Download the latest
panel.zip:wget https://github.com/HasenDev/cyrus-panel/releases/latest/download/panel.zip - Remove old files (keep your
.envintact):find . -mindepth 1 -not -name '.env' -not -name 'panel.zip' -delete - Extract the new release:
unzip panel.ziprm panel.zip
- Install any new dependencies and restart:
npm install --omit=devnpm run start
Method 2: Source Installation Update (Git / Custom Builds)
If you cloned Cyrus Panel from source and build the frontend yourself:
- Pull latest changes and update the frontend submodule:
git pullgit submodule update --init --recursive
- Install updated dependencies:
npm install
- Rebuild the Next.js frontend:
npm run build
- Restart the panel:
npm run start