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

    Hat das Thema freigeschaltet.
  • macom

    Hat das Label OMV 7.x (Beta) hinzugefügt.
  • macom

    Hat das Thema freigeschaltet.
  • johnroe

    Hat das Label gelöst hinzugefügt.
  • 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?

    • Offizieller Beitrag

    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 6.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

    Zitat


    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.

    • Neu
    • Offizieller Beitrag

    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.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    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 :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!