Chat error on load

All around Zimbra Chat, give us your feedback, questions and ideas
Nik
Posts: 20
Joined: Fri Apr 21, 2017 7:14 am

Re: Chat error on load

Post by Nik »

joebitcoinorg wrote:After I completed steps up to 1.5 everything seems to be working. I don't use chat so I don't think I need it.
Thanks for writing up such great clear instructions here on Christmas to help us.
I had just ran some apt updates about a day ago. Maybe that's what it was from.
But I had also just added the PGP zimlet and was trying out the web user interface which I don't use all that often.

By the way thanks to you all for using and being involved with Zimbra. We have a great open source product here that gives and gives to everything we use it for.

Gratitude flows forth.
Regards,
Joe Baker
Hi joebitcoinorg,
If you are not using chat, you can run an easier way to block the error message.
Zimbra chat can be disabled using the following steps:

Enter the Zimbra Administration Console on your server.
Select the "Zimlet" button in the "Configure" section.
Highlight the com_zextras_chat_open component in the right pane.
Click on the "gear" button on the top-right corner of the pane and select the "Switch state" item (I'm not sure if I translated correctly from my Russian interface into English) .

This method does not required to install any additional modules and allow you to save your stock configuration of Zimbra.

Best regards,
Nikolay
Nik
Posts: 20
Joined: Fri Apr 21, 2017 7:14 am

Re: Chat error on load

Post by Nik »

Hello all,
I did some experiment to find the cause of this problem.
Maybe it would be interesting for someone.
This post was made only for information and a better understanding of the issue ....:)

So..
I have restored the Zimbra 8.8.15-patch2 (Centos 7) version from my archive and updated it up to 8.8.15-patch5 step by step as described on the https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15/P5 site.
Unfortunately, the 8.8.15-patch2 version was the last one in the archive, but I think that it doesn’t matter.
The following packages should be updated as the "yum check-update" command says:

zimbra-patch -> 8.8.15.1576149483.p5-1
zimbra-common-core-jar -> 8.8.15.1575620896-1
zimbra-common-core-libs -> 8.8.15.1574853769-1
zimbra-mbox-store-libs -> 8.8.15.1574853769-1
zimbra-mbox-war -> 8.8.15.1575620896-1
zimbra-mbox-admin-console-war -> 8.8.15.1570122119-1
zimbra-mbox-webclient-war -> 8.8.15.1572009012-1
zimbra-drive -> 1.0.13.1576152256
zimbra-core-components -> 2.0.1-1zimbra8.8b1
zimbra-openjdk -> 13.0.1-1zimbra8.8b1

After updating all packets except the last three the open-chat service worked fine as expected.
Interesting began later.

Updating the zimbra-core-components component also required updating the zimbra-openjdk package as a dependent.
After these two packages were installed, the Zimbra web interface blocked any logins, such as admin or any users ...
Restarting all Zimbra services or whole server was useless.

Only one zimbra-drive package remained uninstalled.
After it was installed the Zimbra web interface worked with no errors but the open-chat did not started.
This high probability experiment suggests that the error exists in the zimbra-core-components package.

We are waiting for changes from the developers.

Merry Xmas to all

Best regards,
Nikolay
Nik
Posts: 20
Joined: Fri Apr 21, 2017 7:14 am

Re: Chat error on load

Post by Nik »

Rony wrote:Alright, no problem, thank you for sharing your method.
Merry Xmas
:)
no problem
davestahr
Posts: 19
Joined: Sat Sep 13, 2014 1:27 am
Location: Nebraska
ZCS/ZD Version: 8.8.15_GA_3869.RHEL6_64_20190917004
Contact:

Re: Chat error on load

Post by davestahr »

Same problem here. CentOS 6, just upgraded to zcs-8.8.15_GA_3869.RHEL6_64.20190918004220 from zcs-8.7.0_GA_1659.RHEL6_64.20160628192545. (Yeah, yeah...been awhile....I wanted that chat feature!)

Should there be a server component running on the default xmpp port 5222?

# nmap (my server name) -p20-9999

Starting Nmap 5.51 ( http://nmap.org ) at 2020-01-05 23:45 CST
Nmap scan report for (my server name)
Host is up (0.000014s latency).
Not shown: 9960 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
110/tcp open pop3
143/tcp open imap
389/tcp open ldap
443/tcp open https
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
7025/tcp open vmsvc-2
7071/tcp open iwg1
7072/tcp open unknown
7073/tcp open unknown
7110/tcp open unknown
7143/tcp open unknown
7780/tcp open unknown
7993/tcp open unknown
7995/tcp open unknown
8443/tcp open https-alt

Nmap done: 1 IP address (1 host up) scanned in 0.42 seconds
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Chat error on load

Post by DualBoot »

Hello,

I encountered the same problem. I tried the simplest solution (apt purge and install) and it does not work.
My real though is that I am tired to struggle with that kind of problem which should not be happen, that is a pity.
So my solution was to let it uninstalled. I do not use the Zimbra Chat but I like to test the feature a software provides.
The Zimbra Chat is not mandatory and there is some better self-hosted solution (Mattermost), its only advantage relies on
the fact that it is already packaged.
Regards,
rport
Posts: 9
Joined: Fri Aug 11, 2017 8:10 am

Re: Chat error on load

Post by rport »

All,

I have a support contract with Zimbra and raised a ticket with them. The following suggestion from Zimbra resolved the issue for me (Zimbra 8.8.15 on Ubuntu 18)

mv /opt/zimbra/lib/ext/openchat/zal.jar /tmp
cp -rp /opt/zimbra/lib/ext/zimbradrive/zal.jar /opt/zimbra/lib/ext/openchat/zal.jar
su - zimbra
zmmailboxdctl restart

Perhaps that might help some folks with the same issue.

rp0rt
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Chat error on load

Post by DualBoot »

Well it seems Zimbra is unable to update zimbra-chat package itself :(
I will wait ... it is not a killer feature

Thank you for the post.
davestahr
Posts: 19
Joined: Sat Sep 13, 2014 1:27 am
Location: Nebraska
ZCS/ZD Version: 8.8.15_GA_3869.RHEL6_64_20190917004
Contact:

Re: Chat error on load

Post by davestahr »

rport wrote:All,
mv /opt/zimbra/lib/ext/openchat/zal.jar /tmp
cp -rp /opt/zimbra/lib/ext/zimbradrive/zal.jar /opt/zimbra/lib/ext/openchat/zal.jar
su - zimbra
zmmailboxdctl restart
rp0rt
YEAH! Thank you rp0rt! That worked like a charm.

FYI the port scan does now show two more ports that weren't previously there:

Code: Select all

PORT     STATE SERVICE
5222/tcp open  xmpp-client
5269/tcp open  xmpp-server
Also just for purposes of sharing info - here are the original files as were on my upgraded server:

Code: Select all

# ls -l /opt/zimbra/lib/ext/*/zal.jar
-rwxr-xr-x 1 root root 1254989 Jun  4  2019 /opt/zimbra/lib/ext/openchat/zal.jar
-rwxr-xr-x 1 root root  654426 Dec 12 06:11 /opt/zimbra/lib/ext/zimbradrive/zal.jar
romantix74
Posts: 21
Joined: Mon Oct 01, 2018 9:43 am

Re: Chat error on load

Post by romantix74 »

rport wrote:All,

I have a support contract with Zimbra and raised a ticket with them. The following suggestion from Zimbra resolved the issue for me (Zimbra 8.8.15 on Ubuntu 18)

mv /opt/zimbra/lib/ext/openchat/zal.jar /tmp
cp -rp /opt/zimbra/lib/ext/zimbradrive/zal.jar /opt/zimbra/lib/ext/openchat/zal.jar
su - zimbra
zmmailboxdctl restart

Perhaps that might help some folks with the same issue.

rp0rt
Many thanks RPORT, this is also works for me.
Nik
Posts: 20
Joined: Fri Apr 21, 2017 7:14 am

Re: Chat error on load

Post by Nik »

The latest P6 patсh does not fixed a problem with open-chat. I cheked it today.
Thanks RPORT, your post is also useful on Centos 7.
Post Reply