Updates
Keep your Trexzactyl installation up to date with the latest features and security patches.
Panel Updates
Automatic Update
Use the installer menu to update the panel:
bash <(curl -s http://installer.trexz.xyz/install.sh)
Select option 5. Update Panel from the menu.
Manual Update
If you prefer to update manually:
cd /var/www/trexzactyl
php artisan down
Pull the latest changes:
git pull
composer install --no-dev --optimize-autoloader
Update database and clear cache:
php artisan migrate --seed --force
php artisan view:clear
php artisan config:clear
php artisan cache:clear
Set permissions:
chown -R www-data:www-data /var/www/trexzactyl/*
Bring the panel back online:
php artisan up
Wings Updates
Automatic Update
Use the installer menu:
bash <(curl -s http://installer.trexz.xyz/install.sh)
Select option 6. Update Wings from the menu.
Manual Update
Download the latest Wings binary:
curl -L -o /usr/local/bin/wings "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")"
Set permissions:
chmod u+x /usr/local/bin/wings
Restart Wings:
sudo systemctl restart wings
Database Updates
Database schema updates are handled automatically during panel updates via migrations.
To manually run migrations:
cd /var/www/trexzactyl
php artisan migrate --force
Backup Before Update
Always backup before updating:
Panel Backup
# Backup files
tar -czf panel-backup-$(date +%Y%m%d).tar.gz /var/www/trexzactyl
# Backup database
mysqldump -u root -p panel > panel-backup-$(date +%Y%m%d).sql
Wings Backup
# Backup configuration
cp /etc/pterodactyl/config.yml /etc/pterodactyl/config.yml.backup
Update Frequency
- Security Updates: Apply immediately
- Minor Updates: Weekly or bi-weekly
- Major Updates: Review changelog first
Rollback
If an update causes issues:
Panel Rollback
cd /var/www/trexzactyl
git reset --hard <previous-commit-hash>
composer install --no-dev --optimize-autoloader
php artisan migrate:rollback
php artisan cache:clear
Wings Rollback
Replace the Wings binary with the previous version from backup.
Update Notifications
Stay informed about updates:
- Watch the GitHub repository
- Join our Discord
- Check the changelog
Post-Update Checklist
After updating:
- ✓ Clear browser cache
- ✓ Test panel login
- ✓ Verify Wings connection
- ✓ Check server creation
- ✓ Review error logs
- ✓ Test file manager
- ✓ Verify backups work
Troubleshooting Updates
If updates fail, see the Troubleshooting guide.
