Usul 5.3.8-1 over Usul 5.3.7-1 just hosed my system drive...

  • System had been working great since upgrade about 2 months ago...


    Did the upgrade through OMVExtras GUI...First thing it said was COLORAMA was being removed.
    Then I had a banner at the top sayng to APPLY changes (I Did)...
    That left me with a dead GUI...Tried SSHing into it to issue reboot but would not do anything...
    Power button off...Then back on...Heard the beep and then tried to login...And got NGINX BAD GATEWAY...


    First problem I've had with OMV 5... Luckily I image with CLONEZILLA so 5.3.7-1 is being restored now...


    System is x86..


    Just thought I'd give a heads up on this...

  • I didn't see anything out of the ordinary. Upgrade went fine.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I must be a glutton for punishment...
    Ran it again over a perfectly good Usul 5.3.7-1 system...
    and it again broke the system. Unresponsive...
    System is a Dell Optiplex 320 with 4Gb of ram (3.14gb available)
    with a Core2 x6800 @2.93Ghz. See attachments...
    Ran OMV 4.x and OMV 5.x up to this just fine...


    That's enough torture for tonight...Now off to restore (again)...

  • votdev,


    A REALLY BIG THANK YOU...


    After I saw the second guy say his worked...I started investigating...
    Ran across a couple of other times this happened...It's most surely tied to the OMV 4 to OMV 5 upgrade...


    502 Bad Gateway nginx


    I had been trying all those commands but was still not working...I had also tried omv-firstaid for both the NIC and Http port number...
    Still was not working...


    THANKS for those two commands...
    I ran them both via SSH and rebooted... And I am back UP and running on
    Usul 5.3.8-1

  • I am having the same issue on two separate machines. I tried the two commands above and I still get the 502 Bad Gateway nginx page.


    The first command appears to have succedded however, the second command had the following output.


    • Offizieller Beitrag

    I am having the same issue on two separate machines. I tried the two commands above and I still get the 502 Bad Gateway nginx page.


    The first command appears to have succedded however, the second command had the following output.


    Please execute the following commands and post the output.


    Bash
    # omv-confdbadm read --prettify conf.system.notification.notification
    # omv-confdbadm read --prettify --filter '{"operator": "stringEquals", "arg0": "id", "arg1": "cronapt"}' conf.system.notification.notification


    But i bet you won't be able to do that because your database is corrupted.

  • Thanks for you response I just noticed the forum was back up. Here is the results of the two command above.


    PS: I can still access my shares just no UI.

  • You should log into the box via SSH or TTY and run one of the following commands:


    omv-salt deploy run nginx (this module was marked dirty during the upgrade) or deploy the whole system with omv-salt stage run deploy.

    After last update OMV 5 I cant get Web-gui with error: 502 bad gateway (nginx). Everything else seemed worked fine.After few days of strugling without forum you finally gave me solution! Second command of full deploy resolved my problem. Thanks once again. :):thumbup:

  • Please run the following command omv-confdbadm migrate conf_0.5.8 to fix your database.


    P.S.: It seems your system is really really old. Did you migrate it all the time from OMV 0.5?

    Didn't seem to like the command:


    root@omv-data:~# omv-confdbadm migrate conf_0.5.8

    usage: omv-confdbadm migrate [-h] id version

    omv-confdbadm migrate: error: argument id: No valid data model ID.

    root@omv-data:~#


    I have been using OMV for a while but surely I haven't been updating since 0.5. To be honest I don't recall which version I started with. I do recall I have had to start from scratch several times.

  • Try omv-confdbadm migrate conf 0.5.8.


    root@omv-data:~# omv-confdbadm migrate conf 0.5.8

    Running migration conf_0.5.8

    Running migration conf_0.5.15

    WARNING: The node 'transferlog' already exists at XPath '/config/services/ftp'.

    Running migration conf_0.5.26

    WARNING: The node 'apt' already exists at XPath '/config/system'.

    WARNING: The node 'distribution' already exists at XPath '/config/system/apt'.

    WARNING: The node 'proposed' already exists at XPath '/config/system/apt/distribution'.

    WARNING: The node 'partner' already exists at XPath '/config/system/apt/distribution'.

    Running migration conf_0.5.39

    WARNING: The node 'monitor' already exists at XPath '/config/services/smart'.

    Running migration conf_0.6

    WARNING: The node 'audit' already exists at XPath '/config/services/smb/shares/share'.

    Running migration conf_0.6.11

    WARNING: The node 'enable' already exists at XPath '/config/services/smb/shares/share'.

    Running migration conf_0.6.12

    Running migration conf_1.0.12

    Running migration conf_1.0.24

    Running migration conf_1.0.26

    WARNING: The node 'hidden' already exists at XPath '/config/system/fstab/mntent'.

    Running migration conf_1.0.29

    WARNING: The node 'pubkeyauthentication' already exists at XPath '/config/services/ssh'.

    Running migration conf_1.2

    Running migration conf_1.9

    Running migration conf_2.0.4

    Running migration conf_2.0.6

    WARNING: The node 'monitoring' already exists at XPath '/config/system'.

    WARNING: The node 'perfstats' already exists at XPath '/config/system/monitoring'.

    WARNING: The node 'enable' already exists at XPath '/config/system/monitoring/perfstats'.

    Running migration conf_2.0.8

    Running migration conf_3.0.9

    Running migration conf_3.0.11

    Running migration conf_3.0.12

    WARNING: The node 'proxy' already exists at XPath '/config/system/network'.

    WARNING: The node 'http' already exists at XPath '/config/system/network/proxy'.

    WARNING: The node 'enable' already exists at XPath '/config/system/network/proxy/http'.

    WARNING: The node 'host' already exists at XPath '/config/system/network/proxy/http'.

    WARNING: The node 'port' already exists at XPath '/config/system/network/proxy/http'.

    WARNING: The node 'username' already exists at XPath '/config/system/network/proxy/http'.

    WARNING: The node 'password' already exists at XPath '/config/system/network/proxy/http'.

    WARNING: The node 'https' already exists at XPath '/config/system/network/proxy'.

    WARNING: The node 'enable' already exists at XPath '/config/system/network/proxy/https'.

    WARNING: The node 'host' already exists at XPath '/config/system/network/proxy/https'.

    WARNING: The node 'port' already exists at XPath '/config/system/network/proxy/https'.

    WARNING: The node 'username' already exists at XPath '/config/system/network/proxy/https'.

    WARNING: The node 'password' already exists at XPath '/config/system/network/proxy/https'.

    WARNING: The node 'ftp' already exists at XPath '/config/system/network/proxy'.

    WARNING: The node 'enable' already exists at XPath '/config/system/network/proxy/ftp'.

    WARNING: The node 'host' already exists at XPath '/config/system/network/proxy/ftp'.

    WARNING: The node 'port' already exists at XPath '/config/system/network/proxy/ftp'.

    WARNING: The node 'username' already exists at XPath '/config/system/network/proxy/ftp'.

    WARNING: The node 'password' already exists at XPath '/config/system/network/proxy/ftp'.

    Running migration conf_3.0.15

    WARNING: The node 'dns' already exists at XPath '/config/system/network'.

    WARNING: The node 'hostname' already exists at XPath '/config/system/network/dns'.

    WARNING: The node 'domainname' already exists at XPath '/config/system/network/dns'.

    Running migration conf_3.0.23

    Running migration conf_3.0.37

    Running migration conf_3.0.38

    Running migration conf_3.0.68

    Running migration conf_4.0.6

    Running migration conf_4.0.17

    Running migration conf_5.0.0

    WARNING: The node 'timemachine' already exists at XPath '/config/services/smb/shares/share'.

    Running migration conf_5.0.3

    Running migration conf_5.2.0

Jetzt mitmachen!

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