WebGUI unavailable

  • Hello!


    After taking an upgrade to my system recently, OMV's WebGUI is unavailable.
    My private mail box is spammed by the OMV system telling me something is wrong. Does anyone know what I should do to get the GUI up running?


    (Root login are disabled in the GUI, but I have an active user connected to the SSH and SUDO group.)



    FIRST EMAIL: [SERVERNAME] Monitoring restart -- Does not exist nginx


    SECOND EMAIL: [SERVERNAME] Monitoring alert -- Execution failed nginx

    There is obviously something wrong with nginx, but I need help to solve it...



    RUNNING COMMAND "systemctl status nginx.service"



    Thank you! :D

    • Official Post

    What version of OMV?

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • mumbedeus

    Added the Label OMV 5.x (beta)
    • Official Post

    as root:


    omv-salt deploy run nginx

    omv-salt deploy run phpfpm

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • as root:


    omv-salt deploy run nginx

    omv-salt deploy run phpfpm

    Thank you! I just ran the commands, but among all the green text, there was some processes that failed (red text). Look below.


    Part of output (the red text) with sudo omv-salt deploy run nginx with sudo user:


    When running sudo omv-salt deploy run phpfpm there was no red text - only blue and green. Nothing failed.


    Still I cannot access the GUI...


    Do you have an idea why nginx is failing?


    Mumbedeus

    • Official Post

    what is the output of:


    ls -ld /var/log/nginx

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    sudo mkdir /var/log/nginx

    sudo omv-salt deploy run nginx

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Is this just a temporary fix?

    It shouldn't have been. Run those commands one more time and then as root run: folder2ram -syncall

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    what is the output of:


    folder2ram -disablesystemd


    run the commands from above again


    folder2ram -enablesystemd

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I ran those four commands just now, and couldn't see anything fail during the prosess. However, the problem still exists, and I get the same two mail from the OMV-system (and WebGUI is gone):

    FIRST EMAIL: [SERVERNAME] Monitoring restart -- Does not exist nginx


    SECOND EMAIL: [SERVERNAME] Monitoring alert -- Execution failed nginx

    • Official Post

    what is the output of: journalctl -u nginx

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The output was much more longer than this, but all look the same:

  • Tonight I got this error by mail:

    Code
    touch: cannot touch '/var/log/cron-apt/log': No such file or directory
    /usr/sbin/cron-apt: 155: /usr/sbin/cron-apt: cannot create /var/log/cron-apt/log: Directory nonexistent
    /usr/sbin/cron-apt: 155: /usr/sbin/cron-apt: cannot create /var/log/cron-apt/log: Directory nonexistent
    /usr/sbin/cron-apt: 155: /usr/sbin/cron-apt: cannot create /var/log/cron-apt/log: Directory nonexistenttouch: cannot touch '/var/log/cron-apt/log': No such file or directory
    • Official Post

    Obviously something is deleting all of sub-directories in /var/log causing this problem. I would purge openmediavault-flashmemory and folder2ram, create the directories, and see if it works after reboot. If that is working, then re-install flashmemory.

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

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