Skip to content

How to update Agora License Manager

Bhanu edited this page Jan 8, 2025 · 1 revision

This document provides detailed instructions on manually updating the Agora License Manager from GitHub.

Note: It is crucial to back up both the database and file system before proceeding with the manual update.

Backup File System & Database

To ensure data safety, follow these steps to back up the file system and database via the command line:

  • Database Backup using mysqldump
    Assume your database name is agora.
mysqldump agora > agora-db-bkp.sql
  • Database Backup with Root Password Protection If your database is protected with a root password:
mysqldump -u root -p agora > agora-db-bkp.sql
  • File System Backup Assuming the root directory of Agora is located at /var/www/agora:
zip -r agora-fs-bkp.zip /var/www/agora

❌ PS: Do not proceed with the update without completing the backup.

Manual Update of Agora License Manager

Follow these steps to manually update the Agora License Manager:

  1. Download the Latest Version Visit the Agora License Manager Official Github Master Branch and download the latest master branch as a ZIP file.

  2. Upload the ZIP File Transfer the downloaded ZIP file (agora-license-manager-master.zip) to the server where the Agora License Manager is hosted.

  3. Extract and Replace Files Extract the contents of the ZIP file and replace the existing code in the Agora root directory. Assume the Agora root directory is /var/www/agora:

unzip agora-license-manager-master.zip -d /var/www/faveo
  • When prompted to overwrite existing files, press A (for All) and hit Enter.
  • If your Agora root directory is different, adjust the destination path accordingly.
  1. Update File Ownership Ensure the correct file ownership by executing the following command based on your server's OS:

RHEL Based Servers

chown -R apache:apache /var/www/agora

Debian Based Servers

chown -R www-data:www-data /var/www/agora
  1. Finalize the Update Navigate to the Agora root directory and synchronize the database by executing:
php artisan database:sync

✅ Refresh the Agora License Manager page in your browser. You should now see the latest version.

Clone this wiki locally