Updating ChatNet

Keeping ChatNet updated ensures you have the latest features, security patches, and bug fixes. This section guides you through the complete update process including pre-update backup procedures, two methods for updating (manual and automatic), running database migrations for schema changes, post-update verification steps, and how to rollback if something goes wrong. Always backup before updating.

Before Updating

Essential preparation steps before performing any update.

  1. Create a complete backup:
  2. Check update notes for breaking changes
  3. Test in staging environment if possible

Update Procedure

Two methods for updating ChatNet to the latest version.

Method 1: Manual Update

  1. Download the latest version from CodeCanyon
  2. Extract the files
  3. Upload new files, except:
  4. Navigate to /update in your browser
  5. Follow the update wizard

Method 2: Using Update Feature

  1. Navigate to https://yourdomain.com/update
  2. The system will check for available updates
  3. If an update is available, click "Update Now"
  4. Wait for completion

Running Database Migrations

After uploading files:

  1. Navigate to https://yourdomain.com/update
  2. The system detects pending migrations
  3. Click "Run Migrations"
  4. Wait for completion
  5. Verify no errors

Post-Update Verification

After updating:

Rollback Procedure

If update fails:

  1. Restore database from backup
  2. Restore files from backup
  3. Verify functionality
  4. Report issue to support