Error when applying config / omv-salt stage run prepare

  • Hi All

    I've suddenly started getting errors when trying to apply pending config changes in the Web UI.

    Running Debian 11.5

    Code
    ii  openmediavault                       6.0.42-2                         all          openmediavault - The open network attached storage solution
    ii  openmediavault-cputemp               6.1.1                            all          cpu temperature plugin for openmediavault
    ii  openmediavault-filebrowser           6.0.3-1                          all          openmediavault File Browser plugin
    ii  openmediavault-flashmemory           6.2                              all          folder2ram plugin for openmediavault
    ii  openmediavault-keyring               1.0                              all          GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-omvextrasorg          6.1.1                            all          OMV-Extras.org Package Repositories for OpenMediaVault
    ii  openmediavault-resetperms            6.0.2                            all          Reset Permissions
    ii  openmediavault-rsnapshot             6.0.2                            all          OpenMediaVault rsnapshot backup plugin.
    Code
    jinja2 3.1.2
    MarkupSage 2.1.1

    This is the error when applying changes:



    I get this error with omv-salt stage run prepare:


    I have a feeling I've done this by installing Flask, which I've now removed.

    Any ideas what the issue could be?


    TIA


    Si

  • Isn't this saying these weren't installed via pip?


    Code
    simebaby@nc11-omv:/etc/openmediavault $ sudo pip uninstall Jinja2
    Found existing installation: Jinja2 2.11.3
    Not uninstalling jinja2 at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'Jinja2'. No files were found to uninstall.
    simebaby@nc11-omv:/etc/openmediavault $ sudo pip uninstall MarkupSafe
    Found existing installation: MarkupSafe 1.1.1
    Not uninstalling markupsafe at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'MarkupSafe'. No files were found to uninstall.
    • Official Post

    Package names are case senstive.

    sudo pip uninstall jinja2

    sudo apt-get install python3-jinja2 python3-markupsafe

    omv 6.9.0-1 Shaitan | 64 bit | 6.2 proxmox kernel

    plugins :: omvextrasorg 6.3.1 | kvm 6.2.16 | compose 6.10.3 | cputemp 6.1.3 | mergerfs 6.3.7


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


    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!