Moving docker installation with new docker-compose

  • Sure, I appreciate your efforts! I've just reverted everything to "docker" again as the tests didn't work either.


    Here you go. Screenshots from docker-compose Settings and the current shared folders again...


    • Offizieller Beitrag

    Here you go. Screenshots from docker-compose Settings and the current shared folders again...

    Well nothing, everything seems correct. We will have to wait for ryecoaaron . I tried.

    • Offizieller Beitrag

    I am pretty sure your packages need to be fixed not the docker path. What is the output of:


    dpkg -l | grep -E "openmedia|docker"

    sudo apt-get -f install

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • Cheers ryecoaaron! Here you go...


    Output of dpkg -l | grep -E "openmedia|docker":



    And here is the output of sudo apt-get -f install:


    Code
    Reading package lists...
    Building dependency tree...
    Reading state information...0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    The latter is not surprising to me, as I guess omv-upgrade fixed the errors there already...

    3 Mal editiert, zuletzt von m4tt0 () aus folgendem Grund: Format fixes...

    • Offizieller Beitrag

    What about:


    sudo journalctl -u docker

    sudo cat /etc/docker/daemon.json

    sudo ls -al $(docker info | grep "Docker Root Dir" | awk '{ print $4 }')

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • The output of journalctl -u docker is attached as text file (had to zip it again).


    Otherwise...


    • Offizieller Beitrag

    The output of journalctl -u docker is attached as text file (had to zip it again).

    It still can't find the metadata.db file. If it was my machine, I would stop/down all containers, stop the docker service (sudo systemctl stop docker), and delete everything in the docker directory. Then start docker again.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • You have contributed so much to the OMV code, that my machine basically is your machine... ;)


    I'll definitely try that! Could you just do me one more favor? Could you let me know what permissions the docker directory should have before I install it again?

    • Offizieller Beitrag

    Could you let me know what permissions the docker directory should have before I install it again?

    Code
    aaron@omv6dev:~$ stat /var/lib/docker
    File: /var/lib/docker
    Size: 4096      	Blocks: 8          IO Block: 4096   directory
    Device: fc01h/64513d	Inode: 1444601     Links: 12
    Access: (0710/drwx--x---)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2023-06-24 17:24:41.791315426 -0500
    Modify: 2023-06-25 03:14:46.322411009 -0500
    Change: 2023-06-25 03:14:46.322411009 -0500
    Birth: 2023-05-24 16:04:17.088862873 -0500

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • I've done what you suggested and corrected the permissions of the docker folder (from 755 to 710) on the way. Everything worked without issues, including the restart of the docker environment. I was able to check that the metadata.db in the docker/volumes folder exists. journalctl -u docker did not expose any further errors. It seems it works now... :)


    Cheers, ryecoaaron!!! Many thanks for your help!

  • m4tt0

    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!