Issue with updating the XMPP module


(Kate) #1

Hi guys,

We have FreePBX 14.0.1.20.
I tried to update XMPP module, then I got the error:
Removing Prosody…Done
Unable to remove Prosody, it is no longer used and conflicts with this package.
Please remove it before continuing
Error(s) installing xmpp:
Failed to run installation scripts
Updating Hooks…Done
I have removed Prosody via terminal and I got new error in Updates. Please, see attached screenshot.
Please, help me, how can I fix it?

Thank you!


UCP error division by zero
(Marbled) #2

Hi!

Known problem which I thought was fixed so maybe your modules are not up to date…

Run

yum update 

from the command line…

If this is not successful, post the results here…

Good luck and have a nice day!

Nick


(Kate) #3

Hi Nick,

Thank you for your reply.
I have runned Yum Update from the command line, I found some warning messages. The situation hasn’t changed in Updates. Also I got messages on dashboard. I attached screenshots.

Thank you


(Lorne Gaetz) #4

You are being told to run fwconsole chown, did you?


(Kate) #5

Yes, I did it. Messages from dashboard disappeared. What should I do this Updates?


(Marbled) #6

HI!

Can you paste the whole list of messages for that yum update?

This is text you know, you can paste it as such here and not as a picture…

I only see warnings and I am not quite sure why you are getting them, did you manually remove some isymphonyv3 directories from your disk?

By the way, has this system always been FreePBX 14 or did you upgrade from FreePBX 13 with the distro upgrade “script”?

Good luck and have a nice day!

Nick


(Kate) #7

Hi Nick,

I didn’t manually remove some isymphonyv3 directories from our disk.
The system always been FreePBX 14, before it was beta version.

[root@freepbx ~]# yum update
Loaded plugins: fastestmirror
sng-base                                                 | 3.6 kB     00:00     
sng-epel                                                 | 4.3 kB     00:00     
sng-extras                                               | 3.4 kB     00:00     
sng-pkgs                                                 | 3.4 kB     00:00     
sng-updates                                              | 3.4 kB     00:00     
sng-pkgs/7/x86_64/primary_db                               | 478 kB   00:00     
Loading mirror speeds from cached hostfile
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package iSymphonyServerV3-fpbx.noarch 0:3.4.2.75-1 will be updated
---> Package iSymphonyServerV3-fpbx.noarch 0:3.5.1.24-1 will be an update
---> Package php56w.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-bcmath.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-bcmath.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-cli.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-cli.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-common.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-common.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-gd.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-gd.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-intl.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-intl.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-ldap.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-ldap.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-mbstring.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-mbstring.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-mysqlnd.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-mysqlnd.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-odbc.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-odbc.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-pdo.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-pdo.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-process.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-process.x86_64 0:5.6.32-1.sng7 will be an update
---> Package php56w-xml.x86_64 0:5.6.31-2.sng7 will be updated
---> Package php56w-xml.x86_64 0:5.6.32-1.sng7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch        Version            Repository     Size
================================================================================
Updating:
 iSymphonyServerV3-fpbx      noarch      3.5.1.24-1         sng-pkgs       71 M
 php56w                      x86_64      5.6.32-1.sng7      sng-pkgs      2.9 M
 php56w-bcmath               x86_64      5.6.32-1.sng7      sng-pkgs       37 k
 php56w-cli                  x86_64      5.6.32-1.sng7      sng-pkgs      2.9 M
 php56w-common               x86_64      5.6.32-1.sng7      sng-pkgs      1.3 M
 php56w-gd                   x86_64      5.6.32-1.sng7      sng-pkgs      155 k
 php56w-intl                 x86_64      5.6.32-1.sng7      sng-pkgs      198 k
 php56w-ldap                 x86_64      5.6.32-1.sng7      sng-pkgs       41 k
 php56w-mbstring             x86_64      5.6.32-1.sng7      sng-pkgs      543 k
 php56w-mysqlnd              x86_64      5.6.32-1.sng7      sng-pkgs      271 k
 php56w-odbc                 x86_64      5.6.32-1.sng7      sng-pkgs       58 k
 php56w-pdo                  x86_64      5.6.32-1.sng7      sng-pkgs      113 k
 php56w-process              x86_64      5.6.32-1.sng7      sng-pkgs       44 k
 php56w-xml                  x86_64      5.6.32-1.sng7      sng-pkgs      169 k

Transaction Summary
================================================================================
Upgrade  14 Packages

Total download size: 80 M
Is this ok [y/d/N]: y
Downloading packages:
(1/14): php56w-5.6.32-1.sng7.x86_64.rpm                    | 2.9 MB   00:03     
(2/14): php56w-bcmath-5.6.32-1.sng7.x86_64.rpm             |  37 kB   00:00     
(3/14): php56w-cli-5.6.32-1.sng7.x86_64.rpm                                                                                                                               | 2.9 MB  00:00:02     
(4/14): php56w-common-5.6.32-1.sng7.x86_64.rpm                                                                                                                            | 1.3 MB  00:00:01     
(5/14): php56w-gd-5.6.32-1.sng7.x86_64.rpm                                                                                                                                | 155 kB  00:00:00     
(6/14): php56w-intl-5.6.32-1.sng7.x86_64.rpm                                                                                                                              | 198 kB  00:00:00     
(7/14): php56w-ldap-5.6.32-1.sng7.x86_64.rpm                                                                                                                              |  41 kB  00:00:00     
(8/14): php56w-mbstring-5.6.32-1.sng7.x86_64.rpm                                                                                                                          | 543 kB  00:00:00     
(9/14): php56w-mysqlnd-5.6.32-1.sng7.x86_64.rpm                                                                                                                           | 271 kB  00:00:00     
(10/14): php56w-odbc-5.6.32-1.sng7.x86_64.rpm                                                                                                                             |  58 kB  00:00:00     
(11/14): php56w-pdo-5.6.32-1.sng7.x86_64.rpm                                                                                                                              | 113 kB  00:00:00     
(12/14): php56w-process-5.6.32-1.sng7.x86_64.rpm                                                                                                                          |  44 kB  00:00:00     
(13/14): php56w-xml-5.6.32-1.sng7.x86_64.rpm                                                                                                                              | 169 kB  00:00:00     
(14/14): iSymphonyServerV3-fpbx-3.5.1.24-1.noarch.rpm                                                                                                                     |  71 MB  00:00:24     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                            3.3 MB/s |  80 MB  00:00:24     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : php56w-common-5.6.32-1.sng7.x86_64                                                                                                                                           1/28 
  Updating   : php56w-pdo-5.6.32-1.sng7.x86_64                                                                                                                                              2/28 
  Updating   : php56w-cli-5.6.32-1.sng7.x86_64                                                                                                                                              3/28 
  Updating   : php56w-5.6.32-1.sng7.x86_64                                                                                                                                                  4/28 
  Updating   : php56w-mysqlnd-5.6.32-1.sng7.x86_64                                                                                                                                          5/28 
  Updating   : php56w-odbc-5.6.32-1.sng7.x86_64                                                                                                                                             6/28 
  Updating   : php56w-process-5.6.32-1.sng7.x86_64                                                                                                                                          7/28 
  Updating   : php56w-xml-5.6.32-1.sng7.x86_64                                                                                                                                              8/28 
  Updating   : php56w-bcmath-5.6.32-1.sng7.x86_64                                                                                                                                           9/28 
  Updating   : php56w-mbstring-5.6.32-1.sng7.x86_64                                                                                                                                        10/28 
  Updating   : php56w-gd-5.6.32-1.sng7.x86_64                                                                                                                                              11/28 
  Updating   : php56w-intl-5.6.32-1.sng7.x86_64                                                                                                                                            12/28 
  Updating   : php56w-ldap-5.6.32-1.sng7.x86_64                                                                                                                                            13/28 
Stopping iSymphonyServerV3 (via systemctl):  [  OK  ]
  Updating   : iSymphonyServerV3-fpbx-3.5.1.24-1.noarch                                                                                                                                    14/28 
warning: /opt/isymphony3/server/conf/main.xml saved as /opt/isymphony3/server/conf/main.xml.rpmsave
  Cleanup    : php56w-5.6.31-2.sng7.x86_64                                                                                                                                                 15/28 
  Cleanup    : php56w-cli-5.6.31-2.sng7.x86_64                                                                                                                                             16/28 
  Cleanup    : php56w-odbc-5.6.31-2.sng7.x86_64                                                                                                                                            17/28 
  Cleanup    : php56w-ldap-5.6.31-2.sng7.x86_64                                                                                                                                            18/28 
  Cleanup    : php56w-intl-5.6.31-2.sng7.x86_64                                                                                                                                            19/28 
  Cleanup    : php56w-gd-5.6.31-2.sng7.x86_64                                                                                                                                              20/28 
  Cleanup    : php56w-mysqlnd-5.6.31-2.sng7.x86_64                                                                                                                                         21/28 
  Cleanup    : php56w-pdo-5.6.31-2.sng7.x86_64                                                                                                                                             22/28 
  Cleanup    : php56w-mbstring-5.6.31-2.sng7.x86_64                                                                                                                                        23/28 
  Cleanup    : php56w-bcmath-5.6.31-2.sng7.x86_64                                                                                                                                          24/28 
  Cleanup    : php56w-xml-5.6.31-2.sng7.x86_64                                                                                                                                             25/28 
  Cleanup    : php56w-process-5.6.31-2.sng7.x86_64                                                                                                                                         26/28 
  Cleanup    : php56w-common-5.6.31-2.sng7.x86_64                                                                                                                                          27/28 
  Cleanup    : iSymphonyServerV3-fpbx-3.4.2.75-1.noarch                                                                                                                                    28/28 
warning: file /opt/isymphony3/server/modules/chat/plugins/com.xmlnamespace.panel.client.i18n.chat.en-us_1.0.0.jar: remove failed: No such file or directory
warning: file /opt/isymphony3/server/modules/chat/plugins/com.xmlnamespace.panel.admin.i18n.chat.en-us_1.0.0.jar: remove failed: No such file or directory
/opt/isymphony3/server /
Configuring SysV initscript..
Turning iSymphonyServerV3 on via chkconfig..
Launching iSymphonyServerV3 via service facilities..
Starting iSymphonyServerV3 (via systemctl):  [  OK  ]
/
  Verifying  : php56w-cli-5.6.32-1.sng7.x86_64                                                                                                                                              1/28 
  Verifying  : php56w-process-5.6.32-1.sng7.x86_64                                                                                                                                          2/28 
  Verifying  : iSymphonyServerV3-fpbx-3.5.1.24-1.noarch                                                                                                                                     3/28 
  Verifying  : php56w-xml-5.6.32-1.sng7.x86_64                                                                                                                                              4/28 
  Verifying  : php56w-common-5.6.32-1.sng7.x86_64                                                                                                                                           5/28 
  Verifying  : php56w-bcmath-5.6.32-1.sng7.x86_64                                                                                                                                           6/28 
  Verifying  : php56w-mbstring-5.6.32-1.sng7.x86_64                                                                                                                                         7/28 
  Verifying  : php56w-pdo-5.6.32-1.sng7.x86_64                                                                                                                                              8/28 
  Verifying  : php56w-mysqlnd-5.6.32-1.sng7.x86_64                                                                                                                                          9/28 
  Verifying  : php56w-gd-5.6.32-1.sng7.x86_64                                                                                                                                              10/28 
  Verifying  : php56w-intl-5.6.32-1.sng7.x86_64                                                                                                                                            11/28 
  Verifying  : php56w-ldap-5.6.32-1.sng7.x86_64                                                                                                                                            12/28 
  Verifying  : php56w-5.6.32-1.sng7.x86_64                                                                                                                                                 13/28 
  Verifying  : php56w-odbc-5.6.32-1.sng7.x86_64                                                                                                                                            14/28 
  Verifying  : php56w-mbstring-5.6.31-2.sng7.x86_64                                                                                                                                        15/28 
  Verifying  : php56w-xml-5.6.31-2.sng7.x86_64                                                                                                                                             16/28 
  Verifying  : php56w-mysqlnd-5.6.31-2.sng7.x86_64                                                                                                                                         17/28 
  Verifying  : php56w-common-5.6.31-2.sng7.x86_64                                                                                                                                          18/28 
  Verifying  : php56w-pdo-5.6.31-2.sng7.x86_64                                                                                                                                             19/28 
  Verifying  : php56w-odbc-5.6.31-2.sng7.x86_64                                                                                                                                            20/28 
  Verifying  : php56w-process-5.6.31-2.sng7.x86_64                                                                                                                                         21/28 
  Verifying  : php56w-cli-5.6.31-2.sng7.x86_64                                                                                                                                             22/28 
  Verifying  : php56w-ldap-5.6.31-2.sng7.x86_64                                                                                                                                            23/28 
  Verifying  : php56w-intl-5.6.31-2.sng7.x86_64                                                                                                                                            24/28 
  Verifying  : php56w-5.6.31-2.sng7.x86_64                                                                                                                                                 25/28 
  Verifying  : iSymphonyServerV3-fpbx-3.4.2.75-1.noarch                                                                                                                                    26/28 
  Verifying  : php56w-bcmath-5.6.31-2.sng7.x86_64                                                                                                                                          27/28 
  Verifying  : php56w-gd-5.6.31-2.sng7.x86_64                                                                                                                                              28/28 

Updated:
  iSymphonyServerV3-fpbx.noarch 0:3.5.1.24-1          php56w.x86_64 0:5.6.32-1.sng7                  php56w-bcmath.x86_64 0:5.6.32-1.sng7          php56w-cli.x86_64 0:5.6.32-1.sng7          
  php56w-common.x86_64 0:5.6.32-1.sng7                php56w-gd.x86_64 0:5.6.32-1.sng7               php56w-intl.x86_64 0:5.6.32-1.sng7            php56w-ldap.x86_64 0:5.6.32-1.sng7         
  php56w-mbstring.x86_64 0:5.6.32-1.sng7              php56w-mysqlnd.x86_64 0:5.6.32-1.sng7          php56w-odbc.x86_64 0:5.6.32-1.sng7            php56w-pdo.x86_64 0:5.6.32-1.sng7          
  php56w-process.x86_64 0:5.6.32-1.sng7               php56w-xml.x86_64 0:5.6.32-1.sng7             

Complete!
[root@freepbx ~]#

(Kate) #8

Hi,

Are there any options how I can solve this problem?

Thanks!


(Marbled) #9

Hi!

Looks like the update completed successfully, do you still have the problem?

DId you try running

yum-complete-transaction

as suggested by the error message?

Good luck and have a nice day!

Nick


(Kate) #10

Hi Nick,

I tried running
yum-complete-transaction
Also I have tried to running yum history redo last
I still have the problem.

Thank you!


(Marbled) #11

Hi Kate!

What do you get when you run yum update now and what problem are we talking about now, the RPM failure message of your first post or something else?

Good luck and have a nice day!

Nick


(Kate) #12

Hi Nick!

The main problem for me was with our Web Guid. When I tried to open Updates, I see some messages.

Please, see screenshot.

Thank you!

Kate


(Marbled) #13

Hi Kate!

What caused essentially the same problem for others were package updates which were resolved by running

yum update

What do you get now when you run yum update, can you please post it here?

There is also something else we can try, running a command similar (but not exactly identical since we don’t have it) to the one that failed.

Can you please run

/usr/bin/rpm -q --queryformat “%{NAME}.%{ARCH} %{VERSION}.%{RELEASE}\n” -a

and please post the result of this on pastebin.ca or pastebin.com and post the link they give you here?

(Please don’t post the results of this command here, it’s like 1600-1700 lines long…)

Good luck and have a nice day!

Nick


(Kate) #14

Hi Nick,

There is the result for

/usr/bin/rpm -q --queryformat "%{NAME}.%{ARCH} %{VERSION}.%{RELEASE}\n" -a

https://pastebin.ca/3904805

There is the result for

yum update

https://pastebin.ca/3904808

Thank you


(Marbled) #15

Hi Kate!

That RPM command seems to be fine…

As for yum update, you are getting the exact same output as earlier

ie

Do you get this over and over and over again each time you run yum update? What happens if you do a yum-complete-transaction --cleanup-only before doing a yum update?

There is a warning while updating the isymphony stuff but it seems to be handled properly…

Good luck and have a nice day!

Nick


(Kate) #16

Hi Nick!

Sorry, I have posted wrong result.

There is latest result for yum update

https://pastebin.ca/3905435

There is yum-complete-transaction --cleanup-only

https://pastebin.ca/3905436

Thank you!

Kate


(Marbled) #17

Hi Kate!

Did you try rebooting, this was required in this case for the same problem:

Please let me know…

Good luck and have a nice day!

Nick


(Kate) #18

Hi Nick,

After rebooting I got message “Can not Connect to Asterisk”.

Kate


(Daniel Friedman) #19

Hi @admin321,

Start the Asterisk manually: fwconsole stop && fwconsole start

Thank you,

Daniel Friedman
Trixton LTD.


(Kate) #20

Hi Daniel,

Now it is fine. Thank you for your help!

XXMP module is disabled. I tried to Upgrade to 14.0.1.5 and Enable, but I received the error.

How can I enable this module?

Kate