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

    Webapp not working

    Kopano Groupware Core
    2
    4
    349
    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.
    • Eric
      Eric last edited by

      Hi,

      core-10.0.1.190.6d7b60b-Ubuntu_18.04-amd64
      webapp-4.0.2652+1554.1.e12d6a4-Ubuntu_18.04

      After new installation webapp does not work properly.
      After opening webapp screen kopano-server.service stops and syslog message:

      level=warning msg=“grapi: waiting for proxy rest*.sock files to appear” error=“stat /var/run/kopano-grapi: no such file or directory”
      level=warning msg=“grapi: waiting for proxy notify*.sock files to appear” error=“stat /var/run/kopano-grapi: no such file or directory”

      It seams grapi is missing?

      How can I fix this?

      Thanks

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

        Hi @Eric,

        grapi is part of our RestAPI and is not required to be installed or configured if you only want to use WebApp. Configuration of it is explained at https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-kopano-api

        I think your issue is routed in:

        @Eric said in Webapp not working:

        After opening webapp screen kopano-server.service stops

        Why is the kopano-server process stopping? What is it logging at/before the stop?

        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
        • Eric
          Eric last edited by

          OK,
          It seems the core installation does not create a database:

          This is what the log says:

          systemd[1]: Started Kopano Groupware Core Storage Server.
          Mar 3 17:22:32 sd-76157 kopano-server[18935]: Starting kopano-server version 10.0.1 (pid 18935 uid 0)
          Mar 3 17:22:33 sd-76157 kopano-server[18935]: Starting kopano-server version 10.0.1 (pid 18935 uid 999)
          Mar 3 17:22:33 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:22:53 sd-76157 kopano-server[18935]: message repeated 3 times: [ mysql_real_connect: Access denied for user ‘root’@‘localhost’]
          Mar 3 17:23:03 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:23:07 sd-76157 kopano-kapid[13114]: level=warning msg=“grapi: waiting for proxy notify*.sock files to appear” error=“stat /var/run/kopano-grapi: no such file or directory”
          Mar 3 17:23:07 sd-76157 kopano-kapid[13114]: level=warning msg=“grapi: waiting for proxy rest*.sock files to appear” error=“stat /var/run/kopano-grapi: no such file or directory”
          Mar 3 17:23:13 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:23:23 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:23:33 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:23:43 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:23:53 sd-76157 kopano-server[18935]: mysql_real_connect: Access denied for user ‘root’@‘localhost’
          Mar 3 17:24:03 sd-76157 kopano-server[18935]: Unable to connect to database: MYSQL not initialized
          Mar 3 17:24:03 sd-76157 kopano-server[18935]: Server shutdown complete.

          Btw, I tried on Ubuntu 18.04 and Debian 9.12.

          Regards,
          Eric

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

            @Eric yes, you need to configure credentials for the database first.

            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
            • First post
              Last post