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

    mapi-so-not-loaded-after-release-upgrade ubuntu18.04=>20.04

    Kopano WebApp
    2
    7
    450
    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.
    • gduran
      gduran last edited by

      After “do-release upgrade” to Ubuntu 20.04 webapp not running. Error: Not Found: PHP mapi extension not found. Upgrade results in PHP7.2 to PHP7.4. Webapp-3.5.10.2451+1401.0062e87-Ubuntu_18.04 installed.
      How to solve?

      dw2412 1 Reply Last reply Reply Quote 0
      • dw2412
        dw2412 @gduran last edited by dw2412

        @gduran
        seems that you’ve installed from packages, right? If you, please have a look at /etc/apt/ for kopano repository defintion first. Usually it will be disabled in Ubuntu Upgrade process and has to be reenabled again after updating its definition/url. After this, do an apt update and apt dist-upgrade to get latest packages for i.e. php-mapi.

        After that phpenmod mapi and systemctl restart apache2

        gduran 1 Reply Last reply Reply Quote 0
        • gduran
          gduran @dw2412 last edited by

          @dw2412
          Nope, I didn’t install from packages but downloaded the *.deb packages from download.kopano.io and installed using dpkg.

          dw2412 1 Reply Last reply Reply Quote 0
          • dw2412
            dw2412 @gduran last edited by dw2412

            @gduran
            OK. Do did you update them to 20.04 Version afterwards, too?

            I mean, is now PHP Mapi for php7.4 installed? If so, please try the phpenmod mapi thing and restart apache2 afterwards.

            Andreas

            gduran 1 Reply Last reply Reply Quote 0
            • gduran
              gduran @dw2412 last edited by

              @dw2412
              I’ve already tried that but when “apt install php7-mapi” I’ve got the response “php7-mapi is already the newest version (8.7.83.106.59c4d1516-0+58.1).”

              dw2412 1 Reply Last reply Reply Quote 0
              • dw2412
                dw2412 @gduran last edited by

                @gduran

                just saw - maybe not phpenmod mapi - phpenmod kopano and afterwards systemctl restart apache2

                If this does not make webapp work, create a file with phpinfo(); call inside and open it on your webserver using your browser. This should show which php version is really running… In case you’re using php fpm in apache - please restart the php fpm process instead of apache2.

                Andreas

                gduran 1 Reply Last reply Reply Quote 0
                • gduran
                  gduran @dw2412 last edited by

                  @dw2412
                  Thanks Adreas for your help but I decided to upgrade to core-10.0.1.32.8037834-Ubuntu_20.04-amd64 from core-8.7.83.106.b8890ad-Ubuntu_18.04-amd64 and webapp-5.0.0.187+1976.7f9980f-Ubuntu_20.04-all from webapp-3.5.10.2451+1401.0062e87-Ubuntu_18.04-all and that went successful. Although I had to run dpkg multiple times using --auto-deconfigure to get through but finally dpkg was successful and everything looks fine now. Even an old Zarafa Change Password plug-in is functional with this latest webapp version.
                  So the error forced me to upgrade to the latest version so I’m good to go for the years to come…
                  Thanks a lot again!

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