502 Bad Gateway Web gui

    • OMV 4.x
    • Resolved
    • Upgrade 3.x -> 4.x
    • Other than the network settings, it is pretty safe. Even the network settings would just change where you find it.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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? :(
    • R0vsvamp wrote:

      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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • R0vsvamp wrote:

      So what do you suggest i try to do?
      Use omv-firstaid and use 80 when it asks what port.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Try this then:
      omv-mkconf nginx
      omv-mkconf php-fpm
      systemctl restart nginx
      systemctl restart php7.0-fpm
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Dont seem to work it says this:

      Source Code

      1. root@openmediavault:~# omv-mkconf nginx
      2. root@openmediavault:~# omv-mkconf php-fpm
      3. ERROR: The script '/usr/share/openmediavault/mkconf/php-fpm' does not exist
      4. root@openmediavault:~# systemctl restart nginx
      5. Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
      6. root@openmediavault:~# systemctl restart php7.0-fpm
      7. Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service failed to load: No such file or directory.
      8. root@openmediavault:~#
    • 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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Okey, thanks for letting me know .


      Source Code

      1. root@openmediavault:~# dpkg -l | grep openm
      2. iF openmediavault 3.0.99 all Open network attached storage solution
      3. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      4. iU openmediavault-omvextrasorg 3.4.32 all OMV-Extras.org Package Repositories for OpenMediaVault
      5. iU openmediavault-plexmediaserver 3.8.2 all OpenMediaVault Plex Media Server plugin
      6. root@openmediavault:~#
      I guess is says im still on 3 ?
    • R0vsvamp wrote:

      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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Is says this :)

      Source Code

      1. root@openmediavault:~# cat /etc/apt/sources.list /etc/apt/sources.list.d/openmediavault.list
      2. #
      3. # deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150629-08:52]/ jessie contrib main non-free
      4. #deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150629-08:52]/ jessie contrib main non-free
      5. deb http://ftp.dk.debian.org/debian/ jessie main
      6. deb-src http://ftp.dk.debian.org/debian/ jessie main
      7. deb http://security.debian.org/ jessie/updates main contrib non-free
      8. deb-src http://security.debian.org/ jessie/updates main contrib non-free
      9. # jessie-updates, previously known as 'volatile'
      10. deb http://ftp.dk.debian.org/debian/ jessie-updates main contrib non-free
      11. deb-src http://ftp.dk.debian.org/debian/ jessie-updates main contrib non-free
      12. deb http://packages.openmediavault.org/public erasmus main
      13. # deb http://downloads.sourceforge.net/project/openmediavault/packages erasmus main
      14. ## Uncomment the following line to add software from the proposed repository.
      15. # deb http://packages.openmediavault.org/public erasmus-proposed main
      16. # deb http://downloads.sourceforge.net/project/openmediavault/packages erasmus-proposed main
      17. ## This software is not part of OpenMediaVault, but is offered by third-party
      18. ## developers as a service to OpenMediaVault users.
      19. # deb http://packages.openmediavault.org/public erasmus partner
      20. # deb http://downloads.sourceforge.net/project/openmediavault/packages erasmus partner
      21. root@openmediavault:~#
      Display All
    • How did you upgrade from 3 -> 4? Did you use omv-release-upgrade? Nothing is upgraded.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

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