FreePBX | Register | Issues | Wiki | Portal | Support

The following modules are disabled because they need to be upgraded: restart, sangomacrm, xmpp, zulu


(Doug Kuhns) #1

The following modules are disabled because they need to be upgraded:
restart, sangomacrm, xmpp, zulu
You should go to the module admin page to fix these.
I go to module admin but they won’t upgrade.
Zulu shows * The Module Named " Asterisk REST Interface Users " is required, but yours is disabled.

  • Requires engine asterisk (>= 13), you have: asterisk 11.19.0
    Asterisk Rest interface users is disabled up to date. Requires engine asterisk (>= 12), you have: asterisk 11.19.0
    CRM says The Module Named " Zulu " is required, but yours is disabled because it needs to be upgraded. Please upgrade Zulu first, and then try again.
    I ran fwconsole ma upgradeall and get
    [root@xxxx ~]# fwconsole ma upgradeall
    No repos specified, using: [commercial,standard] from last GUI settings

Upgrading: restart, sangomacrm, xmpp, zulu
Upgrading restart…
Starting restart download…
Processing restart
Verifying local module download…Verified
Extracting…Done
Module restart successfully downloaded
Unable to install module restart:

  • Failed to install Bulk Phone Restart due to the following conflicting module( s): EndPoint Manager
    Updating Hooks…Done
    Upgrading sangomacrm…
    Starting sangomacrm download…
    Processing sangomacrm
    Verifying local module download…Verified
    Extracting…Done
    Module sangomacrm successfully downloaded
    Detected Missing Dependency of: zulu 13.0.54.31.6
    Downloading Missing Dependency of: zulu 13.0.54.31.6
    Processing zulu
    Verifying local module download…Verified
    Extracting…Done
    Module zulu successfully downloaded
    Detected Missing Dependency of: arimanager 13.0.4
    Downloading Missing Dependency of: arimanager 13.0.4
    Processing arimanager
    Verifying local module download…Verified
    Extracting…Done
    Module arimanager successfully downloaded
    Installing Missing Dependency of: arimanager 13.0.4
    Installed Missing Dependency of: arimanager 13.0.4
    Enabling Missing Dependency of: arimanager 13.0.4
    The following error(s) occured:
  • Requires engine asterisk (>= 12), you have: asterisk 11.19.0
    Unable to resolve dependencies for module sangomacrm:
    Updating Hooks…Done
    Upgrading xmpp…
    Starting xmpp download…
    Processing xmpp
    Verifying local module download…Verified
    Extracting…Done
    Module xmpp successfully downloaded
    Installing/Updating MongoDB…MongoDB is not installed
    Unable to install module xmpp:
  • Failed to run installation scripts
    Updating Hooks…Done
    Upgrading zulu…
    Starting zulu download…
    Processing zulu
    Verifying local module download…Verified
    Extracting…Done
    Module zulu successfully downloaded
    Detected Missing Dependency of: arimanager 13.0.4
    Downloading Missing Dependency of: arimanager 13.0.4
    Processing arimanager
    Verifying local module download…Verified
    Extracting…Done
    Module arimanager successfully downloaded
    Installing Missing Dependency of: arimanager 13.0.4
    Installed Missing Dependency of: arimanager 13.0.4
    Enabling Missing Dependency of: arimanager 13.0.4
    The following error(s) occured:
  • Requires engine asterisk (>= 12), you have: asterisk 11.19.0
    Unable to resolve dependencies for module zulu:
    Updating Hooks…Done
    All upgrades done!
    Updating Hooks…Done

(Lorne Gaetz) #2

https://wiki.freepbx.org/display/PPS/Changing+Major+Asterisk+Versions+on+the+Fly


(Doug Kuhns) #3

Thanks for quick response. I only have the options for 1.8, 11 and 13Experimental.
1.8 and 13 give error.
[root@xxxx ~]# asterisk-version-switch
Each time you run this script we create a new log file at
/var/log/pbx/asterisk-switch-version which will include the date and time
and what version of Asterisk you had and what version you switched to
Pick the Asterisk Version you would like to change to.
Press 1 and the Enter key for Asterisk 1.8
Press 2 and the Enter key for Asterisk 11
Press 3 and the Enter key for Asterisk 13 EXPERIMENTAL
Press 9 and the Enter key to exit and not change your Asterisk Version
1

You picked asterisk18

Clearing yum cache
Loaded plugins: fastestmirror, kmod
Cleaning repos: base extras pbx schmooze-commercial updates
Cleaning up Everything
Cleaning up list of fastest mirrors

Switching to asterisk18

Loaded plugins: fastestmirror, kmod
Setting up Yum Shell

Setting up Remove Process
Determining fastest mirrors
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.

–> Running transaction check
—> Package asterisk11.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-bluetooth.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-core.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-mysql.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-ooh323.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-core.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-curl.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-dahdi.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-doc.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-flite.x86_64 0:11.25.2-1.shmz65.1.53 will be erased
—> Package asterisk11-flite-debuginfo.x86_64 0:11.25.2-1.shmz65.1.53 will be erased
—> Package asterisk11-odbc.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-voicemail.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
–> Finished Dependency Resolution
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
Error building transaction: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
–> Running transaction check
–> Finished Dependency Resolution
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
Leaving Shell

asterisk18 had an issue being installed and did not complete
Review the console logs and resolve the RPM conflict first
echo and rerun this script to try again.
[root@electsys ~]# asterisk-version-switch
Each time you run this script we create a new log file at
/var/log/pbx/asterisk-switch-version which will include the date and time
and what version of Asterisk you had and what version you switched to
Pick the Asterisk Version you would like to change to.
Press 1 and the Enter key for Asterisk 1.8
Press 2 and the Enter key for Asterisk 11
Press 3 and the Enter key for Asterisk 13 EXPERIMENTAL
Press 9 and the Enter key to exit and not change your Asterisk Version
2

You picked asterisk11

Clearing yum cache
Loaded plugins: fastestmirror, kmod
Cleaning repos: base extras pbx schmooze-commercial updates
Cleaning up Everything
Cleaning up list of fastest mirrors

Switching to asterisk11

Loaded plugins: fastestmirror, kmod
Setting up Yum Shell

Setting up Remove Process
Determining fastest mirrors
base | 2.0 kB 00:00
base/primary | 2.5 MB 00:00
base 6402/6402
extras | 1.3 kB 00:00
extras/primary | 6.8 kB 00:00
extras 15/15
pbx | 2.9 kB 00:00
pbx/primary_db | 2.2 MB 00:00
schmooze-commercial | 1.3 kB 00:00
schmooze-commercial/primary | 17 kB 00:00
schmooze-commercial 111/111
updates | 1.3 kB 00:00
updates/primary | 644 kB 00:00
updates 1456/1456
Setting up Install Process

–> Running transaction check
—> Package asterisk11.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-addons.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-addons-bluetooth.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-addons-core.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-addons-mysql.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-addons-ooh323.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-core.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-curl.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-dahdi.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-doc.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-flite.x86_64 0:11.25.2-1.shmz65.1.53 will be reinstalled
—> Package asterisk11-flite-debuginfo.x86_64 0:11.25.2-1.shmz65.1.53 will be reinstalled
—> Package asterisk11-odbc.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
—> Package asterisk11-voicemail.x86_64 0:11.25.3-1.shmz65.1.123 will be reinstalled
–> Finished Dependency Resolution
Success resolving dependencies
–> Running transaction check
–> Finished Dependency Resolution

================================================================================
Package Arch Version Repository
Size

Reinstalling:
asterisk11 x86_64 11.25.3-1.shmz65.1.123 pbx 4.5 k
asterisk11-addons x86_64 11.25.3-1.shmz65.1.123 pbx 3.6 k
asterisk11-addons-bluetooth x86_64 11.25.3-1.shmz65.1.123 pbx 33 k
asterisk11-addons-core x86_64 11.25.3-1.shmz65.1.123 pbx 27 k
asterisk11-addons-mysql x86_64 11.25.3-1.shmz65.1.123 pbx 37 k
asterisk11-addons-ooh323 x86_64 11.25.3-1.shmz65.1.123 pbx 324 k
asterisk11-core x86_64 11.25.3-1.shmz65.1.123 pbx 2.6 M
asterisk11-curl x86_64 11.25.3-1.shmz65.1.123 pbx 18 k
asterisk11-dahdi x86_64 11.25.3-1.shmz65.1.123 pbx 274 k
asterisk11-doc x86_64 11.25.3-1.shmz65.1.123 pbx 14 k
asterisk11-flite x86_64 11.25.2-1.shmz65.1.53 pbx 7.0 k
asterisk11-flite-debuginfo x86_64 11.25.2-1.shmz65.1.53 pbx 12 k
asterisk11-odbc x86_64 11.25.3-1.shmz65.1.123 pbx 59 k
asterisk11-voicemail x86_64 11.25.3-1.shmz65.1.123 pbx 78 k

Transaction Summary

Reinstall 14 Package(s)

Total download size: 3.5 M
Installed size: 14 M
Downloading Packages:
(1/14): asterisk11-11.25.3-1.shmz65.1.123.x86_64.rpm | 4.5 kB 00:00
(2/14): asterisk11-addons-11.25.3-1.shmz65.1.123.x86_64. | 3.6 kB 00:00
(3/14): asterisk11-addons-bluetooth-11.25.3-1.shmz65.1.1 | 33 kB 00:00
(4/14): asterisk11-addons-core-11.25.3-1.shmz65.1.123.x8 | 27 kB 00:00
(5/14): asterisk11-addons-mysql-11.25.3-1.shmz65.1.123.x | 37 kB 00:00
(6/14): asterisk11-addons-ooh323-11.25.3-1.shmz65.1.123. | 324 kB 00:00
(7/14): asterisk11-core-11.25.3-1.shmz65.1.123.x86_64.rp | 2.6 MB 00:00
(8/14): asterisk11-curl-11.25.3-1.shmz65.1.123.x86_64.rp | 18 kB 00:00
(9/14): asterisk11-dahdi-11.25.3-1.shmz65.1.123.x86_64.r | 274 kB 00:00
(10/14): asterisk11-doc-11.25.3-1.shmz65.1.123.x86_64.rp | 14 kB 00:00
(11/14): asterisk11-flite-11.25.2-1.shmz65.1.53.x86_64.r | 7.0 kB 00:00
(12/14): asterisk11-flite-debuginfo-11.25.2-1.shmz65.1.5 | 12 kB 00:00
(13/14): asterisk11-odbc-11.25.3-1.shmz65.1.123.x86_64.r | 59 kB 00:00
(14/14): asterisk11-voicemail-11.25.3-1.shmz65.1.123.x86 | 78 kB 00:00

Total 1.5 MB/s | 3.5 MB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : asterisk11-core-11.25.3-1.shmz65.1.123.x86_64 1/14
Installing : asterisk11-addons-core-11.25.3-1.shmz65.1.123.x86_64 2/14
Installing : asterisk11-addons-mysql-11.25.3-1.shmz65.1.123.x86_64 3/14
Installing : asterisk11-addons-ooh323-11.25.3-1.shmz65.1.123.x86_64 4/14
Installing : asterisk11-doc-11.25.3-1.shmz65.1.123.x86_64 5/14
Installing : asterisk11-voicemail-11.25.3-1.shmz65.1.123.x86_64 6/14
Installing : asterisk11-dahdi-11.25.3-1.shmz65.1.123.x86_64 7/14
Installing : asterisk11-11.25.3-1.shmz65.1.123.x86_64 8/14
Installing : asterisk11-addons-bluetooth-11.25.3-1.shmz65.1.123.x86_6 9/14
Installing : asterisk11-addons-11.25.3-1.shmz65.1.123.x86_64 10/14
Installing : asterisk11-flite-11.25.2-1.shmz65.1.53.x86_64 11/14
Installing : asterisk11-curl-11.25.3-1.shmz65.1.123.x86_64 12/14
Installing : asterisk11-odbc-11.25.3-1.shmz65.1.123.x86_64 13/14
Installing : asterisk11-flite-debuginfo-11.25.2-1.shmz65.1.53.x86_64 14/14
Verifying : asterisk11-curl-11.25.3-1.shmz65.1.123.x86_64 1/14
Verifying : asterisk11-core-11.25.3-1.shmz65.1.123.x86_64 2/14
Verifying : asterisk11-flite-debuginfo-11.25.2-1.shmz65.1.53.x86_64 3/14
Verifying : asterisk11-addons-mysql-11.25.3-1.shmz65.1.123.x86_64 4/14
Verifying : asterisk11-addons-ooh323-11.25.3-1.shmz65.1.123.x86_64 5/14
Verifying : asterisk11-flite-11.25.2-1.shmz65.1.53.x86_64 6/14
Verifying : asterisk11-11.25.3-1.shmz65.1.123.x86_64 7/14
Verifying : asterisk11-odbc-11.25.3-1.shmz65.1.123.x86_64 8/14
Verifying : asterisk11-doc-11.25.3-1.shmz65.1.123.x86_64 9/14
Verifying : asterisk11-addons-11.25.3-1.shmz65.1.123.x86_64 10/14
Verifying : asterisk11-voicemail-11.25.3-1.shmz65.1.123.x86_64 11/14
Verifying : asterisk11-addons-core-11.25.3-1.shmz65.1.123.x86_64 12/14
Verifying : asterisk11-dahdi-11.25.3-1.shmz65.1.123.x86_64 13/14
Verifying : asterisk11-addons-bluetooth-11.25.3-1.shmz65.1.123.x86_6 14/14

Installed:
asterisk11.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-bluetooth.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-core.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-mysql.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-ooh323.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-core.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-curl.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-dahdi.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-doc.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-flite.x86_64 0:11.25.2-1.shmz65.1.53
asterisk11-flite-debuginfo.x86_64 0:11.25.2-1.shmz65.1.53
asterisk11-odbc.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-voicemail.x86_64 0:11.25.3-1.shmz65.1.123

Finished Transaction

Leaving Shell

asterisk11 has now been verified to be installed

Checking to see if you have g729 installed
G729 is not installed so moving on
Checking to see if you have res_fax_digium installed
res_fax_digium is not installed so moving on
Restarting Asterisk for Changes to take effect with the new version

Please wait…

!!!amportal is depreciated. Please use fwconsole!!!
forwarding all commands to ‘fwconsole’
Running FreePBX shutdown…

RestApps Server is not running
UCP Node Server is not running
Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[============================] 3 secs
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Stopping DAHDi for Digium Cards
DAHDi Stopped
Queue Callback Server is not running
Running FreePBX startup…
Running Asterisk pre from Dahdiconfig module
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Starting DAHDi for Digium Cards
DAHDi Started
Running Asterisk pre from Firewall module
Running Asterisk pre from Pms module
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 86119035
Checking Vpn server
Starting Asterisk…
[-------->-------------------] 1 sec
Broadcast message from root@electsys.local (Thu Nov 8 08:17:16 2018):

Firewall service now starting.

[============================] 4 secs
Asterisk Started
Running Asterisk post from Dahdiconfig module
Running Asterisk post from Endpoint module
Running Asterisk post from Pagingpro module
Running Asterisk post from Restapps module
Starting RestApps Server…
[>---------------------------] 1 sec
Started RestApps Server. PID is 7233
Running Asterisk post from Ucpnode module
Starting UCP Node Server…
[>---------------------------] 1 sec
Started UCP Node Server. PID is 7306
Running Asterisk post from Vqplus module
Queues Pro is not licensed.
Stopping fail2ban: [ OK ]
Ensuring logfiles are presentStarting fail2ban: [ OK ]
Regenerate FreePBX Dialplan for new Asterisk Version
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Please update your modules and reload Asterisk by browsing to your server.
Successfully reloaded
[root@electsys ~]# fwconsole ma upgradeall
No repos specified, using: [commercial,standard] from last GUI settings

Upgrading: restart, sangomacrm, xmpp, zulu
Upgrading restart…
Starting restart download…
Processing restart
Verifying local module download…Verified
Extracting…Done
Module restart successfully downloaded
Unable to install module restart:

  • Failed to install Bulk Phone Restart due to the following conflicting module(s): EndPoint Manager
    Updating Hooks…Done
    Upgrading sangomacrm…
    Starting sangomacrm download…
    Processing sangomacrm
    Verifying local module download…Verified
    Extracting…Done
    Module sangomacrm successfully downloaded
    Detected Missing Dependency of: zulu 13.0.54.31.6
    Downloading Missing Dependency of: zulu 13.0.54.31.6
    Processing zulu
    Verifying local module download…Verified
    Extracting…Done
    Module zulu successfully downloaded
    Detected Missing Dependency of: arimanager 13.0.4
    Downloading Missing Dependency of: arimanager 13.0.4
    Processing arimanager
    Verifying local module download…Verified
    Extracting…Done
    Module arimanager successfully downloaded
    Installing Missing Dependency of: arimanager 13.0.4
    Installed Missing Dependency of: arimanager 13.0.4
    Enabling Missing Dependency of: arimanager 13.0.4
    The following error(s) occured:
  • Requires engine asterisk (>= 12), you have: asterisk 11.25.3
    Unable to resolve dependencies for module sangomacrm:
    Updating Hooks…Done
    Upgrading xmpp…
    Starting xmpp download…
    Processing xmpp
    Verifying local module download…Verified
    Extracting…Done
    Module xmpp successfully downloaded
    Installing/Updating MongoDB…MongoDB is not installed
    Unable to install module xmpp:
  • Failed to run installation scripts
    Updating Hooks…Done
    Upgrading zulu…
    Starting zulu download…
    Processing zulu
    Verifying local module download…Verified
    Extracting…Done
    Module zulu successfully downloaded
    Detected Missing Dependency of: arimanager 13.0.4
    Downloading Missing Dependency of: arimanager 13.0.4
    Processing arimanager
    Verifying local module download…Verified
    Extracting…Done
    Module arimanager successfully downloaded
    Installing Missing Dependency of: arimanager 13.0.4
    Installed Missing Dependency of: arimanager 13.0.4
    Enabling Missing Dependency of: arimanager 13.0.4
    The following error(s) occured:
  • Requires engine asterisk (>= 12), you have: asterisk 11.25.3
    Unable to resolve dependencies for module zulu:
    Updating Hooks…Done
    All upgrades done!
    Updating Hooks…Done

Selecting 13 gets me this
Pick the Asterisk Version you would like to change to.
Press 1 and the Enter key for Asterisk 1.8
Press 2 and the Enter key for Asterisk 11
Press 3 and the Enter key for Asterisk 13 EXPERIMENTAL
Press 9 and the Enter key to exit and not change your Asterisk Version
3

You picked asterisk13

Clearing yum cache
Loaded plugins: fastestmirror, kmod
Cleaning repos: base extras pbx schmooze-commercial updates
Cleaning up Everything
Cleaning up list of fastest mirrors

Switching to asterisk13

Loaded plugins: fastestmirror, kmod
Setting up Yum Shell

Setting up Remove Process
Determining fastest mirrors
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.

–> Running transaction check
—> Package asterisk11.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-bluetooth.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-core.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-mysql.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-ooh323.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-core.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-curl.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-dahdi.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-doc.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-flite.x86_64 0:11.25.2-1.shmz65.1.53 will be erased
—> Package asterisk11-flite-debuginfo.x86_64 0:11.25.2-1.shmz65.1.53 will be erased
—> Package asterisk11-odbc.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-voicemail.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
–> Finished Dependency Resolution
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
Error building transaction: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
–> Running transaction check
–> Finished Dependency Resolution
http://yum.freepbxdistro.org/shmz-os/6.5/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
Leaving Shell

asterisk13 had an issue being installed and did not complete
Review the console logs and resolve the RPM conflict first
echo and rerun this script to try again.


(Lorne Gaetz) #4

Looks like you are on an unsupported (end of life) distro. Upgrade to current using the scripts here:
https://wiki.freepbx.org/display/PPS/Updating+FreePBX+Official+Distro


(Doug Kuhns) #5

Thanks. I ran the upgrade for 6.12.65-20 and still have same modules updated. I missed the Do not skip any available upgrade step first time around (I know, I know) and jumped to 6.12.65-32 with same modules disabled, then to 6.12.65-100. Now the system overview shows sangomacrm and zulu need to be updated. However, the module admin only shows bulk phone restart that is upgradeable but that fails: Downloading and Installing restart
Downloading restart
Installing restart
Untarring…Done
Error(s) installing restart:

Failed to install Bulk Phone Restart due to the following conflicting module(s): EndPoint Manager

Updating Hooks…Done
Using the upgradeall command from putty gets this:
IUpgrading: sangomacrm, zulu
Upgrading sangomacrm…
Starting sangomacrm download…
Processing sangomacrm
Verifying local module download…Verified
Extracting…Done
Module sangomacrm successfully downloaded
Detected Missing Dependency of: zulu 13.0.54.31.6
Downloading Missing Dependency of: zulu 13.0.54.31.6
Processing zulu
Verifying local module download…Verified
Extracting…Done
Module zulu successfully downloaded
Detected Missing Dependency of: arimanager 13.0.4
Downloading Missing Dependency of: arimanager 13.0.4
Processing arimanager
Verifying local module download…Verified
Extracting…Done
Module arimanager successfully downloaded
Installing Missing Dependency of: arimanager 13.0.4
Installed Missing Dependency of: arimanager 13.0.4
Enabling Missing Dependency of: arimanager 13.0.4
The following error(s) occured:

  • Requires engine asterisk (>= 12), you have: asterisk 11.25.3
    Unable to resolve dependencies for module sangomacrm:
    Updating Hooks…Done
    Upgrading zulu…
    Starting zulu download…
    Processing zulu
    Verifying local module download…Verified
    Extracting…Done
    Module zulu successfully downloaded
    Detected Missing Dependency of: arimanager 13.0.4
    Downloading Missing Dependency of: arimanager 13.0.4
    Processing arimanager
    Verifying local module download…Verified
    Extracting…Done
    Module arimanager successfully downloaded
    Installing Missing Dependency of: arimanager 13.0.4
    Installed Missing Dependency of: arimanager 13.0.4
    Enabling Missing Dependency of: arimanager 13.0.4
    The following error(s) occured:
  • Requires engine asterisk (>= 12), you have: asterisk 11.25.3
    Unable to resolve dependencies for module zulu:
    Updating Hooks…Done
    All upgrades done!
    Updating Hooks…Done
    [root@xxxx ~]#
    [root@xxx ~]# asterisk-version-switch
    Each time you run this script we create a new log file at
    /var/log/pbx/asterisk-switch-version which will include the date and time
    and what version of Asterisk you had and what version you switched to
    Pick the Asterisk Version you would like to change to.
    Press 1 and the Enter key for Asterisk 1.8
    Press 2 and the Enter key for Asterisk 11
    Press 3 and the Enter key for Asterisk 13 EXPERIMENTAL
    Press 9 and the Enter key to exit and not change your Asterisk Vers

The reason for all this in the firstplace, is the blf’s do not work on the one digium phone. Is this totally messed up now? What do I need to do to get this properly updated?


(Lorne Gaetz) #6

Change to Asterisk 13:
https://wiki.freepbx.org/display/PPS/Changing+Major+Asterisk+Versions+on+the+Fly

uninstall bulk phone restart:
fwconsole ma delete restart

You can now install arimanager, which in turn will allow the other dependencies


(Doug Kuhns) #7

Asterisk switch verison only gives me 1.8 11 and 13 EXPERIMENTAL. Is 13 safe to use?
The uninstall command says -bash: uninstall: command not found


(Lorne Gaetz) #8

Yes. Your distro version went EOL a few years ago when 13 was new.


(Doug Kuhns) #9

You picked asterisk13

Clearing yum cache
Loaded plugins: fastestmirror, kmod
Cleaning repos: base extras pbx schmooze-commercial updates
Cleaning up Everything
Cleaning up list of fastest mirrors

Switching to asterisk13

Loaded plugins: fastestmirror, kmod
Setting up Yum Shell

Setting up Remove Process
Determining fastest mirrors
http://yum.freepbxdistro.org/shmz-os/6.6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://yum.freepbxdistro.org/shmz-os/6.6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.
http://yum.freepbxdistro.org/shmz-os/6.6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
Trying other mirror.

–> Running transaction check
—> Package asterisk11.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-bluetooth.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-core.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-mysql.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-addons-ooh323.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-core.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-curl.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-dahdi.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-doc.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-flite.x86_64 0:11.25.2-1.shmz65.1.53 will be erased
—> Package asterisk11-flite-debuginfo.x86_64 0:11.25.2-1.shmz65.1.53 will be erased
—> Package asterisk11-odbc.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
—> Package asterisk11-voicemail.x86_64 0:11.25.3-1.shmz65.1.123 will be erased
–> Finished Dependency Resolution
Success resolving dependencies
–> Running transaction check
–> Finished Dependency Resolution

================================================================================
Package Arch Version Repository
Size

Removing:
asterisk11 x86_64 11.25.3-1.shmz65.1.123 @pbx 0.0
asterisk11-addons x86_64 11.25.3-1.shmz65.1.123 @pbx 0.0
asterisk11-addons-bluetooth x86_64 11.25.3-1.shmz65.1.123 @pbx 97 k
asterisk11-addons-core x86_64 11.25.3-1.shmz65.1.123 @pbx 77 k
asterisk11-addons-mysql x86_64 11.25.3-1.shmz65.1.123 @pbx 119 k
asterisk11-addons-ooh323 x86_64 11.25.3-1.shmz65.1.123 @pbx 1.9 M
asterisk11-core x86_64 11.25.3-1.shmz65.1.123 @pbx 10 M
asterisk11-curl x86_64 11.25.3-1.shmz65.1.123 @pbx 52 k
asterisk11-dahdi x86_64 11.25.3-1.shmz65.1.123 @pbx 966 k
asterisk11-doc x86_64 11.25.3-1.shmz65.1.123 @pbx 8.6 k
asterisk11-flite x86_64 11.25.2-1.shmz65.1.53 @pbx 12 k
asterisk11-flite-debuginfo x86_64 11.25.2-1.shmz65.1.53 @pbx 32 k
asterisk11-odbc x86_64 11.25.3-1.shmz65.1.123 @pbx 208 k
asterisk11-voicemail x86_64 11.25.3-1.shmz65.1.123 @pbx 244 k

Transaction Summary

Remove 14 Package(s)

Installed size: 14 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : asterisk11-addons-11.25.3-1.shmz65.1.123.x86_64 1/14
Erasing : asterisk11-addons-mysql-11.25.3-1.shmz65.1.123.x86_64 2/14
Erasing : asterisk11-addons-core-11.25.3-1.shmz65.1.123.x86_64 3/14
Erasing : asterisk11-addons-bluetooth-11.25.3-1.shmz65.1.123.x86_6 4/14
Erasing : asterisk11-addons-ooh323-11.25.3-1.shmz65.1.123.x86_64 5/14
Erasing : asterisk11-odbc-11.25.3-1.shmz65.1.123.x86_64 6/14
Erasing : asterisk11-flite-11.25.2-1.shmz65.1.53.x86_64 7/14
Erasing : asterisk11-11.25.3-1.shmz65.1.123.x86_64 8/14
Erasing : asterisk11-dahdi-11.25.3-1.shmz65.1.123.x86_64 9/14
Erasing : asterisk11-doc-11.25.3-1.shmz65.1.123.x86_64 10/14
Erasing : asterisk11-voicemail-11.25.3-1.shmz65.1.123.x86_64 11/14
Erasing : asterisk11-curl-11.25.3-1.shmz65.1.123.x86_64 12/14
Erasing : asterisk11-flite-debuginfo-11.25.2-1.shmz65.1.53.x86_64 13/14
Erasing : asterisk11-core-11.25.3-1.shmz65.1.123.x86_64 14/14
Verifying : asterisk11-curl-11.25.3-1.shmz65.1.123.x86_64 1/14
Verifying : asterisk11-core-11.25.3-1.shmz65.1.123.x86_64 2/14
Verifying : asterisk11-flite-debuginfo-11.25.2-1.shmz65.1.53.x86_64 3/14
Verifying : asterisk11-addons-mysql-11.25.3-1.shmz65.1.123.x86_64 4/14
Verifying : asterisk11-addons-ooh323-11.25.3-1.shmz65.1.123.x86_64 5/14
Verifying : asterisk11-flite-11.25.2-1.shmz65.1.53.x86_64 6/14
Verifying : asterisk11-11.25.3-1.shmz65.1.123.x86_64 7/14
Verifying : asterisk11-odbc-11.25.3-1.shmz65.1.123.x86_64 8/14
Verifying : asterisk11-doc-11.25.3-1.shmz65.1.123.x86_64 9/14
Verifying : asterisk11-addons-11.25.3-1.shmz65.1.123.x86_64 10/14
Verifying : asterisk11-voicemail-11.25.3-1.shmz65.1.123.x86_64 11/14
Verifying : asterisk11-addons-core-11.25.3-1.shmz65.1.123.x86_64 12/14
Verifying : asterisk11-dahdi-11.25.3-1.shmz65.1.123.x86_64 13/14
Verifying : asterisk11-addons-bluetooth-11.25.3-1.shmz65.1.123.x86_6 14/14

Removed:
asterisk11.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-bluetooth.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-core.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-mysql.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-addons-ooh323.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-core.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-curl.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-dahdi.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-doc.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-flite.x86_64 0:11.25.2-1.shmz65.1.53
asterisk11-flite-debuginfo.x86_64 0:11.25.2-1.shmz65.1.53
asterisk11-odbc.x86_64 0:11.25.3-1.shmz65.1.123
asterisk11-voicemail.x86_64 0:11.25.3-1.shmz65.1.123

Finished Transaction

Leaving Shell

asterisk13 had an issue being installed and did not complete
Review the console logs and resolve the RPM conflict first
echo and rerun this script to try again.
I"m pretty green at this. Where do i find these logs.


(Doug Kuhns) #10

I restored a backup but it still shows firmware is 10.13.66-1. Now when I click Apply Config, it says Reload Failed

Reload failed because retrieve_conf encountered an error: 1

exit: 1
Exception: Unable to find the Asterisk binary in file /var/lib/asterisk/bin/retrieve_conf on line 37
Stack trace:

  1. Exception->() /var/lib/asterisk/bin/retrieve_conf:37

I ran fwconsole ma upgradeall

It runs then says

Can’t find ‘firewall’ user in /etc/asterisk/manager_additional.confg. Firewall monitoring broken! (Did you forget to click ‘Reload’)

Whats the next step?


(Doug Kuhns) #11

I restarted the pbx. Now it says Cannot connect to asterisk.


(Doug Kuhns) #12

I reran the upgrade scripts to 10.13.66 and retarted. There is no change, still says cannot connect to asterisk and
most of the modules are in italics which I assume means they are not available or not working. What’s my best way to resolve these issues? This is a hosted server, so I don’t have physical access to it.


(Lorne Gaetz) #13

I’m assuming that asterisk is no longer installed. Are you able to run

asterisk-version-switch

(Doug Kuhns) #14

I did that and it gave me the option of 1.8, 11 and 13 experimental. I selected 13 and then ran fwconsole ma upgradeall and I think it’s all working now! Have to see if the original issue is resolved yet.


(Doug Kuhns) #15

Got it upgraded to 66-8 but now I get this
Symfony\Component\Process\Exception\ProcessFailedException The command “cd /var/www/html/admin/modules/pm2/node && mkdir -p /home/asterisk/.pm2 && mkdir -p /var/www/html/admin/modules/pm2/node/logs && export HOME=/home/asterisk && export PM2_HOME=/home/asterisk/.pm2 && export ASTLOGDIR=/var/log/asterisk && export ASTVARLIBDIR=/var/lib/asterisk && export PATH=$HOME/.node/bin:$PATH && export NODE_PATH=$HOME/.node/lib/node_modules:$NODE_PATH && export MANPATH=$HOME/.node/share/man:$MANPATH && /var/www/html/admin/modules/pm2/node/node_modules/pm2/bin/pm2 jlist” failed. Exit Code: 127(Command not found) Working directory: /var/www/html/admin Output: ================ Error Output: ================ /usr/bin/env: node: No such file or directory File:/var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php:221

Did some research and force uninstalled pm2 but it wont reinstall.
fwconsole ma install pm2
sh: node: command not found
Node is not installed
unable to install modeul pm2:
-failed to run isntallation scripts

Next step?


(Itzik) #16

maybe try

fwconsole ma downloadinstall pm2 --force