upgrade done, WebGui requiring changes to be applied, generating long error message

  • hello all


    I had waited too long to upgrade from OMV 4..

    Started yesterday and ... went to 5, then 6.

    thanks to a lot of messages read on the forum, it worked +/- ...


    6 is installed, is accessible via CLI and SSH, and WebGui... but no shares visible.

    But as soon as I login via WebGui, I'm asked to apply changes .... and that gives me the following error message.


    I have rebooted, tried various things that didn't work, so ... here I am.


    There are various mentions to repositories, and Python3 ...

    Not sure how to deal with them though ...


    (message marked as too long, over the 10000 characters limit... nice :O)

    So I have attached the whole thing as Text file ...


    OMV6_issues_txt.txt


    thanks !!

    Chris

    • Offizieller Beitrag

    From the logs:

    Zitat


    E: The repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file.

    Is the time on your sever set correctly? If no, correct it (enable ntp) and try again.


    If yes, post the output of

    cat /etc/apt/sources.list

    and

    cat /etc/apt/sources.list.d/openmediavault-os-security.list

  • hi Macom,

    I've just checked the time, it's set up fine (it's just that I have copied/pasted the same long error message at various moments :)))


    so:


    Code
    root@NAS:~# cat /etc/apt/sources.list
    deb https://deb.debian.org/debian bullseye main contrib non-free
    deb-src https://deb.debian.org/debian bullseye main contrib non-free
    
    deb https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    deb-src https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    
    deb https://deb.debian.org/debian bullseye-updates main contrib non-free
    deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free


    and

    Code
    root@NAS:~# cat /etc/apt/sources.list.d/openmediavault-os-security.list
    deb http://security.debian.org/debian-security bullseye-security main contrib non-free
    deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free


    seems clean, no ?


    thanks btw

    • Offizieller Beitrag

    if you run apt update there will be an error.


    Comment line 5 and 6 in sources.list then apt update should work


    Code
    root@NAS:~# cat /etc/apt/sources.list
    deb https://deb.debian.org/debian bullseye main contrib non-free
    deb-src https://deb.debian.org/debian bullseye main contrib non-free
    
    # deb https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    # deb-src https://deb.debian.org/debian-security bullseye/updates main contrib non-free
    
    deb https://deb.debian.org/debian bullseye-updates main contrib non-free
    deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free
  • thanks !


    just done that and apt update did work ...

    but getting into the Gui still gives a long error message - shorter though.

    (after reboot)

    Should I empty the cache maybe ?


  • thanks !

    just done this :


    - apparently usrmerge was already installed, no issue

    - I've run the 2nd one too, and got "succeeded" everywhere, everything is green ...


    but getting back into the GUI, I'm still getting the same error message...


    (btw, I had tried to clear the cache via omv-firstaid and got an error message - not sure if this can help)

  • thanks !


    well, just done this, added dummy smtp server, real email adress...

    saved, but when I travel back to the main screen of the Gui, same error message.

    (at least my changes in the System >> Notification >> Settings have been kept)


    I've explored the System >> Notification >> Notifications menu and that gives me immediately the following error:


    Error The XPath query '//system/notification/notifications/notification[id='cronapt']' does not return the requested number of 1 object(s).

  • sure !

    so:



    also, for the System >> Notification >> Notifications

    change the selection of "software updates" and press save and apply


    I cant get to it - when I access System >> Notification >> Notifications

    the whole section is blocked by the error message...



    also:


    I had actived everything in the Dashboard (that's it, right ?)

    • Offizieller Beitrag

    For some reason there is one block missing in the output of

    omv-confdbadm read --prettify conf.system.notification.notification.

    This is from my system:

    Code
        {
            "enable": true,
            "id": "cronapt",
            "uuid": "394cd565-e463-4094-a6ab-12e80270e9b4"
        }

    It seems to be at least one of the problems.

    ryecoaaron should the missing part be added to config.xml or is there some migration missing that can be performed? This is an upgrade from 4 to 5 to 6

    • Offizieller Beitrag

    Seems like ryecoaaron is not online. If you like we can try this (safer to wait for ryecoaaron, though):


    Make a backup of config.xml

    cp /etc/openmediavault/config.xml /etc/openmediavault/config.xml.bak


    edit config.xml with nano /etc/openmediavault/config.xml


    find the section with "notification" (you will see something similar to the output above and hopefully recognize it) and add the following.

    Code
             <notification>
              <uuid>394cd565-e463-4094-a6ab-12e80270e9b4</uuid>
              <id>cronapt</id>
              <enable>1</enable>
            </notification>

    make sure the indention is the same as with the other part.

    Then close nano with Ctrl+x and Y to save.


    Go back to the browser and reload the page. Try to apply.

    • Offizieller Beitrag

    is there some migration missing that can be performed?

    I would have to find it if it is. I would just edit the xml.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

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


    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!

  • macom

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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