-
Notifications
You must be signed in to change notification settings - Fork 0
How to update Agora License Manager
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.
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 isagora.
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.
Follow these steps to manually update the Agora License Manager:
-
Download the Latest Version Visit the Agora License Manager Official Github Master Branch and download the latest master branch as a ZIP file.
-
Upload the ZIP File Transfer the downloaded ZIP file
(agora-license-manager-master.zip)to the server where the Agora License Manager is hosted. -
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.
- 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
- 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.