502 bad gateway

  • Hi,

    I have tried multiple times installing OMV following the file provided in the website and get the above error when accessing into the GUI.


    Hardware:

    Pi 3 b+

    32 Gib SD card

    ethernet connection

    Process:

    -downloaded raspbian lite.
    -did checks on the sd and on the Raspbian lite version as per the PDF.
    -used etcher to install raspbian
    -created file SSH
    -Plugged in the SD card and updated , upgraded and removed the 99 default file as per the doc.
    -Run the script of installation.
    When all test are run, consistently I get errors on the PHP


    ----------

    ID: test_phpfpm_service_config

    Function: cmd.run

    Name: php-fpm7.3 --test

    Result: False

    Comment: Command "php-fpm7.3 --test" run

    Started: 16:14:45.242010

    Duration: 458.987 ms

    Changes:

    ----------

    pid:

    27596

    retcode:

    -4

    stderr:

    stdout:

    ----------

    ID: restart_phpfpm_service

    Function: service.running

    Name: php7.3-fpm

    Result: False

    Comment: One or more requisite failed: omv.deploy.phpfpm.default.t est_phpfpm_service_config

    Started: 16:14:45.994466

    Duration: 0.136 ms

    Changes:

    ----------

    ID: monitor_phpfpm_service

    Function: module.run

    Name: monit.monitor

    Result: False

    Comment: One or more requisite failed: omv.deploy.phpfpm.default.r estart_phpfpm_service

    Started: 16:14:46.020913

    Duration: 0.133 ms

    Changes:



    I have tried several times with two different SDs with same result leading me to not being able to access to the GUI.

    Is there anything I am doing wrong?


    Thank you

  • I saw the following post and tried the following as it is the same issue I was having but does not seem to work.

    "502 Bad Gateway - nginx" on raspberry pi 4 | php7.3-fpm.service not running

    I did sudo mkdi /var/run/php but got that this file was already there.
    Then I did omv-salt deploy run phpfpm

    and got the following


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!