Console ERROR: License Number is NOT Valid

Problem:

During an upgrade or installation of CAS, you may see this error:

Checking license online...
License number xxxxxxxxxxxxxxxx is NOT valid or internet connection is not working.

This issue may arise when your system’s root certificates expire. You’ll have to update your Ubuntu to refresh the certificates.

NOTE: You should update your system routinely. Security vulnerabilities are patched in these updates, and allowing them to persist may be a costly oversight.


Solution 1:

  1. Update your Linux distribution.

    sudo apt update && sudo apt dist-upgrade
  2. Reboot your server.

  3. Try the CAS install/update again.

Solution 2:

Effective with CAS version 20230801, the private GB APT Repository must be implemented.

See:

https://generalbytes.atlassian.net/l/cp/20wDrKSM

Solution 3:

Check that your license file contains the correct key. If you restore from a backup that contained an invalid key, the license file will be overwritten with the old/invalid key.

cat /batm/config/license_number
  • This will display the license key being tested by CAS.

  • It should match your currently authorized license key.

  • If it doesn’t, replace it with your authorized license key.

  • sudo nano /batm/config/license_number
    • Save and exit (Control + X, then 'y').

Copyright © 2020-2024 General Bytes USA LLC