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.

502 Bad Gateway Web gui
-
- OMV 4.x
- resolved
- Upgrade 3.x -> 4.x
- R0vsvamp
-
-
Try omv-firstaid from the command line as root.
-
I have that open now, im a noob at linux so i might need some more guidance.
Can i screw anything up in there or can i just go ham and try clear stuff?
-
-
Other than the network settings, it is pretty safe. Even the network settings would just change where you find it.
-
I cant even find the right port when i type in "netstat -a"
root@openmediavault:~# ERROR: [Errno 111] Connection refusedSo 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?
-
I don't understand. What port are you looking for?
-
-
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?
-
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.
-
So what do you suggest i try to do?
-
-
So what do you suggest i try to do?
Use omv-firstaid and use 80 when it asks what port.
-
ERROR: [Errno 111] Connection refused
root@openmediavault:~#This is what is says when i try to do that.
-
Try this then:
omv-mkconf nginx
omv-mkconf php-fpm
systemctl restart nginx
systemctl restart php7.0-fpm -
-
Dont seem to work it says this:
Coderoot@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:~#
-
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
-
Okey, thanks for letting me know .
Coderoot@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 ?
-
-
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
-
Is says this
Code
Display Moreroot@openmediavault:~# cat /etc/apt/sources.list /etc/apt/sources.list.d/openmediavault.list # # deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150629-08:52]/ jessie contrib main non-free #deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150629-08:52]/ jessie contrib main non-free deb http://ftp.dk.debian.org/debian/ jessie main deb-src http://ftp.dk.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free # jessie-updates, previously known as 'volatile' deb http://ftp.dk.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.dk.debian.org/debian/ jessie-updates main contrib non-free deb http://packages.openmediavault.org/public erasmus main # deb http://downloads.sourceforge.net/project/openmediavault/packages erasmus main ## Uncomment the following line to add software from the proposed repository. # deb http://packages.openmediavault.org/public erasmus-proposed main # deb http://downloads.sourceforge.net/project/openmediavault/packages erasmus-proposed main ## This software is not part of OpenMediaVault, but is offered by third-party ## developers as a service to OpenMediaVault users. # deb http://packages.openmediavault.org/public erasmus partner # deb http://downloads.sourceforge.net/project/openmediavault/packages erasmus partner root@openmediavault:~#
-
How did you upgrade from 3 -> 4? Did you use omv-release-upgrade? Nothing is upgraded.
-
-
Yes i typed "omv-release-upgrade" - and i was looking at it took like 10 minuts?
Want me to try type it again?
-
Want me to try type it again?
Yes.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!