No Webgui after update 1.0.x->1.0.21

  • I had a running install of OMV, but after updating from 1.0.17/18/19 to 1.0.21 i got no access to the webgui any more.
    The webgui give me a empty page (incl source).


    /var/log/nginx/openmediavault-webgui_access.log

    Zitat

    ::ffff:192.168.0.123 - - [10/Oct/2014:01:39:05 +0200] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"


    NAS:~# ps -ef|grep nginx

    Zitat

    root 5196 1 0 01:31 ? 00:00:00 nginx: master process /usr/sbin/nginx
    www-data 5197 5196 0 01:31 ? 00:00:00 nginx: worker process
    www-data 5198 5196 0 01:31 ? 00:00:00 nginx: worker process
    www-data 5199 5196 0 01:31 ? 00:00:00 nginx: worker process
    www-data 5200 5196 0 01:31 ? 00:00:00 nginx: worker process
    root 5202 4196 0 01:31 pts/2 00:00:00 grep --color=auto nginx


    NAS:~# lsof -i :80

    Zitat

    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    nginx 6478 root 11u IPv6 20386 0t0 TCP *:http (LISTEN)
    nginx 6479 www-data 11u IPv6 20386 0t0 TCP *:http (LISTEN)
    nginx 6480 www-data 11u IPv6 20386 0t0 TCP *:http (LISTEN)
    nginx 6481 www-data 11u IPv6 20386 0t0 TCP *:http (LISTEN)
    nginx 6482 www-data 11u IPv6 20386 0t0 TCP *:http (LISTEN)


    php5-fpm shows no errors (also running) nothing at dmesg ....
    omv-firstaid - webgui - wont help (changed port for test, it works but also a empty page)


    for some reason /var/log/nginx/openmediavault-webgui_error.log is not generated any more (_access.log is working)
    last entry is this


    Zitat

    2014/09/26 11:46:58 [crit] 11071#0: *1 connect() to unix:/var/run/php5-fpm-openmediavault-webgui.sock failed (2: No such file or directory) while connecting to upstream, client: ::ffff:192.168.0.123, server: openmediavault-webgui, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-openmediavault-webgui.sock:", host: "192.168.0.99"


    /var/run/php5-fpm-openmediavault-webgui.sock is there and get removed if i stop nginx etc ..


    NAS:~# ls -l /var/run/
    ...

    Zitat

    -rw-r--r-- 1 root root 5 Okt 10 01:51 nginx.pid
    -rw-rw-rw- 1 root root 4 Okt 10 01:20 omv-engined.pid
    srw------- 1 www-data www-data 0 Okt 10 01:30 php5-fpm-openmediavault-extplorer.sock
    srw------- 1 www-data www-data 0 Okt 10 01:30 php5-fpm-openmediavault-webgui.sock
    -rw-r--r-- 1 root root 4 Okt 10 01:30 php5-fpm.pid
    srw-rw---- 1 www-data www-data 0 Okt 10 01:30 php5-fpm.sock


    reboot, update ... already tried, all services are working like a charm besides the webgui (nothing installed what would fetch the :80 web)


    any suggestions ?

    • Offizieller Beitrag

    Try to recreate the config files:


    Code
    # omv-mkconf nginx
    # omv-mkconf php5fpm


    Reboot the system or restart both services via CLI.


    Additionally you could try to start the OMV engine in foreground to see whether it starts and works.


    Code
    monit stop omv-engined
    omv-engined -d -f
  • fixed it,
    I installed omv in a vm and copied the /etc/php5-fpm/ folder to the NAS, reboot -> everything is working.


    I never changed anything at this configs, maybe there is/was an upgrade problem.

Jetzt mitmachen!

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