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

    SLES 12 SP3 - Webapp - config.php is missing

    Kopano WebApp
    2
    4
    715
    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.
    • gssd
      gssd last edited by

      hi,

      i newly installed Kopano 8.5.5. Everything works so far except i can’t reach Webapp. Apache allways give me “config.php is missing”

      It makes no difference if i try to connect via http://localhost/webapp or http://IP-Adress/webapp. The Error is the same.
      I checked, and find the config.php in /etc/kopano/webapp and /usr/share/kopano-webapp

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

        The config should be here: /etc/kopano/webapp/config.php
        The webapps : /usr/share/kopano-webapp/ and has a symlink config.php to /etc/kopano/webapp/config.php

        What does the webserver errorlog tel you.

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

          yes, the config isn’t missing at all, it resides in the mentioned directory.

          the apache errorlog logs nothing in the moment i try to access webapp.
          Maybe i should raise the loglevel.

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

            maybe its because of you configured a hostname and your testing with :
            http://localhost/webapp or http://IP-Adress/webapp.
            run apache2ctl -S to have a look at your apache config.

            and tail -f *.log in the apache webfolder then try again.
            I think you hitting a vhost misconfiguration and you request is ending up in a unconfigured vhost. aka the ip default.

            I made this script (below) on debian but you can adopt it for sles.
            https://github.com/thctlo/debian-scripts/blob/master/setup-apache2-vhost-defaults.sh
            basicly it does the follow, for every ip create a ip vhost. then create a namebase host of the previous ip host.

            You should see something like this in the end, ( localhost as example )
            127.0.0.1:80 is a NameVirtualHost
            default server 127.0.0.1 (/etc/apache2/sites-enabled/000-localhost.conf:2)
            port 80 namevhost 127.0.0.1 (/etc/apache2/sites-enabled/000-localhost.conf:2)
            port 80 namevhost 127.0.0.1 (/etc/apache2/sites-enabled/000-localhost.conf:19)
            alias localhost
            alias [::1]
            alias localhost-ip6
            alias ip6-loopback
            alias localhost.localdomain

            i hope this helps a bit in finding your problem.

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