OMV6 - Docker / Portainer - not possible to install

  • Hi,


    I finally came around to pick up the work I started to migrate from OMV4 to OMV5, only to discover that it is now OMV6. The OMV5 machine as a clean install never put into production so I did a inplace-upgrade to OMV6, All seems to have completed ok in general, however I can not get Docker / Portainer to work.


    Docker is up and running, but I can not get Portainer to fly.


    Installing from GUI (System > omv-extras > Portainer) fails with a generic error, in the last step of actually launching Portainer

    Removing both enteties for a clean start wrt Docker/Portainer fails for Docker but works for Portainer (reinstalling will still refuse the launch of Portainer, though)


    Is there any way that I can force remove the Docker installation in order to reinstall, with the hope that this leads to the Portainer problem to solve itself.

  • Did you uninstall and re-install or upgrade omv-extras too? They are different between OMV5 and OMV6, and it is omv-extras that controls the install of docker and portainer.


    I never to major version in place upgrades, so I can't really suggest much more, but I know that forgetting about omv-extras has been an issue for several people on the forum.

  • omv-extras is on 6.1.1 so that should be up to date. Had the OMV5 system been in production I would not have chanced on an inplace upgrade, but now it seemed safe enough, also contributing was the number of other successful upgrades.


    After several reboots I just now managed to uninstall Docker, then I restarted the process following the official guide

    [How to] Prepare OMV to install docker applications

    thus moving the docker storage from the OS-disk to a fresh disk.


    Portainer still makes a fuss, and refuses to start.

  • Additional notes


    Portainer WEB-GUI times out, not unexpected considering that the install claims the Portainer is not started.


    the systme log, Deamons has a number of these entries:

    Code
    dockerd[24388]: time="2023-01-02T17:43:15.310548500+01:00" level=error msg="Handler for POST /v1.41/containers/b0ca8090bfefd36ee45e38e141e3a0b54667ae44de082407b3718078260d11f8/start returned error: driver failed programming external connectivity on endpoint portainer (17a54a7cc828ce9fe4f03b9a271c33a951415df49677af7200d92cecb2dd9cc9): Error starting userland proxy: listen tcp4 0.0.0.0:9090: bind: address already in use"

    Is there a clash with ports? I'll try setting the Portainer port to something else just to see...

  • marieper

    Hat das Label gelöst hinzugefügt.
  • marieper

    Hat das Label OMV 6.x hinzugefügt.
  • Prezados, sou novo na linguagem debian, há 3 meses que estou brincando de aprender debian e OMV. Além da internet, tutoriais Youtube e Udemy, tenho pesquiso muito aqui no blog e fórum, mas sem sucesso para o tema de ver os pacotes de atualizações OMV e Plugins. Instalei e desinstalei o OMV várias vezes, formatei o ssd e hdds. Na esperança de resolver o problema, hoje instalei a versão mais recente do OMV no Debian11, continuo sem conseguir que o menu atualizações de sistema e plugins mostre os pacotes para eu instalar o Docker e Portainer.

    Veja a tela ao tentar instalar omv-extras.

    root@FAMSERVE:~# wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash

    --2023-06-22 11:00:16-- https://github.com/OpenMediaVa…ckages/raw/master/install

    Resolvendo github.com (github.com)... falha: Nome ou serviço desconhecido.

    wget: não foi possível resolver o endereço da máquina “github.com”

    root@FAMSERVE:~#

    • Offizieller Beitrag

    First update the system.

    omv-upgrade

    Then run the omv-extras install script

    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

    and copy the output of that script here. Use a code box via the </> button in the forum window.

  • Atualizar OMV, problema ao executar o script wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash,

    veja o retorno:

    ...

    Ign:7 file:/var/cache/openmediavault/archives Translation-en

    Lendo listas de pacotes... Concluído

    E: O repositório 'cdrom://[Debian GNU/Linux 11 _Bullseye_ - Official Snapshot a md64 LIVE/INSTALL Binary 20220426-20:09] bullseye Release' não possui um arquivo Release.

    N: A atualização de tal repositório não pode ser feita com segurança e, portanto, é desativada por padrão.

    N: Consulte a página de manual do apt-secure(8) para a criação do repositório e detalhes de configuração do usuário.

    root@FAMSERVE:~# wget -O - https://github.com/OpenMediaVault-Plugin-Developers/p ackages/raw/master/install | bash

    --2023-06-22 12:45:21-- https://github.com/OpenMediaVault-Plugin-Developers/pac kages/raw/master/install

    Resolvendo github.com (github.com)... falha: Nome ou serviço desconhecido.

    wget: não foi possível resolver o endereço da máquina “github.com”

    root@FAMSERVE:~#


    Na interface continua sem exibir atualizações e plugins.


  • você tem razão, estou mesmo com problema de DNS, pesquisei alguns links indicados acima, não encontrei orientação específica. Pesquisei alguns turoriais sobre DNS no youtube para fazer alterações no Windows Defender Firewall e no adaptador de internet, acertei o DNS no roteador de internet. E ainda assim continuo sem conseguir fazer o omv-upgrade e omv-extras, não baixa os arquivos para atualização.

    Preciso continuar minha busca na solução de atualizar o OMV-upgrade e OMV-extras.

    No OMV instalado aqui na minha máquina, configurei o IPV4 estático. Com o "ss -tunelp" verifiquei o IP e porta, acertei o roteador de internet com essas informações no DDNS, Port Mapping e DMZ. No outro PC, desativei o Windows Defender Firewall para rede privada e pública, no adaptador de internet acertei o servidor de internet preferencial para 8888 e alternativo para 8811. As definições do Google Chrome Privacidade e Segurança aberta para 'Cookeis de terceiros'.

  • OK tudo funciona bem. Estamos na versão Debian 12. Hoje fiz a atualização do zero, formatei(fillzero) o SSD (sistema OMV) e todos HDDs(dados). Baixei o OMV atualizado, instalei em um pendrive executável. Confofurei o roteador de internet para DHCP e o roteador local para DHCP. Na maquina para servidor OMV conectei o SSD e HHDs, ajusei o "Setup" da máquina para inicializar o pendrive em "primary" e o SSD para "secundary". A instalação do OMV foi fluida e rápida. O sistema foi reinicializado, entrei com login "root" e a senha cadastrada durante a instalação do OMV. Digitei na linha de comando "ip addr show" para obter o IP. Em outra máquina na mesma rede local, instalei o "PuTTY" (free) para acessar a linha de comando da máquina com OMV, acessei com Login "root" e senha, digitei "su -" enter, digitei "update" enter, aguardei baixar os pacotes, digitei "upgrade" enter, depois "Y" nas solicitações. Reiniciei o sistema, novamente pela outra máquina na rede acessei novamente com "PuTTY", login de root, "su -", copiei e colei na linha de comando "wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash", e a instalação foi muito leve. Fiz as configurações no OMV, onde aparecem as atualizações para serem feitas no OMV, os plugins e a opçõ "docker".

    Observação: Enquanto OMV estiver configurado para IP DHCP, será necessário verificar qual seu número na linha de comando "root" na máquina servidor. Recomendo alterar para IP-STATIC após as atualizações. Para maior segurança, configure os acessos por internet com o "FireCloud Services".

    Parabéns a equipe OpenMediaVault, essa atualiação ajustou geral. Estou muito feliz e agradecido.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!