Failed to prepare upgrade OMV 6.x -> 7.x (sudo omv-salt stage run deploy)

  • Sorry if this is the wrong forum section or a duplicate. I tried to find other users running into this problem, but without success.


    I wanted to upgrade my OMV 6.x to 7.x and started the steps as explained here, but already failed during the first command in step 5.

    Running sudo omv-salt stage run deploy returns

    I currently have a docker / portainer with jellyfin and paperless-ngx + redis running. This install was already made in OMV 5.x so I had to run the config changes during the last upgrade. I don't remember them exactly anymore, but everything worked out in the end.


    Can someone point me in the right direction for fixing this issue?

  • ryecoaaron

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    Post the output of: sudo omv-salt deploy run compose

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • This fails immediately

    Code
    $  sudo omv-salt deploy run compose
    debian:
        Data failed to compile:
    ----------
        Rendering SLS 'base:omv.deploy.compose.40dockerconfig' failed: could not find expected ':'
    [CRITICAL] Rendering SLS 'base:omv.deploy.compose.40dockerconfig' failed: could not find expected ':'
    • Offizieller Beitrag

    Not sure what is causing the issue but this should get you through the upgrade:

    sudo rm -f /srv/salt/omv/deploy/compose/40dockerconfig.sls

    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • Thank you so much. I ran the commands as proposed and then continued with the standard upgrade procedure and everything worked fine.


    • Offizieller Beitrag

    good to hear.

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

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

Jetzt mitmachen!

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