Connect to Kopano Core



  • Another issue I am facing:
    Webapp is not able to connect to core at login. Although the socket (/var/run/kopano/server.sock) is created with user and group kopano.

    I only can connect to core, when using this in webapp config.php:

    define(“DEFAULT_SERVER”, “http://localhost:236/kopano”);

    server.cfg

    server_pipe_name        = /var/run/kopano/server.sock
    server_pipe_priority    = /var/run/kopano/prio.sock
     server_tcp_enabled     = yes
     server_tcp_port                = 236
    
    
    

    Server 8.7.82.153.351e03dda-0+345.1
    Webapp: 3.5.10.2410+1354.1



  • Hi @mcdaniels,
    can you check your filesystem permissions for /var/run/kopano/server.sock after kopano-server has started?
    There’s a problem in current community-builds related to public access-permissions for kopano-sockets on some systems. Ref. here.
    Quick workaround:
    Manually reset permissions after kopano-server startup with chmod 766 /var/run/kopano/server.sock
    ++umgfoin.



  • @umgfoin: Will have to build a new testmachine, when I have got time to do so.

    I’ll report back here, when done.


Log in to reply