Mail reply - HTTP 500 Internal Server Error


  • Hi,

    I have a problem with reply to mail, it fail with HTTP 500 Internal Server Error.

    Sending new email work fine.

    Im using kopano-webapp 3.5.4-1.3 on openSUSE-Tumbleweed. Any suggestion how to solve ?
    Thanks.

    Error from nginx log:

    2020/10/28 00:08:49 [error] 259#259: *204 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /usr/share/kopano-webapp/server/includes/core/class.operations.php:4442
    Stack trace:
    #0 /usr/share/kopano-webapp/server/includes/core/class.operations.php(2748): Operations->convertInlineImage(Resource id #103)
    #1 /usr/share/kopano-webapp/server/includes/modules/class.createmailitemmodule.php(180): Operations->submitMessage(Resource id #87, '\x00\x00\x00\x00\x1A\xD61\xAB\x92dMQ\xA9\xDE\xFD...', Array, Array, Array, Array, false, false, false, false)
    #2 /usr/share/kopano-webapp/server/includes/modules/class.itemmodule.php(202): CreateMailItemModule->save(Resource id #87, '\x00\x00\x00\x00\x1A\xD61\xAB\x92dMQ\xA9\xDE\xFD...', '\x00\x00\x00\x00\x1A\xD61\xAB\x92dMQ\xA9\xDE\xFD...', Array)
    #3 /usr/share/kopano-webapp/server/includes/core/class.jsonrequest.php(57): ItemModule->execute()
    #4 /usr/share/kopano-webapp/kopano.php(145): JSONRequest->execute('{"zarafa":{"cre...')
    #5 {main}
      thrown in /usr/share/kopano-webapp/serve" while reading response header from upstream, client: 10.10.1.11, server: kopano.server.com, request: "POST /kopano.php?subsystem=webapp_1603839984773 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "kopano.server.com", referrer: "https://kopano.server.com/"
    

  • Hi,
    i dont search issue history carefully first time. But im found a solution by installing php7-dom package.
    Thanks.