Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Syntax Error in python-mapi

    Kopano Groupware Core
    2
    6
    797
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yythoss
      yythoss last edited by

      I did the last update from Kopano and discovered the following error:

        Aktualisieren: python-mapi-8.5.2.0-11.1.x86_64                                                                                                       17/60
      /var/tmp/rpm-tmp.sDCIey: Zeile 2: Syntaxfehler beim unerwarteten Wort `then'
      /var/tmp/rpm-tmp.sDCIey: Zeile 2: `if test "$1" -ge 1; then /sbin/service "kopano-dagent" restart; fiif test "$1" -ge 1; then /sbin/service "kopano-spooler" restart; fi'
      Warnung: %post(python-mapi-8.5.2.0-11.1.x86_64) Scriptlet fehlgeschlagen, Beenden-Status 2
      Non-fatal POSTIN scriptlet failure in rpm package python-mapi-8.5.2.0-11.1.x86_64
      

      Also the Startscript for Kopano-Search return not [OK]

      [root@server ~]# /etc/init.d/kopano-search stop
      Stopping kopano-search:                                    [  OK  ]
      [root@server ~]# /etc/init.d/kopano-search start
      Starting kopano-search:
      

      The kopano-presence has the same problem:

      [root@server ~]# /etc/init.d/kopano-presence stop
      Stopping kopano-presence:                                  [  OK  ]
      [root@server ~]# /etc/init.d/kopano-presence start
      Starting kopano-presence:
      
      

      If I take a look into the processlist, both running:

      [root@server ~]# ps aux |grep kopano-search
      kopano   27546  0.0  0.6 407176 20596 ?        Sl   09:20   0:00 /usr/bin/python2 /usr/sbin/kopano-search
      kopano   27548  0.0  0.5 404828 17520 ?        S    09:20   0:00 /usr/bin/python2 /usr/sbin/kopano-search
      kopano   27549  0.0  0.4 407176 15752 ?        S    09:20   0:00 /usr/bin/python2 /usr/sbin/kopano-search
      root     27755  0.0  0.0 103348   880 pts/0    S+   09:25   0:00 grep kopano-search
      
      [root@server ~]# ps aux |grep kopano-presence
      kopano   28013  0.0  0.6 479868 19584 ?        Sl   09:29   0:00 /usr/bin/python2 /usr/sbin/kopano-presence -c /etc/kopano/presence.cfg
      root     28019  0.0  0.0 103348   880 pts/0    S+   09:29   0:00 grep kopano-presence
      

      THX

      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano last edited by

        Hi @yythoss ,

        I see you are running an rpm based distro, but which one? Local tests showed no problems when upgrading.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • yythoss
          yythoss last edited by

          Sorry!

          It is CentOS 6

          Linux server 2.6.32-696.20.1.el6.x86_64 #1 SMP Fri Jan 26 17:51:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

          1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels Kopano last edited by

            Ok, I was able to reproduce the upgrade issue for python-mapi and created a ticket for this https://jira.kopano.io/browse/KC-1054

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

            1 Reply Last reply Reply Quote 0
            • yythoss
              yythoss last edited by yythoss

              Today I have install Version 8.5.3.0 and it is the same Error:

                Aktualisieren: python-mapi-8.5.3.0-18.1.x86_64                                                                                                                                                         22/76
              /var/tmp/rpm-tmp.CGcJwu: Zeile 2: Syntaxfehler beim unerwarteten Wort `:'
              /var/tmp/rpm-tmp.CGcJwu: Zeile 2: `if test "$1" -ge 1; then /sbin/service "kopano-dagent" restart; fi : # rpm expansion guard'
              Warnung: %post(python-mapi-8.5.3.0-18.1.x86_64) Scriptlet fehlgeschlagen, Beenden-Status 2
              Non-fatal POSTIN scriptlet failure in rpm package python-mapi-8.5.3.0-18.1.x86_64
              
              1 Reply Last reply Reply Quote 0
              • yythoss
                yythoss last edited by

                After last Update, everything works fine.
                THX

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post