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

    • Offizieller Beitrag

    What version of OMV?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    Hat das Label OMV 5.x (beta) hinzugefügt.
    • Offizieller Beitrag

    as root:


    omv-salt deploy run nginx

    omv-salt deploy run phpfpm

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    • Offizieller Beitrag

    what is the output of:


    ls -ld /var/log/nginx

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    sudo mkdir /var/log/nginx

    sudo omv-salt deploy run nginx

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    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.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    what is the output of:


    folder2ram -disablesystemd


    run the commands from above again


    folder2ram -enablesystemd

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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

    • Offizieller Beitrag

    what is the output of: journalctl -u nginx

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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
    • Offizieller Beitrag

    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.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

Jetzt mitmachen!

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