When running asterisk-version-switch and choosing 3 for Asterisk 16, asterisk16-core-16.0.0-1.sng7.x86_64 failed to install causing the switch to asterisk16 unusable.
PBX Version: 12.7.5-1902-3.sng7
**# asterisk-version-switch**
Pick the Asterisk Version you would like to change to.
Press 1 and the Enter key for Asterisk 13 (LTS) (With Opus and G729 codecs)
Press 2 and the Enter key for Asterisk 15 (With Opus and G729 codecs)
Press 3 and the Enter key for Asterisk 16 (LTS) (With Opus and G729 codecs)
Press 9 and the Enter key to exit and not change your Asterisk Version
3
You picked asterisk16
Clearing yum cache
Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
Switching to Asterisk 16
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
sng-base | 3.6 kB 00:00:00
sng-epel | 3.2 kB 00:00:00
sng-extras | 3.4 kB 00:00:00
sng-pkgs | 2.9 kB 00:00:00
sng-updates | 3.4 kB 00:00:00
(1/8): sng-epel/7/x86_64/group_gz | 88 kB 00:00:00
(2/8): sng-base/7/x86_64/group_gz | 166 kB 00:00:00
(3/8): sng-pkgs/7/x86_64/primary_db | 610 kB 00:00:00
(4/8): sng-epel/7/x86_64/updateinfo | 933 kB 00:00:00
(5/8): sng-base/7/x86_64/primary_db | 5.9 MB 00:00:00
(6/8): sng-extras/7/x86_64/primary_db | 173 kB 00:00:00
(7/8): sng-epel/7/x86_64/primary | 3.6 MB 00:00:00
(8/8): sng-updates/7/x86_64/primary_db | 4.3 MB 00:00:00
sng-epel 12642/12642
Package jansson-2.10-1.el7.x86_64 already installed and latest version
Package jansson-devel-2.10-1.el7.x86_64 already installed and latest version
Package jansson-devel-doc-2.10-1.el7.noarch already installed and latest version
Package sangoma-pbx-1902-3.sng7.noarch already installed and latest version
–> Running transaction check
—> Package asterisk13.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-addons.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-addons-bluetooth.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-addons-core.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-addons-mysql.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-addons-ooh323.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-curl.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-dahdi.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-doc.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-flite.x86_64 0:2.4-4_2505af1.sng7 will be erased
—> Package asterisk13-g729.x86_64 0:1711-2.sng7 will be erased
—> Package asterisk13-odbc.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-ogg.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-resample.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk13-voicemail.x86_64 0:13.22.0-1.sng7 will be erased
—> Package asterisk16.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-addons.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-addons-bluetooth.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-addons-core.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-addons-mysql.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-addons-ooh323.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-core.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-curl.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-dahdi.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-doc.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-flite.x86_64 0:2.4-2_2505af1.sng7 will be installed
—> Package asterisk16-g729.x86_64 0:1711-2.sng7 will be installed
—> Package asterisk16-odbc.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-ogg.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-resample.x86_64 0:16.0.0-1.sng7 will be installed
—> Package asterisk16-voicemail.x86_64 0:16.0.0-1.sng7 will be installed
–> Finished Dependency Resolution
Success resolving dependencies
–> Running transaction check
–> Finished Dependency Resolution
=======================================================================================================================================
Package Arch Version Repository Size
Installing:
asterisk16 x86_64 16.0.0-1.sng7 sng-pkgs 2.8 k
asterisk16-addons x86_64 16.0.0-1.sng7 sng-pkgs 1.9 k
asterisk16-addons-bluetooth x86_64 16.0.0-1.sng7 sng-pkgs 36 k
asterisk16-addons-core x86_64 16.0.0-1.sng7 sng-pkgs 25 k
asterisk16-addons-mysql x86_64 16.0.0-1.sng7 sng-pkgs 37 k
asterisk16-addons-ooh323 x86_64 16.0.0-1.sng7 sng-pkgs 340 k
asterisk16-core x86_64 16.0.0-1.sng7 sng-pkgs 5.1 M
asterisk16-curl x86_64 16.0.0-1.sng7 sng-pkgs 20 k
asterisk16-dahdi x86_64 16.0.0-1.sng7 sng-pkgs 284 k
asterisk16-doc x86_64 16.0.0-1.sng7 sng-pkgs 12 k
asterisk16-flite x86_64 2.4-2_2505af1.sng7 sng-pkgs 8.2 k
asterisk16-g729 x86_64 1711-2.sng7 sng-pkgs 181 k
asterisk16-odbc x86_64 16.0.0-1.sng7 sng-pkgs 62 k
asterisk16-ogg x86_64 16.0.0-1.sng7 sng-pkgs 8.1 k
asterisk16-resample x86_64 16.0.0-1.sng7 sng-pkgs 13 k
asterisk16-voicemail x86_64 16.0.0-1.sng7 sng-pkgs 80 k
Removing:
asterisk13 x86_64 13.22.0-1.sng7 @sng-pkgs 0.0
asterisk13-addons x86_64 13.22.0-1.sng7 @sng-pkgs 0.0
asterisk13-addons-bluetooth x86_64 13.22.0-1.sng7 @sng-pkgs 107 k
asterisk13-addons-core x86_64 13.22.0-1.sng7 @sng-pkgs 71 k
asterisk13-addons-mysql x86_64 13.22.0-1.sng7 @sng-pkgs 113 k
asterisk13-addons-ooh323 x86_64 13.22.0-1.sng7 @sng-pkgs 1.9 M
asterisk13-curl x86_64 13.22.0-1.sng7 @sng-pkgs 64 k
asterisk13-dahdi x86_64 13.22.0-1.sng7 @sng-pkgs 969 k
asterisk13-doc x86_64 13.22.0-1.sng7 @sng-pkgs 8.6 k
asterisk13-flite x86_64 2.4-4_2505af1.sng7 @sng-pkgs 15 k
asterisk13-g729 x86_64 1711-2.sng7 @sng-pkgs 597 k
asterisk13-odbc x86_64 13.22.0-1.sng7 @sng-pkgs 213 k
asterisk13-ogg x86_64 13.22.0-1.sng7 @sng-pkgs 16 k
asterisk13-resample x86_64 13.22.0-1.sng7 @sng-pkgs 26 k
asterisk13-voicemail x86_64 13.22.0-1.sng7 @sng-pkgs 246 k
Transaction Summary
Install 16 Packages
Remove 15 Packages
Total download size: 6.2 M
Downloading packages:
(1/16): asterisk16-addons-16.0.0-1.sng7.x86_64.rpm | 1.9 kB 00:00:00
(2/16): asterisk16-16.0.0-1.sng7.x86_64.rpm | 2.8 kB 00:00:00
(3/16): asterisk16-addons-bluetooth-16.0.0-1.sng7.x86_64.rpm | 36 kB 00:00:00
(4/16): asterisk16-addons-mysql-16.0.0-1.sng7.x86_64.rpm | 37 kB 00:00:00
(5/16): asterisk16-addons-core-16.0.0-1.sng7.x86_64.rpm | 25 kB 00:00:00
(6/16): asterisk16-addons-ooh323-16.0.0-1.sng7.x86_64.rpm | 340 kB 00:00:00
(7/16): asterisk16-curl-16.0.0-1.sng7.x86_64.rpm | 20 kB 00:00:00
(8/16): asterisk16-dahdi-16.0.0-1.sng7.x86_64.rpm | 284 kB 00:00:00
(9/16): asterisk16-doc-16.0.0-1.sng7.x86_64.rpm | 12 kB 00:00:00
(10/16): asterisk16-core-16.0.0-1.sng7.x86_64.rpm | 5.1 MB 00:00:00
(11/16): asterisk16-flite-2.4-2_2505af1.sng7.x86_64.rpm | 8.2 kB 00:00:00
(12/16): asterisk16-odbc-16.0.0-1.sng7.x86_64.rpm | 62 kB 00:00:00
(13/16): asterisk16-g729-1711-2.sng7.x86_64.rpm | 181 kB 00:00:00
(14/16): asterisk16-resample-16.0.0-1.sng7.x86_64.rpm | 13 kB 00:00:00
(15/16): asterisk16-voicemail-16.0.0-1.sng7.x86_64.rpm | 80 kB 00:00:00
(16/16): asterisk16-ogg-16.0.0-1.sng7.x86_64.rpm | 8.1 kB 00:00:00
Total 14 MB/s | 6.2 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : asterisk16-core-16.0.0-1.sng7.x86_64 1/31
Error unpacking rpm package asterisk16-core-16.0.0-1.sng7.x86_64
error: unpacking of archive failed on file /etc/logrotate.d/asterisk;5c6c321f: cpio: rename
Installing : asterisk16-addons-core-16.0.0-1.sng7.x86_64 2/31
error: asterisk16-core-16.0.0-1.sng7.x86_64: install failed
Installing : asterisk16-addons-mysql-16.0.0-1.sng7.x86_64 3/31
Installing : asterisk16-dahdi-16.0.0-1.sng7.x86_64 4/31
Installing : asterisk16-addons-ooh323-16.0.0-1.sng7.x86_64 5/31
Installing : asterisk16-doc-16.0.0-1.sng7.x86_64 6/31
Installing : asterisk16-voicemail-16.0.0-1.sng7.x86_64 7/31
Installing : asterisk16-16.0.0-1.sng7.x86_64 8/31
Installing : asterisk16-addons-bluetooth-16.0.0-1.sng7.x86_64 9/31
Installing : asterisk16-addons-16.0.0-1.sng7.x86_64 10/31
Installing : asterisk16-flite-2.4-2_2505af1.sng7.x86_64 11/31
Installing : asterisk16-resample-16.0.0-1.sng7.x86_64 12/31
Installing : asterisk16-odbc-16.0.0-1.sng7.x86_64 13/31
Installing : asterisk16-curl-16.0.0-1.sng7.x86_64 14/31
Installing : asterisk16-g729-1711-2.sng7.x86_64 15/31
Installing : asterisk16-ogg-16.0.0-1.sng7.x86_64 16/31
Erasing : asterisk13-addons-13.22.0-1.sng7.x86_64 17/31
Erasing : asterisk13-addons-mysql-13.22.0-1.sng7.x86_64 18/31
Erasing : asterisk13-flite-2.4-4_2505af1.sng7.x86_64 19/31
Erasing : asterisk13-13.22.0-1.sng7.x86_64 20/31
Erasing : asterisk13-dahdi-13.22.0-1.sng7.x86_64 21/31
Erasing : asterisk13-doc-13.22.0-1.sng7.x86_64 22/31
Erasing : asterisk13-g729-1711-2.sng7.x86_64 23/31
Erasing : asterisk13-voicemail-13.22.0-1.sng7.x86_64 24/31
Erasing : asterisk13-addons-core-13.22.0-1.sng7.x86_64 25/31
Erasing : asterisk13-addons-bluetooth-13.22.0-1.sng7.x86_64 26/31
Erasing : asterisk13-addons-ooh323-13.22.0-1.sng7.x86_64 27/31
Erasing : asterisk13-ogg-13.22.0-1.sng7.x86_64 28/31
Erasing : asterisk13-curl-13.22.0-1.sng7.x86_64 29/31
Erasing : asterisk13-odbc-13.22.0-1.sng7.x86_64 30/31
Erasing : asterisk13-resample-13.22.0-1.sng7.x86_64 31/31
Verifying : asterisk16-flite-2.4-2_2505af1.sng7.x86_64 1/31
Verifying : asterisk16-addons-core-16.0.0-1.sng7.x86_64 2/31
Verifying : asterisk16-dahdi-16.0.0-1.sng7.x86_64 3/31
Verifying : asterisk16-addons-mysql-16.0.0-1.sng7.x86_64 4/31
Verifying : asterisk16-16.0.0-1.sng7.x86_64 5/31
Verifying : asterisk16-resample-16.0.0-1.sng7.x86_64 6/31
Verifying : asterisk16-odbc-16.0.0-1.sng7.x86_64 7/31
Verifying : asterisk16-curl-16.0.0-1.sng7.x86_64 8/31
Verifying : asterisk16-addons-ooh323-16.0.0-1.sng7.x86_64 9/31
Verifying : asterisk16-doc-16.0.0-1.sng7.x86_64 10/31
Verifying : asterisk16-voicemail-16.0.0-1.sng7.x86_64 11/31
Verifying : asterisk16-addons-bluetooth-16.0.0-1.sng7.x86_64 12/31
Verifying : asterisk16-addons-16.0.0-1.sng7.x86_64 13/31
Verifying : asterisk16-g729-1711-2.sng7.x86_64 14/31
Verifying : asterisk16-ogg-16.0.0-1.sng7.x86_64 15/31
Verifying : asterisk13-resample-13.22.0-1.sng7.x86_64 16/31
Verifying : asterisk13-odbc-13.22.0-1.sng7.x86_64 17/31
Verifying : asterisk13-curl-13.22.0-1.sng7.x86_64 18/31
Verifying : asterisk13-addons-13.22.0-1.sng7.x86_64 19/31
Verifying : asterisk13-addons-bluetooth-13.22.0-1.sng7.x86_64 20/31
Verifying : asterisk16-core-16.0.0-1.sng7.x86_64 21/31
Verifying : asterisk13-addons-mysql-13.22.0-1.sng7.x86_64 22/31
Verifying : asterisk13-ogg-13.22.0-1.sng7.x86_64 23/31
Verifying : asterisk13-flite-2.4-4_2505af1.sng7.x86_64 24/31
Verifying : asterisk13-addons-core-13.22.0-1.sng7.x86_64 25/31
Verifying : asterisk13-voicemail-13.22.0-1.sng7.x86_64 26/31
Verifying : asterisk13-doc-13.22.0-1.sng7.x86_64 27/31
Verifying : asterisk13-addons-ooh323-13.22.0-1.sng7.x86_64 28/31
Verifying : asterisk13-g729-1711-2.sng7.x86_64 29/31
Verifying : asterisk13-dahdi-13.22.0-1.sng7.x86_64 30/31
Verifying : asterisk13-13.22.0-1.sng7.x86_64 31/31
Removed:
asterisk13.x86_64 0:13.22.0-1.sng7 asterisk13-addons.x86_64 0:13.22.0-1.sng7
asterisk13-addons-bluetooth.x86_64 0:13.22.0-1.sng7 asterisk13-addons-core.x86_64 0:13.22.0-1.sng7
asterisk13-addons-mysql.x86_64 0:13.22.0-1.sng7 asterisk13-addons-ooh323.x86_64 0:13.22.0-1.sng7
asterisk13-curl.x86_64 0:13.22.0-1.sng7 asterisk13-dahdi.x86_64 0:13.22.0-1.sng7
asterisk13-doc.x86_64 0:13.22.0-1.sng7 asterisk13-flite.x86_64 0:2.4-4_2505af1.sng7
asterisk13-g729.x86_64 0:1711-2.sng7 asterisk13-odbc.x86_64 0:13.22.0-1.sng7
asterisk13-ogg.x86_64 0:13.22.0-1.sng7 asterisk13-resample.x86_64 0:13.22.0-1.sng7
asterisk13-voicemail.x86_64 0:13.22.0-1.sng7
Installed:
asterisk16.x86_64 0:16.0.0-1.sng7 asterisk16-addons.x86_64 0:16.0.0-1.sng7
asterisk16-addons-bluetooth.x86_64 0:16.0.0-1.sng7 asterisk16-addons-core.x86_64 0:16.0.0-1.sng7
asterisk16-addons-mysql.x86_64 0:16.0.0-1.sng7 asterisk16-addons-ooh323.x86_64 0:16.0.0-1.sng7
asterisk16-curl.x86_64 0:16.0.0-1.sng7 asterisk16-dahdi.x86_64 0:16.0.0-1.sng7
asterisk16-doc.x86_64 0:16.0.0-1.sng7 asterisk16-flite.x86_64 0:2.4-2_2505af1.sng7
asterisk16-g729.x86_64 0:1711-2.sng7 asterisk16-odbc.x86_64 0:16.0.0-1.sng7
asterisk16-ogg.x86_64 0:16.0.0-1.sng7 asterisk16-resample.x86_64 0:16.0.0-1.sng7
asterisk16-voicemail.x86_64 0:16.0.0-1.sng7
Failed:
asterisk16-core.x86_64 0:16.0.0-1.sng7
There were non-fatal errors in the transaction
Finished Transaction
Leaving Shell
asterisk16 has now been verified to be installed
Restarting Asterisk…
Running FreePBX shutdown…
Stopping UCP Node Server
[>---------------------------] < 1 sec
Stopped UCP Node Server
Stopping Chat Server
Stopped Chat Server
Zulu Server is not running
Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[============================] < 1 sec
Running FreePBX startup…
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 17562579
Checking Vpn server
Starting Asterisk…
[============================] 3 secs
Asterisk Started
Running Asterisk post from Ucp module
Starting UCP Node Server…
[>---------------------------] < 1 sec
Started UCP Node Server. PID is 6872
Running Asterisk post from Xmpp module
Resetting PBX Users Failed: The command “node /var/www/html/admin/modules/xmpp/node/resetpbxusers.js” failed.
Exit Code: 1(General error)
Working directory: /root
Output:
Error Output:
Unable to connect to asterisk!
/var/www/html/admin/modules/xmpp/node/node_modules/freepbx/lib/freepbx.js:103
throw “There was an error with Asterisk Manager Connection, is Asterisk running?”;
^
There was an error with Asterisk Manager Connection, is Asterisk running?
Running Asterisk post from Zulu module
Asterisk is not connected
Regenerate FreePBX Dialplan…
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Chowning all needed files
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Setting base permissions…chmod: changing permissions of â/var/www/html/admin/views/footer_content.phpâ: Operation not permitted
chown: changing ownership of â/var/www/html/admin/views/footer_content.phpâ: Operation not permitted
Done
Setting specific permissions…
64706 [============================]
Finished setting permissions
Any ideas as to why asterisk16-core-16.0.0-1.sng7.x86_64 is failing?
Thanks.