Tried to upgrade 15-16 and it has lost my activation.
Used the upgrade module, and it finished step 1 and then wouldn’t start step 2.
Rebooted because GUI was non-functional and it says I need to activate.
tried to activate from CLI and it says:
Running /var/www/html/admin/modules/sysadmin/bin/activate_existing xxxxxxxx
Asking for deployment xxxxxxxx…eth0: error fetching interface information: Device not found
Error!
Unable to get Machine ID
[root@freepbx ~]# fwconsole sysadmin activate [email protected]
Attempting to activate against email address ‘[email protected]’
Running /var/www/html/admin/modules/sysadmin/bin/register_new [email protected]
Validating email…OK!
Asking for deployment ID…eth0: error fetching interface information: Device not found
Exception: Unable to get Machine ID in file /var/www/html/admin/modules/sysadmin/Reg.class.php on line 164
Stack trace:
Yes, sorry, I didn’t put that since I posted this in the FreePBX Instalation/Upgrade section
It is a FreePBX appliance purchased before the transition to Sangoma
Everything was working well about 2 days ago before a module was auto updated due to security, but that could be a red herring.
I saw the upgrade went Beta->GA and decided to do it.
Purchased extensions to licenses of Extension Routes and Endpoint manager prior to the upgrade, and now it looks like the ioncube activation process is somehow hard coded to eth0 as jfinstrom guessed above.
Also in the portal it says my activation is locked due to too many attempts, but I have never reset my activation to my knowledge. Maybe once VERY early when we had a hardware issue with the appliance.
That distro question got me thinking maybe there is some broken part of the install, since i have upgraded the distro several times over the years so I ran:
[root@freepbx asterisk]# yum list updates
Loaded plugins: fastestmirror, versionlock
Repository sng-sng7php74 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
sng-base | 3.6 kB 00:00
sng-epel | 2.9 kB 00:00
sng-extras | 2.9 kB 00:00
sng-pkgs | 3.4 kB 00:00
sng-sng7php74 | 3.4 kB 00:00
sng-updates | 2.9 kB 00:00
Updated Packages
sangoma-logos.noarch 70.0.7-2.sng7 sng-sng7php74
[root@freepbx asterisk]# yum upgrade
Loaded plugins: fastestmirror, versionlock
Repository sng-sng7php74 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Resolving Dependencies
–> Running transaction check
—> Package sangoma-logos.noarch 0:70.0.6-6.sng7 will be updated
—> Package sangoma-logos.noarch 0:70.0.7-2.sng7 will be an update
–> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
Updating:
sangoma-logos noarch 70.0.7-2.sng7 sng-sng7php74 21 M
Transaction Summary
Upgrade 1 Package
Total download size: 21 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
sangoma-logos-70.0.7-2.sng7.noarch.rpm | 21 MB 00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : sangoma-logos-70.0.7-2.sng7.noarch 1/2
Cleanup : sangoma-logos-70.0.6-6.sng7.noarch 2/2
Verifying : sangoma-logos-70.0.7-2.sng7.noarch 1/2
Verifying : sangoma-logos-70.0.6-6.sng7.noarch 2/2
Updated:
sangoma-logos.noarch 0:70.0.7-2.sng7
Complete!
[root@freepbx asterisk]#
This did not fix. I think it is something in the new activation method that is hardcoded to look for MAC address on eth0 and my machine doesn’t have an “eth0” (technically it does but that NIC is on the mobo and is disabled).
I have a tech support request with the activation team that is pending follow-up from the technical team.
You fixed me in 30 seconds!
Thank you
P.S. Now I have a problem with Extension Routes showing upgrade available for $39 when I had a license for it from before the upgrade. (It also says that a license is free on the activation page, so I stupidly paid to upgrade it before the upgrade process just to be told it is free afterwards, or $39 depending on which I am to believe).
Well you are a step closer. You can make an “eth0” interface to tie your activation to if your server doesn’t have one, using those ip link commands. You would just need to make sure that dummy interface gets created on each boot.