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?

    • Official Post

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

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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 ':'
    • Official Post

    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.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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.


    • Official Post

    good to hear.

    omv 7.7.0-2 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.1 | kvm 7.0.17 | compose 7.3.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

Participate now!

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