omv-extras 6.3 / openmediavault-compose 6.7

    • Official Post

    omv-extras 6.3.1 is in the repo now. It adds a link to the wiki and adds a hint to the docker checkbox that you need the openmediavault-compose plugin for docker functionality.


    The wiki also links to this thread.

    omv 7.7.19-2 sandworm | 64 bit | 6.14 proxmox kernel

    plugins :: omvextrasorg 7.0.3 | kvm 7.2.0 | compose 7.6.13 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.2 | writecache 7.0.0-12


    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'm trying to follow the guide in the wiki to install docker correctly with the new system but this step does not seem to work as described:


    4. Install Docker and openmediavault-compose plugin


    Install docker

    • In the OMV GUI, go to the System > omv-extras > Docker
    • In the Docker storage field replace the value with the path of the docker folder created earlier, and press the Save button.

    omv extra does not have a drop down menu

  • I'm getting the connection lost issue when i try to install the compose plugin. I think it may have also said this when I installed extras update that just came out too. I was too quick to close the window. Anyhow when I tried to install the compose plugin I get this:


    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 58650 files and directories currently installed.)
    Preparing to unpack .../openmediavault-compose_6.7.4_all.deb ...
    Unpacking openmediavault-compose (6.7.4) over (6.7.4) ...
    Setting up openmediavault-compose (6.7.4) ...
    Updating configuration database ...
    Processing triggers for openmediavault (6.4.0-3) ...
    Updating workbench configuration files ...

    ** CONNECTION LOST **


    • Official Post

    I'm trying to follow the guide in the wiki to install docker correctly with the new system but this step does not seem to work as described:


    4. Install Docker and openmediavault-compose plugin


    Install docker

    • In the OMV GUI, go to the System > omv-extras > Docker
    • In the Docker storage field replace the value with the path of the docker folder created earlier, and press the Save button.

    omv extra does not have a drop down menu

    Docker has changed just yesterday.... Look in the Guides section on "How to use the new docker plugin".

  • Yes, it's better. Read publication 1 of this thread, ask your questions.

    Ok, thank you, I'm trying with a container, but it doesn't seem so easy, I followed these steps:


    1- got a docker-compose yaml file by running:

    docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose transmission-openvpn


    2- I stopped and deleted docker with:

    docker container stop transmission-openvpn

    docker container rm transmission-openvpn


    3- I pasted the yaml file content into Compose/Files/Create/File but got the error:

    Code
    500 - Internal ServerError
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker-compose --file '/srv/dev-disk-by-label-REDRAID4X12/compose//transmission-openvpn/transmission-openvpn.yml' --env-file '/srv/dev-disk-by-label- REDRAID4X12/compose//transmission-openvpn/transmission-openvpn.env' up -d 2>&1': failed to read /srv/dev-disk-by-label-REDRAID4X12/compose/transmission-openvpn/transmission-openvpn.env : line 8: key cannot contain a space

    4- I then tried to create the stack from Portainer with the same yaml file, but I got this error:

    Code
    Deployment error
    failed to deploy a stack: Container transmission-openvpn Creating Error response from daemon: network-scoped alias is supported only for containers in user defined networks

    Where am I wrong? My goal is, if possible, to transfer my two created Containers directly into Portainer under OMV Compose.


    Thank you.

    OMV 6.9.16-1 (Shaitan) - Debian 11 (Bullseye) - Linux 6.1.0-0.deb11.21-amd64

    OMV Plugins: backup 6.1.1 | compose 6.11.3 | cputemp 6.1.3 | flashmemory 6.2 | ftp 6.0.7-1 | kernel 6.4.10 | nut 6.0.7-1 | omvextrasorg 6.3.6 | resetperms 6.0.3 | sharerootfs 6.0.3-1

    ASRock J5005-ITX - 16GB DDR4 - 4x WD RED 12TB (Raid10), 2x WD RED 4TB (Raid1) [OFF], Boot from SanDisk Ultra Fit Flash Drive 32GB - Fractal Design Node 304

    • Official Post

    I'm trying to follow the guide in the wiki to install docker correctly with the new system but this step does not seem to work as described:


    4. Install Docker and openmediavault-compose plugin


    In the OMV GUI, go to the System > omv-extras > Docker
    In the Docker storage field replace the value with the path of the docker folder created earlier, and press the Save button.

    omv extra does not have a drop down menu

    The docker docs on the wiki are up to date.


    omv6:omv6_plugins:docker_compose [omv-extras.org]

    omv6:docker_in_omv [omv-extras.org]


    I believe I have included all of the performance changes, though I may have unintentionally omitted some.

    I know that there are currently many people consulting these documents. I would appreciate any suggestions to improve the comprehension or the writing of the documents, English is not my native language.

  • ryecoaaron please can you create a little link button like KVM or something so you can click it like in Portainer and it'll open up your containers web UI?


    Like SABnzbd or whatever, log into OMV, click the button and it opens in a new page, in case we forget the port or what not?

    • Official Post

    ryecoaaron please can you create a little link button like KVM or something so you can click it like in Portainer and it'll open up your containers web UI?


    Like SABnzbd or whatever, log into OMV, click the button and it opens in a new page, in case we forget the port or what not?

    I was wondering that yesterday. In Portainer, you could click the port link, and it would take you to the container.

    • Official Post

    It's complaining about a spaces in the -env file... Are you pasting a docker-compose?


    When you paste it in the file.. There's two boxes, 1 on top, 1 on bottom. The top one is for a stack/docker-compose. The bottom one is for an environment file. If you're just using a compose... Delete the file, create a new one and make sure you paste it at the top.


    Save/Apply, then Deploy


    I moved haugene/transmission no problem yesterday.

    • Official Post

    Added in the docker-compose wiki document the procedure:


    How to recover Portainer and other containers from versions prior to omv-extras 6.3 / openmediavault-compose 6.7


    omv6:omv6_plugins:docker_compose [omv-extras.org]

    • Official Post

    Added in the docker-compose wiki document the procedure:


    How to recover Portainer and other containers from versions prior to omv-extras 6.3 / openmediavault-compose 6.7

    I think I have not made any mistakes, but this has been done with little time. I would appreciate if those of you who know the procedure review it just in case, please.

    • Official Post

    1- got a docker-compose yaml file by running:

    How did you create that container? Don't have a yaml file? Autocompose is not ideal for this process.

  • Added in the docker-compose wiki document the procedure:


    How to recover Portainer and other containers from versions prior to omv-extras 6.3 / openmediavault-compose 6.7


    https://wiki.omv-extras.org/do…openmediavault-compose_67

    Thank you very much for this addition. This is very helpful and will hopefully mitigate the stress for OMV hobby admins (regarding as it was noted in this post (average users, majority of user etc.: RE: omv-extras 6.3 / openmediavault-compose 6.7) with this upgrade or improvement.

    OpenMediaVault 6.x (most recent stable version) -- 64 bit -- OMV-Extras 6.x (most recent stable version) -- Default Kernel

    • Official Post

    Thank you very much for this addition. This is very helpful and will hopefully mitigate the stress for OMV hobby admins with this upgrade or improvement.

    You're welcome, I hope so too. :thumbup:

  • How did you create that container? Don't have a yaml file? Autocompose is not ideal for this process.

    I created it directly inside Portainer, so I don't have a yaml file.

    OMV 6.9.16-1 (Shaitan) - Debian 11 (Bullseye) - Linux 6.1.0-0.deb11.21-amd64

    OMV Plugins: backup 6.1.1 | compose 6.11.3 | cputemp 6.1.3 | flashmemory 6.2 | ftp 6.0.7-1 | kernel 6.4.10 | nut 6.0.7-1 | omvextrasorg 6.3.6 | resetperms 6.0.3 | sharerootfs 6.0.3-1

    ASRock J5005-ITX - 16GB DDR4 - 4x WD RED 12TB (Raid10), 2x WD RED 4TB (Raid1) [OFF], Boot from SanDisk Ultra Fit Flash Drive 32GB - Fractal Design Node 304

  • Ok, thanks, I succeeded. but I had to delete the following lines, otherwise I was getting an error:


    Code
    command:
    - 'dumb-init /etc/openvpn/start.sh'
    
    networks:
    - bridge

    I'll also try to move my lscr.io/linuxserver/plex in a while. Thank you.

    OMV 6.9.16-1 (Shaitan) - Debian 11 (Bullseye) - Linux 6.1.0-0.deb11.21-amd64

    OMV Plugins: backup 6.1.1 | compose 6.11.3 | cputemp 6.1.3 | flashmemory 6.2 | ftp 6.0.7-1 | kernel 6.4.10 | nut 6.0.7-1 | omvextrasorg 6.3.6 | resetperms 6.0.3 | sharerootfs 6.0.3-1

    ASRock J5005-ITX - 16GB DDR4 - 4x WD RED 12TB (Raid10), 2x WD RED 4TB (Raid1) [OFF], Boot from SanDisk Ultra Fit Flash Drive 32GB - Fractal Design Node 304

  • What can I say, JUST LOVE IT!!!!!!!!!!
    ryecoaaron

    Thank you for taking this move.

    Me and chente had spoke with you that this was the way to go and people will have to accept it and evolve with it.


    I'm not a good example since I was already using the compose plugin for a long time.

    But the update was just that, an update. No issues:


    And this is what people will have in the end:



    I do love simplicity, ;)

Participate now!

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