Webapp not working
-
Hi,
core-10.0.1.190.6d7b60b-Ubuntu_18.04-amd64
webapp-4.0.2652+1554.1.e12d6a4-Ubuntu_18.04After 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
-
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?
-
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 -
@Eric yes, you need to configure credentials for the database first.