Pi-hole container not working after move of docker system storage folder

  • Hello everyone,

    Hello ryecoaaron


    Following a note in the documentation of the Docker Compose plugin for OMV7, I copied the Docker system folder from my system SSD (on which OMV runs) to my second SSD and would like to use it from there in the plugin.


    To do this, I created the folder in the OMV7 WebGUI, gave my Docker user access rights and then copied all the data from /var/lib/docker into this new folder. Then I changed the Compose settings and reinstalled Docker Compose.



    All containers are running except for my container for Pi-hole, which also has a MacVLAN. The container starts without errors but the Pi-hole WebGUI is no longer accessible under the assigned IP address.




    If I change the Compose settings back to the old folder, the Pi-hole container also runs again.


    Here is the Docker Compose of my Pi-hole container:


    What is the reason for this? How can I fix the error?


    Many thanks and regards

    Mic.

    • Official Post

    What is the reason for this? How can I fix the error?

    Hard to say. Almost certainly a permissions issue. How did you copy them? I would've used rsync.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.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!

  • I don't knwo why but I deleted my copy of the files on the 2nd SSD now and copied them again to the 2nd SSD. Now it works. I used the following options:

    Code
    rsync -rlptgoD --progress /var/lib/docker /srv/dev-disk-by-uuid-19461085-37d7-425f-89cb-7bbfc498f900/dockerSys

    Thank you. 😊

Participate now!

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