zokradonh / kopano-docker

Unofficial Kopano Docker images for all Kopano services.
MIT License
59 stars 37 forks source link

fix php version in kweb config #357

Closed fbartels closed 4 years ago

fbartels commented 4 years ago

Relates to https://github.com/zokradonh/kopano-docker/issues/343 https://github.com/zokradonh/kopano-docker/issues/342

fbartels commented 4 years ago

Login still fails (but it at least shows a webapp login page):

kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:18 +0100] "GET /webapp/ HTTP/1.1" 200 2314335
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:18 +0100] "GET /webapp/client/resources/css/external/login.css HTTP/1.1" 200 3902
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:18 +0100] "GET /webapp/client/resources/css/external/login.css.map HTTP/1.1" 200 2504
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:18 +0100] "POST /webapp/kopano.php?service=token HTTP/1.1" 500 0
kopano_webapp_1          | [ERROR 0 /webapp/kopano.php] PHP message: PHP Fatal error:  Uncaught Error: Wrong parameters for JsonException([string $message [, long $code [, Throwable $previous = NULL]]]) in /usr/share/kopano-webapp/server/includes/util.php:575
kopano_webapp_1          | Stack trace:
kopano_webapp_1          | #0 /usr/share/kopano-webapp/server/includes/util.php(575): Exception->__construct('JSON Error: - S...', 4, NULL, 'Some problem en...')
kopano_webapp_1          | #1 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(158): json_decode_data('token=eyJhbGciO...', true)
kopano_webapp_1          | #2 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(49): WebAppSession->checkForTimeout()
kopano_webapp_1          | #3 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(64): WebAppSession->__construct()
kopano_webapp_1          | #4 /usr/share/kopano-webapp/server/includes/core/class.webappauthentication.php(58): WebAppSession::getInstance()
kopano_webapp_1          | #5 /usr/share/kopano-webapp/server/includes/core/class.webappauthentication.php(444): WebAppAuthentication::getInstance()
kopano_webapp_1          | #6 /usr/share/kopano-webapp/server/includes/bootstrap.php(67): require_once('/usr/...
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:18 +0100] "GET /webapp/client/resources/images/loginbg_daybreak.jpg HTTP/1.1" 200 105681
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:18 +0100] "GET /webapp/client/resources/images/background.svg HTTP/1.1" 200 47662
kopano_webapp_1          | [ERROR 0 /webapp/kopano.php] PHP message: PHP Fatal error:  Uncaught Error: Wrong parameters for JsonException([string $message [, long $code [, Throwable $previous = NULL]]]) in /usr/share/kopano-webapp/server/includes/util.php:575
kopano_webapp_1          | Stack trace:
kopano_webapp_1          | #0 /usr/share/kopano-webapp/server/includes/util.php(575): Exception->__construct('JSON Error: - S...', 4, NULL, 'Some problem en...')
kopano_webapp_1          | #1 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(158): json_decode_data('fingerprint=552...', true)
kopano_webapp_1          | #2 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(49): WebAppSession->checkForTimeout()
kopano_webapp_1          | #3 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(64): WebAppSession->__construct()
kopano_webapp_1          | #4 /usr/share/kopano-webapp/server/includes/core/class.webappauthentication.php(58): WebAppSession::getInstance()
kopano_webapp_1          | #5 /usr/share/kopano-webapp/server/includes/core/class.webappauthentication.php(444): WebAppAuthentication::getInstance()
kopano_webapp_1          | #6 /usr/share/kopano-webapp/server/includes/bootstrap.php(67): require_once('/usr/...
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:19 +0100] "POST /webapp/kopano.php?service=fingerprint HTTP/1.1" 500 0
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:19 +0100] "POST /webapp/kopano.php?service=fingerprint&type=keepalive HTTP/1.1" 500 0
kopano_webapp_1          | [ERROR 0 /webapp/kopano.php] PHP message: PHP Fatal error:  Uncaught Error: Wrong parameters for JsonException([string $message [, long $code [, Throwable $previous = NULL]]]) in /usr/share/kopano-webapp/server/includes/util.php:575
kopano_webapp_1          | Stack trace:
kopano_webapp_1          | #0 /usr/share/kopano-webapp/server/includes/util.php(575): Exception->__construct('JSON Error: - S...', 4, NULL, 'Some problem en...')
kopano_webapp_1          | #1 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(158): json_decode_data('', true)
kopano_webapp_1          | #2 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(49): WebAppSession->checkForTimeout()
kopano_webapp_1          | #3 /usr/share/kopano-webapp/server/includes/core/class.webappsession.php(64): WebAppSession->__construct()
kopano_webapp_1          | #4 /usr/share/kopano-webapp/server/includes/core/class.webappauthentication.php(58): WebAppSession::getInstance()
kopano_webapp_1          | #5 /usr/share/kopano-webapp/server/includes/core/class.webappauthentication.php(444): WebAppAuthentication::getInstance()
kopano_webapp_1          | #6 /usr/share/kopano-webapp/server/includes/bootstrap.php(67): require_once('/usr/share/kopa...')
kopano_webapp_1          | #7...
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:19 +0100] "GET /webapp/client/resources/images/favicon.ico?kv2.2.0 HTTP/1.1" 200 1150
kopano_webapp_1          | 192.168.160.2 - - [10/Mar/2020:13:24:19 +0100] "GET /webapp/client/resources/images/favicon.ico?kv2.2.0 HTTP/1.1" 200 1150