qb update - QuickBox Updates
Keep QuickBox Current
Check for and install QuickBox updates
The qb update function offers you a convenient and flexible way to manage updates for your QuickBox installation. With this feature, you have full control over the update process, allowing you to manually check for updates and choose when to apply them.
Quick Reference
| Command | Description |
|---|---|
qb update check | Check for available QuickBox updates |
qb update quickbox | Update QuickBox and the dashboard together |
qb update dashboard | Update only the dashboard |
Check for Updates
Check if a new version of QuickBox is available:
qb update checkWhat you’ll see:
- Current installed version
- Latest available version
- Whether an update is available
- Release notes for new version
- What’s changed since your version
Output example:
Current version: v1.0.210
Latest version: v1.0.215
Status: Update available
Changes:
- Added new application support
- Fixed database backup issue
- Improved performance
- Security updatesRun qb update check regularly to stay informed about new releases. Updates often include important security patches and bug fixes.
Update QuickBox
Update the QuickBox CLI and the dashboard together:
qb update quickboxUpdate process:
- Downloads the latest QuickBox CLI version
- Applies updates to core system files and libraries
- Downloads and installs the latest dashboard
- Streams live output continuously throughout all steps
- Restarts the dashboard service and waits for it to come back online
- Resumes streaming post-dashboard steps (database sync, autocomplete, manpage, etc.)
- Confirms update complete when all steps finish
What gets updated:
- QuickBox core system
- CLI tools (
qbcommand) - Dashboard
- System libraries
- Configuration files (preserved with migration)
- Documentation
What is NOT affected:
- User data
- Installed applications
- User configurations
- Database content
qb update quickbox includes updating the dashboard, which requires a brief dashboard restart mid-pipeline. The CLI terminal streams live output before, during, and after this restart without any silent gaps. If you only want to update the dashboard without the full CLI update, use qb update dashboard instead.
While QuickBox automatically creates a backup before updating, it’s good practice to manually backup your database before major updates:
qb manage db -o backupUpdate Dashboard Only
Update only the dashboard, leaving the QuickBox CLI unchanged:
qb update dashboardUse this when a dashboard update is available but you do not want to run the full qb update quickbox pipeline. The dashboard streams live progress output during the update and restarts automatically when the new version is ready.
Before Updating
Pre-Update Checklist
Follow these steps for a smooth update:
-
Check for updates and read release notes:
qb update check qb news -
Backup your database:
qb manage db -o backup -
Check disk space:
df -hEnsure you have at least 1GB free space.
-
Notify users (if multi-user server):
- Inform users of planned maintenance
- Choose low-traffic time for update
-
Review running applications:
qb status
Some services may be briefly interrupted during the update process. Plan updates during low-usage periods to minimize impact on users.
Update Workflow
Standard Update Process
Complete update workflow:
# 1. Check what's new
qb update check
qb news
# 2. Backup database
qb manage db -o backup
# 3. Perform update
qb update quickbox
# 4. Verify update was successful
qb --version
# 5. Check all services are running
qb status
# 6. Test dashboard access
# Visit your dashboard URL in a browserTroubleshooting Updates
If the update fails or causes issues:
# 1. Check system logs
journalctl -xe
# 2. Restore from backup if needed
qb manage db -o restore
# 3. Try fixing common issues
qb fix permissions
qb fix nginx
qb fix login
# 4. Restart services
qb restart
# 5. If issues persist, contact supportUpdate Frequency
How Often to Update
Recommended update schedule:
🟢 Security Updates
Immediately
Install security updates as soon as possible to protect your server from vulnerabilities.
🟡 Bug Fixes
Within 1 week
Bug fix updates should be installed promptly to ensure system stability.
🔵 New Features
When convenient
Feature updates can be installed at your convenience, during planned maintenance windows.
Version Information
Check Current Version
View your installed QuickBox version:
qb --versionExample output:
QuickBox Pro v1.0.215You can also view version information in the dashboard footer.
Update Types
Understanding Update Releases
QuickBox uses semantic versioning:
-
Major Updates (v1.x.x → v2.x.x)
- Significant new features
- Major architectural changes
- May require manual intervention
- Breaking changes possible
-
Minor Updates (v1.1.x → v1.2.x)
- New features and improvements
- Backward compatible
- Safe to install with minimal risk
-
Patch Updates (v1.0.1 → v1.0.2)
- Bug fixes
- Security patches
- Performance improvements
- Should be installed promptly
Common Issues
Update Check Fails
# Check internet connectivity
ping -c 3 quickbox.io
# Check DNS resolution
nslookup quickbox.io
# Try again
qb update checkUpdate Stalls or Takes Unexpectedly Long
The update pipeline streams live output throughout. If the terminal goes silent for more than a couple of minutes, the most common causes are network issues, low disk space, or a failed download from the release proxy.
# Check available disk space
df -h
# Free up log files if needed (admin only)
qb clean system_logs -o 7 -u yourusername
# Retry the update
qb update quickboxIf the stall occurs during the dashboard restart phase, the dashboard will automatically come back online once the new binary is ready — you do not need to intervene unless the terminal has been idle for several minutes with no output at all.
Services Not Starting After Update
# Check service status
systemctl status quickbox-*
# Fix permissions
qb fix permissions
# Restart services
qb restart
# If still failing, restore from backup
qb manage db -o restore”Packages kept back” After Running apt upgrade
If apt upgrade or apt-get upgrade reports that PHP packages are kept back or held — for example php8.1-cli, php8.1-fpm, php8.1-bcmath, php8.1-common, or libboost-dev — this is expected behavior on a QuickBox server. QuickBox places apt holds on PHP packages to protect your per-application PHP stack from being broken by an uncontrolled system upgrade.
The following packages have been kept back:
php8.1-bcmath php8.1-cli php8.1-common php8.1-fpm php8.1-opcache libboost-devYou do not need to take action unless a PHP-based application (ruTorrent, phpMyAdmin, Nextcloud) is actually broken. In that case, run:
qb fix phpFor full details on held packages and how to upgrade PHP safely, see Fix PHP — packages kept back.
Best Practices
Do
- Check for updates regularly
- Read release notes before updating
- Backup database before major updates
- Update during low-traffic periods
- Test after updating
- Keep backups of working versions
Don't
- Skip security updates
- Update without checking release notes
- Update during peak usage times
- Ignore backup recommendations
- Update on low disk space
- Skip post-update verification
Rollback Updates
If an update causes issues, you can rollback:
# Restore previous database backup
qb manage db -o restore
# Select the backup from before the update
# Restart services
qb restartQuickBox does not maintain multiple system versions. If you need to rollback, contact support via Discord for assistance. Database backups can be restored, but system files may require support intervention.
Related Commands
Need Help?
Having trouble with updates? Get help from our support team and community:
Join the Community
Media server operators sharing configs, getting support, and shaping the future of QuickBox Pro.