502 Bad Gateway Web gui

  • Yes.

    I think its done?


  • It have a few erros:


    But when i run dpkg -l | grep openm it says im 4 now?



  • The Gui still gives me 502 btw.

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

    So i was trying to run this again, no errors this time, but did not fix my problem.


    then i used "omv-firstaid" again cleared everything, did not fix my problem.


    It still refuse me to enter the control planel in "omv-firstaid" with port 80.
    "ERROR: [Errno 111] Connection refused
    root@openmediavault:~#"


    Thoughts?

  • I wouldn't have run those commands again. If a package is fully installed, it will have 'ii' in the left column. I would start by removing the plex plugin and then try to finish.


    apt-get remove openmediavault-plexmediaserver
    apt-get -f install

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • This is my result from those 2 lines.

  • You really need to stop running the next command when you get an error in the first command.


    groupadd --system openmediavault-config
    apt-get -f install

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Im sorry..
    But IT WORKED DUDE YOUR A GOD! <3 <3 <3


    I can Connect to my server now with web Gui !!!


    One thing tho it says this:



    Dont want to mess any more up do i just run the "Omv-initsystem" ?

  • You don't need to run that. What is the output of: dpkg -l | grep openm

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Its this :


    Code
    root@openmediavault:~# dpkg -l | grep openm
    iF  openmediavault                      4.1.12                           all          openmediavault - The 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
    rc  openmediavault-plexmediaserver      3.8.2                            all          OpenMediaVault Plex Media Server plugin
    root@openmediavault:~#
  • omv-extras didn't upgrade. Fix it with


    wget -O - http://omv-extras.org/install | bash

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • It makes 1 error



    EDIT: It updated after a reboot.

  • Reboot and run the command again. The system needs to be rebooted anyway.

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • This is my new output:



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


    But i cant install plex or update in the Web gui, i get this error



  • Remember how I said the package has to have 'ii' in the left column? Your openmediavault package has 'iF' which means it needs to be fixed. apt-get -f install should do that. And please use docker for plex instead of the plugin. Here is the video on how to do that - Installation and Setup Videos - Beginning, Intermediate and Advanced

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Sorry, Im really trying my best here :(
    I really appreciate your help!


    Code
    root@openmediavault:~# apt-get -f install
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
    root@openmediavault:~#

    Thanks i'll take a look at the video when this is over :D

  • Run the command it recommended dpkg --configure -a and then post the output of dpkg -l | grep openm again

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Allmost full "ii" Thats a good thing right :D?

    Code
    root@openmediavault:~# dpkg -l | grep openm
    ii  openmediavault                      4.1.12                           all          openmediavault - The open network attached storage solution
    ii  openmediavault-keyring              1.0                              all          GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-omvextrasorg         4.1.11                           all          OMV-Extras.org Package Repositories for OpenMediaVault
    rc  openmediavault-plexmediaserver      3.8.2                            all          OpenMediaVault Plex Media Server plugin
    root@openmediavault:~#
  • Allmost full "ii" Thats a good thing right :D?

    The 'r' in the plex status means removed. So, that is ok. If you aren't going to use the plex plugin, you can purge it to get rid of that.


    apt-get purge openmediavault-plexmediaserver

    omv 6.0.34-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.1.1 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Its updating now!


    Holy shit, thank you so much! <3


    I hope all my noob questions will help someone else.


    Is it possible to donate to OMV?


    - About the "rc openmediavault-plexmediaserver" do you recommend remove it?
    Im just affraid to do it if i cant get my plex up and running again with the "docker" i have no clue what it is, but i will watch the video.
    What is the diffrence with "docker" and the plex plugin?

Participate now!

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