502 Bad Gateway Web gui

  • Hi i just upgraded from omv 3 to 4, when i try to connect to the web gui i get 502 bad gateway :( ?
    I can go on putty and connect to my server and my shared folders with LAN works too.
    Please help. ?(

    • Offizieller Beitrag

    Try omv-firstaid from the command line as root.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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

    Other than the network settings, it is pretty safe. Even the network settings would just change where you find it.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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 cant even find the right port when i type in "netstat -a" :(
    root@openmediavault:~# ERROR: [Errno 111] Connection refused


    So i cant use the "configure web control panel"..


    I have tryed to clear all in omv-firstaid with no luck.


    Anything else i can try or is my server just Rip? :(

    • Offizieller Beitrag

    I don't understand. What port are you looking for?

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • When i type omv-firstaid and select nr2 (Configure web control panel) - it says "Please enter the port to access the control panel via HTTP"


    So i guess im looking for the port my server is current useing?

    • Offizieller Beitrag

    So i guess im looking for the port my server is current useing?

    Port 80 is what it defaults to. The fact that netstat isn't finding that port in use makes sense since your web server config is in a bad state.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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

    So what do you suggest i try to do?

    Use omv-firstaid and use 80 when it asks what port.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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

    Try this then:
    omv-mkconf nginx
    omv-mkconf php-fpm
    systemctl restart nginx
    systemctl restart php7.0-fpm

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • Dont seem to work it says this:


    Code
    root@openmediavault:~# omv-mkconf nginx
    root@openmediavault:~# omv-mkconf php-fpm
    ERROR: The script '/usr/share/openmediavault/mkconf/php-fpm' does not exist
    root@openmediavault:~# systemctl restart nginx
    Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
    root@openmediavault:~# systemctl restart php7.0-fpm
    Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service failed to load: No such file or directory.
    root@openmediavault:~#
    • Offizieller Beitrag

    Just a note... When a command fails, don't run the next one.


    You must still be on OMV 3.x. I'm guessing your upgrade didn't finish. What is the output of: dpkg -l | grep openm

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • Okey, thanks for letting me know .



    Code
    root@openmediavault:~# dpkg -l | grep openm
    iF  openmediavault                      3.0.99                           all          Open network attached storage solution
    ii  openmediavault-keyring              1.0                              all          GnuPG archive keys of the OpenMediaVault archive
    iU  openmediavault-omvextrasorg         3.4.32                           all          OMV-Extras.org Package Repositories for OpenMediaVault
    iU  openmediavault-plexmediaserver      3.8.2                            all          OpenMediaVault Plex Media Server plugin
    root@openmediavault:~#

    I guess is says im still on 3 ?

    • Offizieller Beitrag

    I guess is says im still on 3 ?

    Yep. What is the output of: cat /etc/apt/sources.list /etc/apt/sources.list.d/openmediavault.list

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • Is says this :)


    • Offizieller Beitrag

    How did you upgrade from 3 -> 4? Did you use omv-release-upgrade? Nothing is upgraded.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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

    Want me to try type it again?

    Yes.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!