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

    Login not possible

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

      Hi,

      we’ve installed the newest version of kopano on a nginx server and are now having trouble continuing because the login doesn’t work.
      When entering username and password, the user ist correctly authenticated according to the log, but nothing else happens and the login page shows up again with no difference.

      Any ideas what the problem might be? Any help would be highly appreciated, thanks!

      Best, Alex

      Culturebase 1 Reply Last reply Reply Quote 0
      • Culturebase
        Culturebase @Culturebase last edited by

        We still couldn’t figure out a solution - any suggestions? Thanks!

        umgfoin 1 Reply Last reply Reply Quote 0
        • umgfoin
          umgfoin @Culturebase last edited by

          @culturebase
          Ideas we do have, but you have the logfiles…
          If nothing obvious is visible, you could increase the log-level in config.php:

          define('LOG_USER_LEVEL', LOGLEVEL_xxx);
          

          ++umgfoin.

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

            Unfortunately, we don’t have logfiles either for the kopano-webapp. We have created a directory /var/log/kopano-webapp and given full access to the user www-data. The user can place files into the directory, but no logfile is written. The settings in /etc/kopano/webapp/config.php are:
            define(“LOG_USER_LEVEL”, LOGLEVEL_DEBUG);
            define(“LOG_USERS”, “testuser@domain.de”);
            define(“LOG_FILE_DIR”, “/var/log/kopano-webapp/”);

            umgfoin 1 Reply Last reply Reply Quote 0
            • umgfoin
              umgfoin @Culturebase last edited by

              @culturebase

              OK,
              you probably have PHP-open_basedir restrictions set.

              Read 6.54. Log errors and 6.55. Debug.php file

              Keep it simple and try with these settings:

              config.php:

              define('LOG_USER_LEVEL', LOGLEVEL_DEBUG);
              define(define('LOG_USERS', '');
              define(define('LOG_FILE_DIR', '');
              [...]
              ini_set("log_errors", true);
              error_reporting(E_ALL);
              
              • get debug.php.dist
              • copy to webapp_root (location of config.php)
              • rename to debug.php

              debug.php:

              define("DEBUG_LOADER", LOAD_RELEASE);
              

              This should create the debug-log as debug.txt in webapp_root.

              ++umgfoin.

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

                Thanks a lot for your suggestions - with your help we managed to solve the problems. We received the errors:

                Warning: session_start(): Cannot find save handler 'memcached' - session startup failed in /usr/share/kopano-webapp/server/includes/core/class.webappsession.php
                on line 83
                Warning: session_start(): Cannot find save handler 'memcached' - session startup failed in /usr/share/kopano-webapp/server/includes/core/class.encryptionstore.php
                on line 195
                

                After installing php-memcached everything worked fine.

                umgfoin 1 Reply Last reply Reply Quote 0
                • umgfoin
                  umgfoin @Culturebase last edited by

                  @culturebase
                  Perfect!

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