Trouble installing OMV on pi4 : No access to GUI

  • I want to add the following.


    Yesterday during the day I could install and run everything, but because I want to start it from SSD I had to install it a lot of times.
    The problems started in the evening. That is when the troubles began and I couldn't start OMV5 again.
    So something happened during the day.


    Now I will go back to OMV4. I still have the image and this is working.

    Yes, it seems that something happened yesterday. We are all experiencing the exact same behavior: no access to the web gui and after setting a port in firstaid we get the 502 bad gateway nginx error. We used different raspbian busters lite images so the problem doesn't seem to be related to this.
    It happend yesterday during the day. Anyone knows of changes to omv 5 that were made yesterday maybe ?

  • Hey guys,


    i encountered the same problem with OMV 5.x on Armbian Buster (Kernel 4.14.y).


    It seems that during the installation process a file got missing or a service is not started correctly. I get the following error messages:

    Code: /var/log/nginx/openmediavault-webgui_error.log
    2019/12/26 17:39:29 [crit] 1803#1803: *1 connect() to unix:/run/php/php7.3-fpm-openmediavault-webgui.sock failed (2: No such file or directory) while connecting to upstream, client: ::ffff:127.0.0.1, server: openmediavault-webgui, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm-openmediavault-webgui.sock:", host: "127.0.0.1"

    I hope this information is in some way useful.


    Greetings Slam

  • I also want to add something. Before I left home I checked the time of my server and it was an hour behind. I think the timezone is incorrect or summertime is active.


    Maybe that is the cause of this problem?


    I installed NTP to set a timeserver and didn’t check what it said before I confirmed installation and it actually removed openmediavault package along a few other packages like chrony before installing NTP so I completely screwed up my installation. I didn’t think that another time server application was installed. Tomorrow I will reinstall my server and OMV5 and set the date and time so it will be correct and check whether that makes a difference. Will post results.

  • Just a note... When posting no output from a failed install, it doesn't help anything. Testing now since I wasn't do anything OMV yesterday including installing on RPis or reading the forum.

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Haven't tried the rpi yet but on a rock64, I had to do the following to fix the web interface (install script will do this as well).


    omv-salt deploy run nginx
    omv-salt deploy run phpfpm


    I will try the RPi4 in a little bit.

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Maybe it should be added to the manual for the time being.

    Good to hear. I already put it in the install script. So, no need to adjust the manual :) Still need to figure out what changed in the openmediavault package itself.

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • How do I apply the script? With wget -O? Or manually pasting it in the terminal

    Did you already follow the directions and are looking for a fix to the web interface issue? If so, just run the two commands I posted above. Otherwise, follow the directions in the guide again.

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thanks guys, the two commands get the web interface up and running. Good to know that the install script has been updated to reflect this. I still get the python 3 depreciation warnings for collections when I run each of the two commands so hoping these can be ignored? Happy for now :)

  • Hallo,


    After re-installing OMV5 it worked! Thanks!


    Now I have the problem, if I want to save a setting in the web-gui, I always get this error!




    Do you have an idea how to solve this?


    Best regards
    uwe from berlin/de

  • Haven't tried the rpi yet but on a rock64, I had to do the following to fix the web interface (install script will do this as well).


    omv-salt deploy run nginx
    omv-salt deploy run phpfpm


    I will try the RPi4 in a little bit.

    Happy new year to everybody!


    I'm the one who got hit by https://github.com/openmediavault/openmediavault/issues/457: NGinx wasn't available after dist-upgrading and changing a parameter. Recently I found the reason for the issue. By changing this single parameter, not only that parameter is changed, but the whole OMV config is merely rewritten. Expecially this hunk is of interest:


    It is from file /etc/nginx/sites-available/openmediavault-webgui: the config now refers to a socket file, which does not exist and hence nginx fails to run correctly. Running your two commands solves the issue permantly, as the socket file does now exists.


    However I'd expect that the Debian package too creates all socket files it potentially needs. I did not test yet w/ 5.2.2, but it failed w/ 5.2.1 and I don't see an commit on git, which promises a fix in 5.2.2. Are there plan to introduce the fix into the Debian packages too?

Participate now!

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