CRON-APT error

    • Official Post

    Does the long command from the email still have a problem?

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!

    • Official Post

    Ok. What about:


    ls -al /etc/apt/trusted.gpg.d/

    apt-key list

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!

    • Official Post

    Have you really upgraded this system since OMV 3.x? I don't see anything wrong with that output either. And other than automatic security updates possible not working, manual updates will still work. While I'm sure I could find what is wrong, we would spend hours going back and forth with output. Sorry, I just don't have that much time. If you want to send me an image of the OS, I will look into it further but I gotta call it quits now.

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!

    • Official Post

    maybe sometime an answer will be found...

    I can't discover an answer without something to test on. None of my systems are doing this.

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!

    • Official Post

    backup the OS with the openmediavault-backup plugin using dd or ddfull and give me a way to download the files it creates. Otherwise, I could give you an scp command to upload them.

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!

    • Official Post

    Would you send me the scp command?

    PM sent.

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!

  • Sorry to say, but I've exactly the same issue like nasty_vibrations. I tried all the steps ryecoaaron proposed, but still the same. Let me know, if I shall run some commands or provide any other info.

    How is your system running?

    Have you been upgrading from any older versions of OMV or is it a fresh install?


    And what error from what command are you experiencing?


    More info is needed to filter this.

  • I'm having my head around this so, was just checking some things:


    This is an OMV6 arm64 that was upgraded from OMV5.

    I had the automatic updates OFF (by my own choice) on OMV5 and it carried to OMV6.

    When CRON-APT runs at ~7AM (with automatic updates OFF), the command that shows is: /usr/bin/apt-get  dist-upgrade -d -y -o APT::Get::Show-Upgraded=true

    This only shows that updates are available and I need to go to either GUI or CLI to do the actual update.


    Checking the files mentioned:

    Code
    pi@xxxxxxx:~ $ cat /etc/cron-apt/action.d/0-update
    update -o quiet=2
    Code
    pi@xxxxxx:~ $ cat /etc/cron-apt/action.d/3-download
    autoclean -y
    dist-upgrade -d -y -o APT::Get::Show-Upgraded=true


    nasty_vibrations && Silenzium

    Care to try the following commands to see if it clears that error:


    Check the status of this environment (if it shows nothing, it should be on default that is TRUE):

    omv-env get OMV_APT_USE_OS_SECURITY


    This command will set Auto-Updates to FALSE:

    omv-env set OMV_APT_USE_OS_SECURITY false


    This command will set Auto-Updates to TRUE:

    omv-env set OMV_APT_USE_OS_SECURITY true


    And to finish the action:

    omv-salt deploy run cronapt


    Then check again the files above to see if there's any difference between them and try to run again the update command.
    And rest assure that all the above is good to be done and non-destructive.

  • I can't see any difference in them.

    The update command still results in the known error.

    Ok, it was worth a shot.

    Maybe ryecoaaron can spot something else on this matter.

  • Soma : Do you know why /etc/cron-apt/action.d/3-download doesn't exist?

    I'm affraid not.
    I thought that the salt command would (re)create it.


    Let's wait for some, hopefully, solution.

    • Official Post

    Maybe ryecoaaron can spot something else on this matter.

    Waiting on an image to test on.


    Do you know why /etc/cron-apt/action.d/3-download doesn't exist?

    The flashmemory plugin used to delete it to reduce writes back in the 3.x version of the plugin - https://github.com/OpenMediaVa…lt/mkconf/flashmemory#L60

    omv 8.5.7-1 synchrony | 7.0 proxmox kernel

    plugins:

    omvextrasorg 8.0.3 | kvm 8.3.2 | compose 8.1.24 | cterm 8.0.2 | borgbackup 8.2 | tempmon 8.0.5 |

    mergerfs 8.0.2 | scripts 8.0.6 | writecache 8.2.3 | backup 8.1 | kernel 8.0.16


    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!