OMV7: reboots every time I try to change configuration

  • I have OMV 7.0-26 installed on Debian Bookworm (ODroid HC4) via the official install script.

    The system started behaving in a very weird way recently, rebooting every time I "do something with respect to configuration". I am not 100% sure what triggers those reboots, but they happen

    1) every time I apply configuration changes via the web UI,

    2) every time I try to do apt/dpkg stuff via ssh


    I tried watching `sudo journalctl -f` during the problematic operation, but nothing gets logged. My ssh just freezes as the system reboots. Also, I believe that logs are ram-only (/var/log mounted via folder2ram?), so I am unable to find anything relevant after the restart.

  • KM0201

    Approved the thread.
  • Also, "systemctl daemon-reload" reboots the system. This might be the cause of other reboots, as described in the previous post.

  • I have the same problem after clean install of OMV7.

    Odroid HC4, Debian 12 clean install via petitboot, openmediavault via install script.

    Apply changes in WebUI, CLI stuff like restarting a service (networking, workbench etc.) results in a sudden reboot. No useful information in logs when watching journalctl.


    No problems with Debian 11 + OMV6.


    ondras did you find a solution?


    Edit: This seems to be a common problem: Can't apply changes after new install of OMV

  • Are you using docker with your install?

    • Official Post

    I added docker and two big containers to my odroid hc4 test. Made random changes all over the web interface. Still can't get the system to reboot. Even the following command didn't do it:

    root@odroidhc4:~# omv-salt deploy run chrony collectd fstab hosts hostname monit nginx phpfpm systemd-networkd watchdog

    omv 8.2.7-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.13 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


    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!

  • Hi.

    I also have restarts on odroid HC2 device.

  • I added docker and two big containers to my odroid hc4 test. Made random changes all over the web interface. Still can't get the system to reboot. Even the following command didn't do it:

    root@odroidhc4:~# omv-salt deploy run chrony collectd fstab hosts hostname monit nginx phpfpm systemd-networkd watchdog

    Did you setup OMV via petitboot (Debian12) and the omv install script?

    • Official Post

    Did you setup OMV via petitboot (Debian12) and the omv install script?

    Nope. I removed petitboot (part of the armbian instructions) and installed Armbian Debian 12 (https://wiki.omv-extras.org/do…:armbian_bookworm_install). Then used the install script.

    omv 8.2.7-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.13 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


    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!

  • Nope. I removed petitboot (part of the armbian instructions) and installed Armbian Debian 12 (https://wiki.omv-extras.org/do…:armbian_bookworm_install). Then used the install script.

    I tried to the same, but unfortunately the current image at https://www.armbian.com/odroid-hc4/ is an automated build and not suitable for the omv install according the guide you're linking to. Either I have to wait for a proper image or else I have to learn how to build an image myself.

    • Official Post

    I tried to the same, but unfortunately the current image at https://www.armbian.com/odroid-hc4/ is an automated build and not suitable for the omv install according the guide you're linking to. Either I have to wait for a proper image or else I have to learn how to build an image myself.

    I don't know what you mean by "automated build and suitable". As the one who wrote the install script and came up with most of the guide's process, I would tell you can use it. I wouldn't tell you that if I didn't just do it and have a working system.

    omv 8.2.7-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.13 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


    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!

  • It's in the guide under the "Not supported" section.

    Quote

    WARNING!

    You are using a automated build meant only for developers to provide constructive feedback to improve build system, OS settings or UX.

    If this does not apply to you, STOP NOW! Especially don't use this image for production since things might not work as expected or at all. They may break anytime with next upgrade.

    I get this warning when booting the Armbian Bookworm from the Odroid HC4 page.

    • Official Post

    Armbian doesn't fully support the HC4 but dealing with Hardkernel's image has other issues. I only use the armbian image.


    Basically the only thing that is really "testing" is the kernel and bootloader. The userland is pure Debian. You just need to change from the armbian beta repo to apt before running the install script. I guess I could add that to the install script but it applies to very few images.


    sudo sed -i "s/beta/apt/" /etc/apt/sources.list.d/armbian.list

    omv 8.2.7-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.13 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


    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!

  • I tried to the same, but unfortunately the current image at https://www.armbian.com/odroid-hc4/ is an automated build and not suitable for the omv install according the guide you're linking to. Either I have to wait for a proper image or else I have to learn how to build an image myself.

    That's very strange, not saying you're wrong but I use: https://www.armbian.com/odroid-xu4/ and have OMV working.


    I followed: https://wiki.omv-extras.org/do…:armbian_bookworm_install

      • wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/preinstall | sudo bash
      • wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

    And it worked.


    Strange that hc4 wouldn't work considering it's newer hardware.


    What makes you say that the hc4 build is not suitable for the OMV install according to the guide? I've read it and didn't notice anything.

    • Official Post

    What makes you say that the hc4 build is not suitable for the OMV install according to the guide?

    The HC4 build is a community build and not supported to the level the XU4/HC1/HC2 is (standard support). But it still works and has been very stable for me as a urbackup server.

    omv 8.2.7-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.13 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


    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!

  • I got OMV7 to work without restarts (so far) and I think petitboot (w/ Debian 12) is the culprit.

    So future readers here is a guide:

    1) Remove petitboot from Odroid HC4 (instructions)

    2) Download and write Armbian Bookworm minimal image to SD-card and install

    3) Install OMV using not only the install script but also the preinstall script as explained in this guide


    ryecoaaron I understand that Armbian for HC4 is not officially supported by the Armbian team, but only by community. The reason why I hesitated using the Armbian Bookwork image available on armbian.com/odroid-hc4 is that the image is apparently an automated build and therefore issues the warning upon boot as I described earlier - also in the guide "Not supported" section the warnings are very clear about not using automated builds.

    What I did was I learned how to use the Armbian build framework and build my own stable image for Odroid HC4. This took some time because of all sorts of issues for me (too few loop devices on Ubuntu 22.04, Armbian mirror problems with bookworm at the moment etc.)

    Anyway, I guess I could've used your solution but this was also a great learning experience for me.

    Thank you for your help and your work on the install script!


    MikeSmith See above

    • Official Post

    I always like to see people trying and learning.

    omv 8.2.7-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.2.4 | compose 8.1.13 | cterm 8.0 | borgbackup 8.1.9 | tempmon 8.0.3 | mergerfs 8.0.1 | scripts 8.0.3 | writecache 8.1.10


    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!

  • Same here exactly as described by ondras. It was running perfectly for months but during a move the SD card was damaged, and I just reinstalled it on Debian 12 from Petitboot and OMV using the Github script. I was able to set the Dashboard and to mount the file system but trying to apply any other setting reboot the HC4 without applying the configuration. I will prefer to avoid the Armbian fix. No obvious error message in the log just some things probably unrelated as in the Kernel log "spi-nor spi1.0: unrecognized JEDEC id bytes: 0b 40 18 0b 40 18" that just indicat a non-identified memory chips. Any idea?

Participate now!

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