502 Bad Gateway nginx

  • Code
    2019/11/26 16:47:56 [error] 2597#2597: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /usr/share/php/openmediavault/config/databasebackend.inc:110
    Stack trace:
    #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
    #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
    #2 /usr/share/php/openmediavault/env.inc(42): OMV\Config\Database::getInstance()
    #3 /var/www/openmediavault/index.php(24): require_once('/usr/share/php/...')
    #4 {main}
    thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 110" while reading response header from upstream, client: 127.0.0.1, server: openmediavault-webgui, request: "HEAD / HTTP/1.1", upstream: "fastcgi://u
    nix:/var/run/php-fpm-openmediavault-webgui.sock:", host: "127.0.0.1"
  • Code
    2019/11/26 16:47:56 [error] 2597#2597: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /usr/share/php/openmediavault/config/databasebackend.inc:110
    Stack trace:
    #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
    #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
    #2 /usr/share/php/openmediavault/env.inc(42): OMV\Config\Database::getInstance()
    #3 /var/www/openmediavault/index.php(24): require_once('/usr/share/php/...')
    #4 {main}
    thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 110" while reading response header from upstream, client: 127.0.0.1, server: openmediavault-webgui, request: "HEAD / HTTP/1.1", upstream: "fastcgi://u
    nix:/var/run/php-fpm-openmediavault-webgui.sock:", host: "127.0.0.1"

    The package php-xml is still not installed.

  • root@storage:/var/log/nginx# apt-get install php-xml
    Чтение списков пакетов… Готово
    Построение дерева зависимостей
    Чтение информации о состоянии… Готово
    Уже установлен пакет php-xml самой новой версии (2:7.3+69).
    Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.


    Already installed

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!