Forums

Resolved
0 votes
The Kopano team has discovered two critical issues that could lead to data loss or corruption. They are urging all users to upgrade to Kopano 8.5.8 as soon as possible.

A knowledgebase ariticle has been created and verified for upgrading Kopano on ClearOS 7 from 8.4.5 to 8.5.8. It is available here.

Regards.

B.
Friday, April 20 2018, 07:48 PM
Share this post:
Responses (15)
  • Accepted Answer

    Robert
    Robert
    Offline
    Wednesday, May 02 2018, 11:20 AM - #Permalink
    Resolved
    0 votes
    Hi,

    I want to thank Ben for his help. Everything is up running again. Great and fast support!

    Thank you.

    Best wishes,

    Robert
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Tuesday, May 01 2018, 06:45 PM - #Permalink
    Resolved
    0 votes
    Dear Ben,

    I submitted the ticket. I have an active subscription (until Jan 2019), which licence key is also in the webconfig. Though, I additionally have an inactive licence (former Zarafa licence), which might cause the problem. I only need one subscription right now. Maybe the removal of the inactive subscription might solve it?

    Thank you very much.

    Best wishes,

    Robert
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 01 2018, 06:22 PM - #Permalink
    Resolved
    0 votes
    Ya...you haven't upgraded Kopano versions. Perhaps your subscription has expired?

    Feel free to open a support ticket here:

    https://secure.clearcenter.com/portal/ticket.jsp


    And I'll make sure you can get the update.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Tuesday, May 01 2018, 06:15 PM - #Permalink
    Resolved
    0 votes
    Dear Ben,

    Thank you for your quick reply. I got:

    Mon Apr 30 03:33:01 2018: [error  ] [22565] ECChannel::HrSetCtx(): cannot open key file
    Mon Apr 30 03:33:01 2018: [error ] [22565] Error reloading SSL context
    Mon Apr 30 04:42:52 2018: [ notice] [22565] POP3/IMAP Gateway will now exit
    Mon Apr 30 04:42:52 2018: [ notice] [15894] Starting kopano-gateway version 8.4.5.0 (pid 15894)
    Tue May 1 04:43:33 2018: [ notice] [15894] POP3/IMAP Gateway will now exit
    Tue May 1 04:43:33 2018: [ notice] [12582] Starting kopano-gateway version 8.4.5.0 (pid 12582)
    Tue May 1 11:32:38 2018: [ notice] [12582] POP3/IMAP Gateway will now exit
    Tue May 1 11:32:38 2018: [ notice] [11505] Starting kopano-gateway version 8.4.5.0 (pid 11505)
    Tue May 1 11:37:04 2018: [ notice] [11505] POP3/IMAP Gateway will now exit


    Am I wrong or should this be a higher version than 8.4.5.0 now? I did the upgrade as you adviced and there are no updates anymore with:

    ENABLE_BETA=True yum upgrade "kopano-*" "lib" "python"

    Is something missing?

    Thank you for your help.

    Best wishes,

    Robert
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 01 2018, 06:06 PM - #Permalink
    Resolved
    0 votes
    Robert,

    Can you pick one service to restart and let's get some more log data:

    systemctl restart kopano-gateway.service
    cat /var/log/kopano/gateway.log


    B.
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Tuesday, May 01 2018, 05:53 PM - #Permalink
    Resolved
    0 votes
    Dear Ben,

    I applied the patch and now kopano is not working anymore. kopano-server runs and I can login the webapp, but

    kopano-dagent
    kopano-spooler
    kopano-seach
    kopano-imap

    is not working anymore. I did the upgrade as adviced on the link.

    What can be wrong?

    Thank you for your help.

    Best wishes,

    Robert

    Edit:
    The kopano-spooler log says:
    Tue May 1 11:32:54 2018: [ notice] [11678] Starting kopano-spooler version 8.4.5.0 (pid 11678)
    Tue May 1 11:32:54 2018: [error ] [11678] gsoap connect: ()
    Tue May 1 11:32:54 2018: [error ] [11678] M4LMsgServiceAdmin::ConfigureMsgService() MSGServiceEntry failed 80040115: network error
    Tue May 1 11:32:54 2018: [crit ] [11678] CreateProfileTemp(): ConfigureMsgService failed 80040115: network error
    Tue May 1 11:32:54 2018: [warning] [11678] CreateProfileTemp failed: 80040115: network error
    Tue May 1 11:32:54 2018: [error ] [11678] Unable to open admin session. Error 0x80040115
    Tue May 1 11:32:54 2018: [warning] [11678] Server connection lost. Reconnecting in 3 seconds...
    Tue May 1 11:36:55 2018: [warning] [11678] Still waiting for 0 thread(s) to exit.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 08:20 PM - #Permalink
    Resolved
    0 votes
    I didn't know this, but looks like Kopano moved away from having default config files being copied to /etc/kopano/ after 8.5.5:

    https://documentation.kopano.io/kopano_changelog/kc.html#kopano-core-8-5

    All the defaults can be found in /usr/share/doc/kopano/example-config/

    B
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 07:27 PM - #Permalink
    Resolved
    0 votes
    -------- UPDATE ----------


    Copied the following files


    cp /usr/share/doc/kopano/example-config/dagent.cfg /etc/kopano/
    cp /usr/share/doc/kopano/example-config/monitor.cfg /etc/kopano/
    cp /usr/share/doc/kopano/example-config/search.cfg /etc/kopano/


    And there error disappeared and the error in webconfig is also gone.

    Looks like there is some gone wrong with the .cfg files after update

    -------------------------

    Ben,

    Which .cfg files should be in /etc/kopano

    It looks that i'm missing some file, for example "spooler.cfg"

    I see this is the spooler.log
    Sat Apr 21 20:18:08 2018: [error  ] [19531] gsoap connect: ()
    Sat Apr 21 20:18:08 2018: [error ] [19531] virtual HRESULT M4LMsgServiceAdmin::ConfigureMsgService(const MAPIUID*, ULONG_PTR, ULONG, ULONG, const SPropValue*): MSGServiceEntry failed: network error (80040115)
    Sat Apr 21 20:18:08 2018: [crit ] [19531] CreateProfileTemp(): ConfigureMsgService failed 80040115: network error
    Sat Apr 21 20:18:08 2018: [warning] [19531] CreateProfileTemp failed: 80040115: network error
    Sat Apr 21 20:18:08 2018: [error ] [19531] Unable to open admin session: network error (80040115)
    Sat Apr 21 20:18:09 2018: [error ] [19531] gsoap connect: ()
    Sat Apr 21 20:18:09 2018: [error ] [19531] virtual HRESULT M4LMsgServiceAdmin::ConfigureMsgService(const MAPIUID*, ULONG_PTR, ULONG, ULONG, const SPropValue*): MSGServiceEntry failed: network error (80040115)
    Sat Apr 21 20:18:09 2018: [crit ] [19531] CreateProfileTemp(): ConfigureMsgService failed 80040115: network error
    Sat Apr 21 20:18:09 2018: [warning] [19531] CreateProfileTemp failed: 80040115: network error
    Sat Apr 21 20:18:09 2018: [error ] [19531] Unable to open admin session: network error (80040115)
    Sat Apr 21 20:18:09 2018: [warning] [19531] Still waiting for 0 thread(s) to exit.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 07:16 PM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    That's a new one for me.

    Looks like there's a sample config in /usr/share/doc/kopano/example-config/presence.cfg that you could move over.

    Did kopano-presence get pulled in as a dependency? I don't believe that's required for Kopano-core/Webapp...I think it's only for Web meetings.

    If it wasn't a dependency, just remove the pkg.

    B.

    Ben,

    I just checked the updates, but it was not an dependency.
    Dependencies Resolved

    =========================================================================================================================================================
    Package Arch Version Repository Size
    =========================================================================================================================================================
    Installing:
    kopano-common x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 28 k
    replacing libkchl0.x86_64 8.4.5.0-33.1
    Updating:
    kopano-backup x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 39 k
    kopano-client x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 387 k
    kopano-contacts x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 42 k
    kopano-dagent x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 146 k
    kopano-gateway x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 137 k
    kopano-ical x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 131 k
    kopano-lang x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 64 k
    kopano-monitor x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 59 k
    kopano-presence x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 22 k
    kopano-search x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 50 k
    kopano-server x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 326 k
    kopano-server-packages x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 9.4 k
    kopano-spooler x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 95 k
    kopano-utils x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 214 k
    kopano-webapp noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 5.1 M
    kopano-webapp-lang noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 386 k
    kopano-webapp-plugin-contactfax noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 15 k
    kopano-webapp-plugin-filepreviewer noarch 2.0.0.15-11.2 private-clearcenter-kopano-basic-testing 2.4 M
    kopano-webapp-plugin-folderwidgets noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 23 k
    kopano-webapp-plugin-gmaps noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 15 k
    kopano-webapp-plugin-pimfolder noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 13 k
    kopano-webapp-plugin-quickitems noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 37 k
    kopano-webapp-plugin-titlecounter noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 8.5 k
    kopano-webapp-plugin-webappmanual noarch 3.4.11.1367-55.1 private-clearcenter-kopano-basic-testing 8.7 k
    libical-zarafa1 x86_64 1.0.1-3.2 private-clearcenter-zarafa-community-testing 172 k
    libkcarchiver0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 100 k
    libkcarchivercore0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 89 k
    libkcfreebusy0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 55 k
    libkcicalmapi0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 108 k
    libkcinetmapi0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 203 k
    libkcmapi0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 113 k
    libkcserver0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 641 k
    libkcsoap0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 256 k
    libkcssl0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 40 k
    libkcsync0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 30 k
    libkcutil0 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 124 k
    libmapi1 x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 191 k
    libvmime-kopano1 x86_64 0.9.2-14.2 private-clearcenter-kopano-basic-testing 770 k
    libvmime_zarafa7-0 x86_64 0.9.1+svn603-17.2 private-clearcenter-zarafa-community-testing 754 k
    libzcp_common_mapi0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 110 k
    libzcp_common_service0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 14 k
    libzcp_common_ssl0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 20 k
    libzcp_common_util0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 119 k
    libzcp_pydirector0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 6.1 k
    python-Flask x86_64 0.10.1-2.4 private-clearcenter-kopano-basic-testing 201 k
    python-Jinja2 noarch 2.7.3-2.4 private-clearcenter-zarafa-community-testing 336 k
    python-MarkupSafe x86_64 0.23-2.4 private-clearcenter-zarafa-community-testing 31 k
    python-itsdangerous noarch 0.24-9.4 private-clearcenter-zarafa-community-testing 22 k
    python-kopano x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 205 k
    python-mapi x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 370 k
    python-sleekxmpp noarch 1.1.11-9.2 private-clearcenter-zarafa-community-testing 539 k
    python-tlslite noarch 0.4.6-2.1 private-clearcenter-zarafa-community-testing 165 k
    python-xapian x86_64 1.2.21-7.1 private-clearcenter-zarafa-community-testing 377 k
    Installing for dependencies:
    libgsoap-kopano-2_8_62 x86_64 2.8.62-1.1 private-clearcenter-kopano-basic-testing 276 k
    Updating for dependencies:
    php-mapi x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 190 k

    Transaction Summary
    =========================================================================================================================================================
    Install 1 Package (+1 Dependent package)
    Upgrade 53 Packages (+1 Dependent package)
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 07:13 PM - #Permalink
    Resolved
    0 votes
    That's a new one for me.

    Looks like there's a sample config in /usr/share/doc/kopano/example-config/presence.cfg that you could move over.

    Did kopano-presence get pulled in as a dependency? I don't believe that's required for Kopano-core/Webapp...I think it's only for Web meetings.

    If it wasn't a dependency, just remove the pkg.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 06:39 PM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    Patrick,

    Thanks for the link QC...fixed it.

    In your case, you should disable the Zarafa repos during any yum command:

    --disablerepo=private-clearcenter-zarafa-community,private-clearcenter-zarafa-community-testing


    B


    Too late ;-)


    In the upgrade description is a typo:

     [root@system]# cat /var/clearos/system-database/kopano


    must be

     [root@system]# cat /var/clearos/system_database/kopano
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 06:37 PM - #Permalink
    Resolved
    0 votes
    - The file presence.cfg is missing in /etc/kopano and therefor is kopano-presence not starting

    - in webconfig there is an error.
    https://preview.ibb.co/kA8n6x/2018_04_21_20_32_15_pdebrabander_nl_Kopano_Basic.png
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 06:34 PM - #Permalink
    Resolved
    0 votes
    Patrick,

    Thanks for the link QC...fixed it.

    In your case, you should disable the Zarafa repos during any yum command:

    --disablerepo=private-clearcenter-zarafa-community,private-clearcenter-zarafa-community-testing


    B
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 06:15 PM - #Permalink
    Resolved
    0 votes
    Ben,

    After upgrading i have the following remarks:

    - Is see with the upgrade still some packages for Zarafa.
    Are they still needed ? since Zarafa is replaced by Kopano

     libvmime-kopano1                x86_64 0.9.2-14.2        private-clearcenter-kopano-basic-testing     770 k
    libvmime_zarafa7-0 x86_64 0.9.1+svn603-17.2 private-clearcenter-zarafa-community-testing 754 k
    libzcp_common_mapi0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 110 k
    libzcp_common_service0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 14 k
    libzcp_common_ssl0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 20 k
    libzcp_common_util0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 119 k
    libzcp_pydirector0 x86_64 7.2.6.10-3.1 private-clearcenter-zarafa-community-testing 6.1 k
    python-Flask x86_64 0.10.1-2.4 private-clearcenter-kopano-basic-testing 201 k
    python-Jinja2 noarch 2.7.3-2.4 private-clearcenter-zarafa-community-testing 336 k
    python-MarkupSafe x86_64 0.23-2.4 private-clearcenter-zarafa-community-testing 31 k
    python-itsdangerous noarch 0.24-9.4 private-clearcenter-zarafa-community-testing 22 k
    python-kopano x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 205 k
    python-mapi x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 370 k
    python-sleekxmpp noarch 1.1.11-9.2 private-clearcenter-zarafa-community-testing 539 k
    python-tlslite noarch 0.4.6-2.1 private-clearcenter-zarafa-community-testing 165 k
    python-xapian x86_64 1.2.21-7.1 private-clearcenter-zarafa-community-testing 377 k
    Installing for dependencies:
    libgsoap-kopano-2_8_62 x86_64 2.8.62-1.1 private-clearcenter-kopano-basic-testing 276 k
    Updating for dependencies:
    php-mapi x86_64 8.5.8.2-27.1 private-clearcenter-kopano-basic-testing 190 k
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 21 2018, 03:39 PM - #Permalink
    Resolved
    0 votes
    The link is not working.
    I think it should be this one: LINK
    The reply is currently minimized Show
Your Reply