Web UI giving "502 Bad Gateway" error after upgrading to OMV7

  • Hi. I just upgraded to OMV7 and I cannot login. When trying to submit the login form, it gave 502 error code right away.


    I guess it is PHP problem. I see that OMV is using php7.4 in the nginx config, but php7.4 does not exist in OMV7.

    Is it just me with this problem?


  • macom

    Approved the thread.
  • macom

    Added the Label OMV 7.x (Beta)
  • macom

    Approved the thread.
  • johnroe

    Added the Label resolved
  • Here we go... +1

    I just upgraded to OMV7

    How? And why?

    I see that OMV is using php7.4

    OMV6 uses it.

    OMV7 uses php8


    If your upgrade was ok, it should be correct.

  • How? And why?

    Was it not ready yet?

    I saw someone posted it on reddit and I tried it right away. Thought it is ready already.


    Maybe I read too fast lol.


    OMV6 uses it.

    OMV7 uses php8


    If your upgrade was ok, it should be correct.

    It was okay, except for nvidia, but I solved the nvidia part.

    After finished upgrading, I can see nginx config still using php7.4 instead of php8.2.

    Luckily simply running omv-salt stage run deploy fixed the issue for me.

  • Was it not ready yet?

    I saw someone posted it on reddit and I tried it right away. Thought it is ready already.


    Maybe I read too fast lol.

    Do you see the red Beta on the name?


    I really love those internet ninjas that post everything just to be glorified as the supreme know-it-all.

    Read it, the poster of that info on Reddit.

    If things weren't working, would he also come to the rescue?


    Glad it worked out for you, specially since I believe you didn't made a backup of the OS prior to upgrade, correct?

    • Official Post

    Maybe I read too fast lol.

    That's how it is. If you carefully read the link posted by the supreme know-it-all of reddit you will realize that you have become an "intrepid user". ;)

  • Worked for me as well. Thanks !

    OMV 7.x | Intel Celeron J3455 | 16Go RAM | USB2 32Go | HDD 3x4TO

  • omv-salt stage run deploy


    did'nt work for me...


    there is also a strange thing:


    using firstaid i set a fixed IP4 Adress, Gatreway and DNS to avoid connection problems.

    These settings were ignored and the HC4 is booting on DHCP


    i always get

    Quote


    dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

    when i try to upgrade...

    when i execute the command, it tries to configures rysylog and after 30sec tge hc4 reboots...


    --------------------

    maybee this helps to solve the problem?


  • Hello,


    I just updated from OMV6 to OMV7 by using the upgrade command as a root under PuTTY.

    I get 502 : Bad Gateway as an error.

    Came here and typed

    Code
    omv-salt stage run deploy

    Nothing is happening under PuTTy, do I have to wait ?


    Thanks

  • Thanks for share good advice.

  • bonjour, moi aussi depuis la mise à jour omv7.. 502 bad Gâteway...malgré tout j ai accès à mes fichiers, photos etc .. par file browser, smb ..

    Une solution merci ?

  • how can i fix this?

    Search the forum for fix6to7 script

  • Thank you Soma.

    But it didn't solve my problem.

    I have now access to the web interface, but I still have version 6 plugins.

    Any ideas?

    • Official Post

    I have now access to the web interface, but I still have version 6 plugins.

    Any ideas?

    Run the fix6to7upgrades script. Search the forum for it.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.7 | compose 7.6.7 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    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!

  • Any ideas?

    Have you refreshed the browser cache?

    Or tried with a incognito/private page?



    Output of:

    head -3 /usr/sbin/omv-mkaptidx

  • I solve my problem with this command


    head -3 /usr/sbin/omv-mkaptidx.real

    .real? I don't know why, if you have an explanation.


    And now, i see omv 7 plugins.


    Thank you Soma :)

Participate now!

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