rConfig V8 Core Update Process: System Upgrade Procedures
rConfig V8 Core Update Process
Section titled “rConfig V8 Core Update Process”Update Process Overview
Section titled “Update Process Overview”rConfig V8 Core follows a continuous development cycle with regular releases containing new features, enhancements, security fixes, and bug fixes. Updates are distributed through the GitHub repository.
If you are deploying a fresh environment, complete the V8 Core Installation steps before using this update workflow.
Related Guides:
- Operating System Configuration for system requirements
- Security Hardening Guidelines for production environments
- rConfig V8 Core Features Overview to understand update capabilities
Backup Requirements
Section titled “Backup Requirements”Update Best Practices
Section titled “Update Best Practices”Backup Procedures
Section titled “Backup Procedures”Step 1: Database Backup
Section titled “Step 1: Database Backup”Create a complete backup of your rConfig database:
# Navigate to a backup directorycd /home/backups
# Create database backup with timestampmysqldump -u rconfig_user -p rconfig > rconfig_backup_$(date +%Y%m%d_%H%M%S).sql
# Verify the backup file was createdls -lh rconfig_backup_*.sqlImportant: You’ll be prompted for your database password. Use the same password configured in your .env file.
Step 2: Configuration File Backup
Section titled “Step 2: Configuration File Backup”Backup your environment configuration:
# Backup .env filecp /var/www/html/rconfig/.env /home/backups/.env.backup_$(date +%Y%m%d_%H%M%S)
# Backup Apache virtual host configuration# For CentOS/Rocky/RHEL:cp /etc/httpd/conf.d/rconfig-vhost.conf /home/backups/rconfig-vhost.conf.backup_$(date +%Y%m%d_%H%M%S)
# For Ubuntu:cp /etc/apache2/sites-enabled/rconfig-vhost.conf /home/backups/rconfig-vhost.conf.backup_$(date +%Y%m%d_%H%M%S)Step 3: Storage Directory Backup
Section titled “Step 3: Storage Directory Backup”Backup the storage directory containing configuration files and logs:
# Create compressed backup of storage directorytar -czf /home/backups/rconfig_storage_backup_$(date +%Y%m%d_%H%M%S).tar.gz /var/www/html/rconfig/storage
# Verify the backup file was createdls -lh /home/backups/rconfig_storage_backup_*.tar.gzStep 4: Verify Backups
Section titled “Step 4: Verify Backups”# List all backup filesls -lh /home/backups/
# Check database backup file size (should not be 0 bytes)ls -lh /home/backups/rconfig_backup_*.sqlUpdate Procedures
Section titled “Update Procedures”Once backups are complete, follow these steps to update rConfig V8 Core.
Step 1: Check Current Version
Section titled “Step 1: Check Current Version”cd /var/www/html/rconfig
# Check current installed versionphp artisan --version
# Check Git statusgit statusStep 2: Stash Local Changes (If Needed)
Section titled “Step 2: Stash Local Changes (If Needed)”If you have local modifications that conflict with the update:
# Stash your local changesgit stash
# You can restore them later with:# git stash popStep 3: Pull Latest Updates
Section titled “Step 3: Pull Latest Updates”

cd /var/www/html/rconfig
# Pull latest changes from GitHubgit pull
# If you encounter conflicts, review them and resolve manually# or restore from your backup and try again
cd /var/www/html/rconfig
# Pull latest changes from GitHubgit pull
# If you encounter conflicts, review them and resolve manually# or restore from your backup and try againStep 4: Update Dependencies
Section titled “Step 4: Update Dependencies”# Update Composer dependenciescomposer install --no-dev
# This may take several minutesStep 5: Run Database Migrations
Section titled “Step 5: Run Database Migrations”# Run any new database migrationsphp artisan migrate
# When prompted, confirm by typing 'yes'Step 6: Sync Scheduled Tasks
Section titled “Step 6: Sync Scheduled Tasks”# Sync scheduled tasks with the systemphp artisan rconfig:sync-tasksStep 7: Clear Caches
Section titled “Step 7: Clear Caches”# Clear all application cachesphp artisan rconfig:clear-allStep 8: Restart Web Server
Section titled “Step 8: Restart Web Server”

# Restart Apachesystemctl restart httpd
# Verify Apache is runningsystemctl status httpd
# Restart Apachesudo systemctl restart apache2
# Verify Apache is runningsystemctl status apache2Step 9: Restart Queue Workers
Section titled “Step 9: Restart Queue Workers”# Restart Supervisor to reload queue workerssystemctl restart supervisord
# Verify Supervisor is runningsystemctl status supervisordPost-Update Verification
Section titled “Post-Update Verification”After updating, verify that everything is working correctly:
1. Check Application Version
Section titled “1. Check Application Version”cd /var/www/html/rconfigphp artisan --version2. Access Web Interface
Section titled “2. Access Web Interface”Open your browser and navigate to your rConfig URL:
- Verify you can log in
- Check that the dashboard loads correctly
- Review any new features or changes
3. Test Core Functionality
Section titled “3. Test Core Functionality”- Add/View Devices: Verify device management works
- Run Backup: Test a manual device backup
- View Configurations: Check that existing configurations are accessible
- Check Logs: Review logs for any errors
# Check application logstail -f /var/www/html/rconfig/storage/logs/laravel.log4. Verify Services
Section titled “4. Verify Services”# Check Apache statussystemctl status httpd # CentOS/Rocky/RHELsystemctl status apache2 # Ubuntu
# Check Supervisor statussystemctl status supervisord
# Check queue workersphp artisan queue:work --onceTroubleshooting Updates
Section titled “Troubleshooting Updates”Issue: Git Pull Fails with Conflicts
Section titled “Issue: Git Pull Fails with Conflicts”Solution:
# Option 1: Stash local changesgit stashgit pullgit stash pop # Restore your changes after
# Option 2: Reset to remote (loses local changes)git fetch origingit reset --hard origin/mainIssue: Composer Install Fails
Section titled “Issue: Composer Install Fails”Solution:
# Clear Composer cachecomposer clear-cache
# Try againcomposer install --no-dev
# If still failing, update Composer itselfcomposer self-update --2Issue: Migration Errors
Section titled “Issue: Migration Errors”Solution:
# Check database connectionphp artisan db:show
# If connection works, try migration againphp artisan migrate
# Check for migration statusphp artisan migrate:statusIssue: Permission Errors After Update
Section titled “Issue: Permission Errors After Update”Solution:


cd /var/www/html/rconfig
# Fix ownershipchown -R apache:apache /var/www/html/rconfig
# Fix permissionschmod -R 755 /var/www/html/rconfigchmod -R 775 storage bootstrap/cache
# Clear cachesphp artisan rconfig:clear-all
cd /var/www/html/rconfig
# Fix ownershipchown -R www-data:www-data /var/www/html/rconfig
# Fix permissionschmod -R 755 /var/www/html/rconfigchmod -R 775 storage bootstrap/cache
# Clear cachesphp artisan rconfig:clear-allIssue: Blank Page or 500 Errors
Section titled “Issue: Blank Page or 500 Errors”Solution:
# Clear all cachescd /var/www/html/rconfigphp artisan rconfig:clear-all
# Check logstail -f storage/logs/laravel.log
# Verify permissions (see above)Rolling Back an Update
Section titled “Rolling Back an Update”If an update causes issues, you can roll back to your previous version.
Step 1: Stop Services
Section titled “Step 1: Stop Services”# Stop Apachesystemctl stop httpd # CentOS/Rocky/RHELsystemctl stop apache2 # Ubuntu
# Stop Supervisorsystemctl stop supervisordStep 2: Restore Database
Section titled “Step 2: Restore Database”# Replace 'YYYYMMDD_HHMMSS' with your backup timestampmysql -u rconfig_user -p rconfig < /home/backups/rconfig_backup_YYYYMMDD_HHMMSS.sqlStep 3: Restore Configuration
Section titled “Step 3: Restore Configuration”# Restore .env filecp /home/backups/.env.backup_YYYYMMDD_HHMMSS /var/www/html/rconfig/.env
# Restore storage directorycd /var/www/html/rconfigrm -rf storagetar -xzf /home/backups/rconfig_storage_backup_YYYYMMDD_HHMMSS.tar.gz -C /Step 4: Revert Code
Section titled “Step 4: Revert Code”cd /var/www/html/rconfig
# View recent commitsgit log --oneline -n 10
# Revert to previous commit (replace COMMIT_HASH with actual hash)git reset --hard COMMIT_HASH
# Or revert to last working versiongit checkout HEAD~1Step 5: Restart Services
Section titled “Step 5: Restart Services”# Start Apachesystemctl start httpd # CentOS/Rocky/RHELsystemctl start apache2 # Ubuntu
# Start Supervisorsystemctl start supervisordUpdate Schedule Recommendations
Section titled “Update Schedule Recommendations”Security Updates
Section titled “Security Updates”- Critical: Apply immediately (same day)
- High: Apply within 1 week
- Medium/Low: Apply during next maintenance window
Feature Updates
Section titled “Feature Updates”- Major versions: Plan carefully, test in non-production first
- Minor versions: Apply during regular maintenance
- Patch versions: Low risk, can apply more frequently
Maintenance Windows
Section titled “Maintenance Windows”For production systems, consider scheduling updates:
- Weekly: Patch releases (8.0.x)
- Monthly: Minor releases (8.x.0)
- Quarterly: Major releases (x.0.0) - with extensive testing
Getting Help
Section titled “Getting Help”Community Support
Section titled “Community Support”- 📖 Documentation: v8coredocs.rconfig.com
- 🐛 Bug Reports: GitHub Issues
- 💬 Community Forums: community.rconfig.com
- 📺 Video Tutorials: YouTube Channel
Before Requesting Help
Section titled “Before Requesting Help”When requesting help with update issues, provide:
- Current rConfig version (
php artisan --version) - Operating system and version
- Error messages from logs
- Steps you’ve already tried
- Output of
git statusandgit log --oneline -n 5
Related Documentation
Section titled “Related Documentation”- Installation Guide - Fresh installation procedures
- CLI Commands - Command-line tools
- Security Hardening - Production security
- Troubleshooting - Common issues and solutions
rConfig V8 Core - Professional network configuration backups. Free forever. Open-source always.