Beiträge von dandan

    Hi
    Same problem. I wrote a reply with my environment and summary at https://forum.openmediavault.org/index.php/SearchResult/1777880/?highlight=.
    In my case, replacing the line fastcgi_pass $socket; makes the OMV4 gui to stop working. I did not reset the system, just restarted nginx and php7.0-fpm

    Hi. Same for meI have not been able to find info on how to solve it


    My environment:

    • Odroid HC1 (new, just received last week). Installed old SATA
    • OMV4 specific image from 2018-06-03. (Reinstalled a few times, to try to have nginx clean and )running
    • Language set automatically to Spanish (in Spain)
    • Updates installed
    • Nginx 4.0.2 and Mysql 4.1.1 installed

    System use:

    • folder for computer backup
    • web server for home use (intranet).

    Challenges:

    • SMB performance initially bad. iperf showed 113Mbps. Reached Gbps only with new UTP cable (OMV4 default settings had nothing to do with the performance)
    • Web server. NOT WORKING for php, looks good with test html file. Tied both with www on SATA disk (/srv/dev-disk-by-label-HC1/www/) and at default path (/var/www/html/)

    Debug info:

    • getting '502 bad gateway nginx 1.10.3'
    • nginx server access log showing '502'
    • nginx server errors log showing 'unix:var/run/fpm-.sock failed (2 no such file or directory) while conneting to upstream, client (my_IP)...
    • Looking at '/etc/nginx/nginx.conf' , there are three 'includes

    include /etc/nginx/modules-enabled/*.conf;
    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;

    • Looking at '/etc/nginx/sites-enabled/zzz-omv-nginx', there is some text to highlight: 'set socket "unix:/var/run/fpm-.sock";' (7th line), which seems to be the same path of the error seen in 'error log', and seems to lack some random text after 'fpm-'. Probably (not sure how it works) the same as the access an the error logs.
    • content of 'sites available':

    server {


      listen 80;
      listen [::]:80;
      set $root_path "/srv/dev-disk-by-label-HC1/www";
      root $root_path;
      index index.html index.php;
      set $socket "unix:/var/run/fpm-.sock";
      location ~ \.php$ {
      include snippets/fastcgi-php.conf;
      fastcgi_pass $socket;
      }
      access_log /var/log/nginx/c519329a-5310-4e09-a3c8-a7f52249a982-access.log;
      error_log /var/log/nginx/c519329a-5310-4e09-a3c8-a7f52249a982-error.log;
      large_client_header_buffers 4 8k;
    }


    It seems someting is not being generated


    I think I am close, but I don't get it
    Thanks for any help