docker not working since omv-upgrade

  • Thanks. All perfect :*

    • Official Post

    I run almost all of my containers on ubuntu with apparmor. It might be time to stop fighting apparmor on OMV. I might have to do some testing.

    omv 8.0.10-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.1 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    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!

  • Kinda had a feeling apparmor-utils would install apparmor as well.


    I did notice that on my headless debian system I didn't have any issues with the upgrade, which obviously has apparmor running.


    Either way, thanks for all the testing/work you do for OMV! Definitely appreciate it!

  • @ryecoaaron Quick question about zfs, I believe it used to show up as Services in the dashboard, however its not showing up in the Services anymore, could be because of I was trying to troubleshoot this morning and installed and uninstalled bunch of stuff.

    ZFS is working as expected but I am not sure if it showed as service or not...

    • Official Post

    I believe it used to show up as Services in the dashboard, however its not showing up in the Services anymore, could be because of I was trying to troubleshoot this morning and installed and uninstalled bunch of stuff.

    Not sure how this is related to docker and apparmor but on OMV 6.x, it has always been in the Storage section. If the plugin is fully installed with status of 'ii', then hit ctrl-shift-R. If that still doesn't show it, sudo omv-mkworkbench all

    omv 8.0.10-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.1 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    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!

  • Not sure how this is related to docker and apparmor but on OMV 6.x, it has always been in the Storage section. If the plugin is fully installed with status of 'ii', then hit ctrl-shift-R. If that still doesn't show it, sudo omv-mkworkbench all

    Its absolutely not related to docker and apparmor, I maybe mistaken but remember seeing it in services, could be wrong, but as you said its in the storage section and its working. I was asking because while troubleshooting I made changes and if that impacted it...

    • Official Post

    getting containers working on debian after installing apparmor on a normal OMV install is a nightmare. If someone wants to put effort into this, I am willing to make changes. Until then, I will keep going down the apparmor disabled road.

    omv 8.0.10-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.1 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    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!

  • Good afternoon!

    Now I installed the apparmor-utils, restarted the docker and everything worked for me.

    In the future, I may have some problems with docker? Maybe it's better for me to remove the apparmor-utils now and disable the apparmor in system?

  • Thank you ryecoaaron for your solution/workaround. Portainer still works for me.

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

  • Thank you all who figured out what to do to solve the problem :thumbup:

    I manually installed the apparmor package and managed to start docker/portainer again (and btw took the chance to do the long postponed update from OMV5 to OMV6 ).

    OMV7.x

    AMD Ryzen 5 5600G

    ASRock B550M Pro4

    Crucial DIMM 16GB

    Western Digital WD Blue SN570

    Seagate IronWolf 8TB/WD Red 8TB

    AeroCool CS-102

  • ok, fixed the problem with:

    apt install apparmor apparmor-utils auditd

    everything works again.

    Installed from the ISO a few weeks ago and had no problems since than.

    Now i will install the Kernel-Plugin to make Backups with Clonezilla.


    Did not noticed OMV is against apparmour.

    Is there a reason for it?

    All my containers work perfectly fine again.

    So if nothing new comes up i will go with apparmour.

  • I still cannot access the portainer UI even after installing apparmor

    If you manually installed apparmor/apparmor-utils you probably also need to "reinstall" Portainer via the OMV webinterface with AppArmor enabled, then you should be able to access it once again. I just did exactly that and it worked for me.

    The status for Portainer shown in the OMV webinterface should then change from "Created" to "Up [...]".

  • If you manually installed apparmor/apparmor-utils you probably also need to "reinstall" Portainer via the OMV webinterface with AppArmor enabled, then you should be able to access it once again. I just did exactly that and it worked for me.

    The status for Portainer shown in the OMV webinterface should then change from "Created" to "Up [...]".

    Thanks, that got it going again.

  • If you manually installed apparmor/apparmor-utils you probably also need to "reinstall" Portainer via the OMV webinterface with AppArmor enabled, then you should be able to access it once again. I just did exactly that and it worked for me.

    The status for Portainer shown in the OMV webinterface should then change from "Created" to "Up [...]".

    Dont need here.

    Install updates -> KO Portainer -> Install apparmor -> Restart docker -> All ok.

  • I've had the same problem on my Odroid HC2, I fixed it by downgrading the docker-ce and docker-ce-cli packages, then restarting the docker service:


    Code
    sudo apt install docker-ce-cli=5:20.10.23~3-0~debian-bullseye
    sudo apt install docker-ce=5:20.10.23~3-0~debian-bullseye
    sudo service docker restart

    Confirm! This helps for me! Thank you< good man=)


    UPD:As a result, I decided to upgrade and still take the advice of ryecoaaron. In the end, I did everything, rebooted - everything works fine! Thanks!

    OMV 6.
    Motherboard: Intel DP55WG
    CPU: Intel Xeon X3470
    12GB DDR3 RAM
    WD Black WD5000LPSX - system
    WD Blue 4GB x4 - RAID 10
    500GB SSD x2 - RAID 1 for VM's and Docker containers

    Edited 3 times, last by ALEXSANPEDRO ().

  • Works for me. Simple but effective solution on my armbian (32-bit) Helios4.

    OMV 7.7.24 Sandworm | omvextrasorg 7.0.6 | compose 7.6.13 | Linux 6.6.116-current-mvebu | Armbian 25.11.2 Bookworm | Hardware Helios4 | RAID5 with 4 * 8TB WD Red

  • Manually installed apparmor/apparmor-utils to get around this issue. I install Docker using OMV but not Portainer as I install the portainer_agent manually to manage my containers from another server. Have recreated my containers and all seem to be working as expected.


    Going forwards, despite the effort involved, it would seem sensible to have OMV accomodate apparmor where appropriate.


    As some people have removed apparmor while others have taken the plunge there now exists two distinct groups that can 'test' OMV and identify any further operational issues over the coming weeks. Hopefully this might then enable those on who the rest of us depend, such as ryecoaaron to make best use of their valuable time. How can the results of such testing best be collated?

Participate now!

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