Another "502 Bad Gateway" error after upgrading to OMV7 on Raspberry Pi

  • Hi, I got the same "502 Bad Gateway" error after upgrading to OMV7 on my Raspberry Pi when trying to login using the web page. But I'm also unable to log in using SSH. It will not accept the password.


    What option do I have to fix this?


    Thanks in advance.

  • mbourd25

    Added the Label resolved
  • Hi, just to let everyone know I ran the fix6to7upgrade script from web site https://github.com/OpenMediaVa…-Developers/installScript and ran the wget script command directly on the Raspberry Pi, sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash and everything is fixed now.


    Thanks to everyone who created this script.

    Hi, I am sorry, but how exactly did you execute this command? Connected your Rpi to a monitor + keyboard?

  • Hi, I am sorry, but how exactly did you execute this command? Connected your Rpi to a monitor + keyboard?

    Answering my own question here.


    1. Yes, need to connect Rpi to a monitor+keyboard.

    2. Run this command as root:


    wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/fix6to7upgrade | bash


    This fixed the WebGUI 502 -Bad Gateway Error.


    3. To fix SSH login faliure, follow instructions in below forum post.


    Code
    https://forum.openmediavault.org/index.php?thread/51682-upgrade-to-omv-6-7-failed/&postID=383872#post383872

Participate now!

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