no web-gui access after do normal stuff

    • Resolved
    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • no web-gui access after do normal stuff

      Hi there

      Just wondering is this a general problem with web-gui or just a problem of my constellation. After I set it up today in the mornig, everything was fine and running well. Made some users and shares, copy some bigger files to test. Buuum web-gui is gone!! Delete browser cache, rebooted, change port and tried everything out. No chance at all... login as root over SSH is fine.

      This ist the log:

      Shell-Script

      1. Last login: Thu Oct 11 23:59:12 2018 from 192.168.1.179
      2. root@omv:~# tail -n 25 /var/log/nginx/openmediavault-webgui_error.log
      3. 2018/10/11 08:21:33 [error] 927#0: *317 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: ::ffff:192.168.1.150, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-openmediavault-webgui.sock:", host: "192.168.1.130", referrer: "http://192.168.1.130/"
      4. 2018/10/11 08:21:34 [crit] 927#0: *317 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.1.150, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-openmediavault-webgui.sock:", host: "192.168.1.130", referrer: "http://192.168.1.130/"
      But there are errors from today morning time....

      Someone ideas?

      thanks in advance
      cracksilver
    • What is the output of:

      systemctl status nginx
      systemctl status php7.0-fpm
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • nginx status gave me this one:

      Shell-Script

      1. root@omv:~# service nginx status
      2. ● nginx.service - A high performance web server and a reverse proxy server
      3. Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
      4. Active: active (running) since Fre 2018-10-12 00:44:40 CEST; 1min 7s ago
      5. Process: 2908 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
      6. Process: 2911 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      7. Process: 2910 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      8. Main PID: 2915 (nginx)
      9. CGroup: /system.slice/nginx.service
      10. ├─2915 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
      11. ├─2916 nginx: worker process
      12. ├─2917 nginx: worker process
      13. ├─2918 nginx: worker process
      14. └─2919 nginx: worker process
      15. Okt 12 00:44:40 omv systemd[1]: Failed to read PID from file /run/nginx.pid: Invalid argument
      16. Okt 12 00:44:40 omv systemd[1]: Started A high performance web server and a reverse proxy server.
      Display All
    • cracksilver wrote:

      nginx status gave me this one:
      The service command isn't going to work for ever :)

      The log from your first post is still looking for the php5 fpm pid. Your configs need to be updated.

      omv-mkconf nginx
      omv-mkconf php-fpm
      systemctl restart nginx
      systemctl restart php7.0-fpm
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • looks like php problem:

      Source Code

      1. root@omv:~# omv-mkconf php-fpm
      2. ERROR: The script '/usr/share/openmediavault/mkconf/php-fpm' does not exist
      3. root@omv:~# systemctl restart nginx
      4. root@omv:~# systemctl restart php7.0-fpm
      5. Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service failed to load: No such file or directory.
    • My bad. I assumed you installed OMV 4.x since this was a fresh install. This is what you really need:

      omv-mkconf nginx
      omv-mkconf php5fpm
      touch /var/run/php5-fpm-openmediavault-webgui.sock
      systemctl restart nginx
      systemctl restart php5-fpm
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ... and see, it works again.

      Thank you very much for solving my problem. But where or what was the problem? Is this version of OMV not stable enough? I did realy nothing complex with this server. Just copied a few bis iso files around....

      Source Code

      1. root@omv:~# omv-mkconf nginx
      2. root@omv:~# omv-mkconf php5fpm
      3. root@omv:~# systemctl restart nginx
      4. root@omv:~# systemctl restart php5-fpm
    • OMV 3.x was always stable for me. Hard to say what happened. Seems like just the pid was missing but maybe the config needed updating. You didn't install any packages or updates?
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Strange but I guess it is possible. I see why you didn't choose OMV 4.x now - no i386 install media. You can upgrade to OMV 4.x though.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • good morning

      Yes, it is an old laptop I gave a new live for my music storage. I'm replacing my old synology (DS16+) with this. I know i's an old one, but it is the only thing I can do. Desktop is too slow on it.

      By the way, I made some copies tonight. The server is now running fine, including the web-gui.

      Thank you, have a good day.
      cracksilver

      The post was edited 1 time, last by cracksilver ().

    • New

      Hi all

      After doing nothing over the weekend (I went away) I have to say it works great. Access to Web-GUI still works and all syncs has done automaticly.

      Only mailmessage I got every morning is the follow:

      /etc/cron.daily/openmediavault-cron-apt:
      stdin: is not a tty

      Whatever it means...

      cracksilver
    • New

      Hi again

      i can't believe that. After install plex plugin same problem as I this thread started. No access to web-gui. just a blank site.

      Doing all this stuff doesn't help:

      Source Code

      1. root@omv:~# omv-mkconf nginx
      2. root@omv:~# omv-mkconf php5fpm
      3. root@omv:~# systemctl restart nginx
      4. root@omv:~# systemctl restart php5-fpm
      any idea?
    • New

      here the output:

      Source Code

      1. root@omv:~# systemctl status nginx
      2. ● nginx.service - A high performance web server and a reverse proxy server
      3. Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
      4. Active: active (running) since Don 2018-10-18 17:03:31 CEST; 12min ago
      5. Process: 2532 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
      6. Process: 2537 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      7. Process: 2536 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      8. Main PID: 2540 (nginx)
      9. CGroup: /system.slice/nginx.service
      10. ├─2540 nginx: master process /usr/sbin/nginx -g daemon on; master_pr...
      11. ├─2541 nginx: worker process
      12. ├─2542 nginx: worker process
      13. ├─2543 nginx: worker process
      14. └─2544 nginx: worker process
      15. Okt 18 17:03:31 omv systemd[1]: Failed to read PID from file /run/nginx.pid: ...nt
      16. Okt 18 17:03:31 omv systemd[1]: Started A high performance web server and a r...r.
      17. Hint: Some lines were ellipsized, use -l to show in full.
      Display All

      and

      Source Code

      1. root@omv:~# systemctl status php5-fpm
      2. ● php5-fpm.service - The PHP FastCGI Process Manager
      3. Loaded: loaded (/lib/systemd/system/php5-fpm.service; enabled)
      4. Active: active (running) since Don 2018-10-18 17:07:35 CEST; 10min ago
      5. Process: 2718 ExecStartPre=/usr/lib/php5/php5-fpm-checkconf (code=exited, status=0/SUCCESS)
      6. Main PID: 2722 (php5-fpm)
      7. Status: "Processes active: 0, idle: 2, Requests: 25, slow: 0, Traffic: 0req/sec"
      8. CGroup: /system.slice/php5-fpm.service
      9. ├─2722 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
      10. ├─2725 php-fpm: pool www
      11. └─2726 php-fpm: pool www
      12. Okt 18 17:07:35 omv systemd[1]: Started The PHP FastCGI Process Manager.
      Display All