Procedure:
Determine the Operating System version with this command in ssh/console
cat /etc/redhat-release
The command will print the Operating System version.
Example:
[root@pbx ~]# cat /etc/redhat-release
CentOS release 6.10 (Final)
C6 systems are officially end of life and cannot be patched by scopserv_yum updates so ScopSERV has provided an emergency patch to assist customers who have not yet upgraded their EOL systems to a supported release.
C6 systems must be patched before any attempt to download a serial number.
This is the command required to execute prior to downloading any license on a C6 based server. Do not execute this command on C7 or Rocky 8 systems!
Then it is safe to download a license for a C6 based server. Do not execute any other commands from this KB article on a C6 based server.
For the following Supported Operating Systems:
EL7 php56
EL php7
Rocky 8
Any server with a working license will be automatically patched with a 'scopserv_yum update' to update the scopserv-core package so there is no need to manually patch a server with a working license.
Any server without access to a working license needs a manual package update.
The following command will force a server with a broken license to update the required packages and meet all dependencies automatically:
scopserv_yum --enablerepo=scopserv update
After executing the command update procedure will begin and ask you to confirm the updates.
Example:
Transaction Summary
===================================================================================================================================================================================================
Install 3 Packages (+2 Dependent packages)
Upgrade 156 Packages
Total download size: 562 M
Is this ok [y/d/N]: y
By choosing y the updates will proceed.
WARNING: Before proceeding ensure that the server's license is in an entitled state!
If the server's license is not in an entitled state the commit functions will be disabled in telephony and there will multiple warnings generated in the GUI during admin management!
Proceeding in an unentitled state will generate the following warnings during the updates:
==============================================================================
Switching between ScopServ Telephony versions
==============================================================================
Create symlink for 1 folder(s)
Unregistered version! Commit disabled ...
We recommand to reboot your server after switch.
Recommendation:
Before proceeding with the updates verify the entitlement state using this command:
scopserv_dumpkey
In this example the updates were forced on a server without a registration:
[root@scopserv ~]# scopserv_dumpkey
==============================================================================
Network Interface : eth0
System ID : 001-00005G-015-004H-00803A
Serial Number : *** UNREGISTERED ***
Branding : scopserv
==============================================================================
Telephony Commits won't be possible until both the Serial Number and Software Assurance are entitled with the purchase and download of a valid serial number.
If the server's license is in an entitled state the scoperv_dumpkey command will reflect the maintenance state.
Example:
[root@scopserv ~]# scopserv_dumpkey
==============================================================================
Network Interface : eth0
System ID : 001-00005G-015-004H-00803A
Serial Number : 012731F9-0000-88CE2-7
Branding : scopserv
Key Options : ScopTEL Professional, User Web Portal, Network and Firewall
Activation Date : 2024-04-09
Expiration Date : 2024-04-24
Renewal Date : 2025-04-09
In this condition it is fine to execute the command:
scopserv_yum clean all
scopserv_yum --enablerepo=scopserv update
The server will update automatically once the root user confirms the update.
If during the update there is a dahdi transaction error which causes the update to fail then the conflict can be fixed with the following procedure: