Login not possible
-
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
-
We still couldn’t figure out a solution - any suggestions? Thanks!
-
@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.
-
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/”); -
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.
- get
-
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.
-
@culturebase
Perfect!