Hello!
Sorry for double-posting, but since I noticed (after replying) that the thread “docker-compose or docker compose” was flagged “feedback” and I really need help, I’m starting a new one.

So, the problem is that after moving to docker compose v2 (following https://news.mailcow.email/posts/2022/release-2022-06

) I cannot update any longer because update.sh cannot find docker-compose. What do I have to do to make it work again? Am I missing something?

Greetings,
Andreas

  • Install docker-compose again following the instructions in the docs:
    https://mailcow.github.io/mailcow-dockerized-docs/i_u_m/i_u_m_install/

    curl -L https://github.com/docker/compose/releases/download/v$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
    chmod +x /usr/local/bin/docker-compose

    This downloads compose v2 and uses it as drop-in replacement for v1. The update.sh script did this automatically for a short time, not sure why this has changed (again).

Install docker-compose again following the instructions in the docs:
https://mailcow.github.io/mailcow-dockerized-docs/i_u_m/i_u_m_install/

curl -L https://github.com/docker/compose/releases/download/v$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

This downloads compose v2 and uses it as drop-in replacement for v1. The update.sh script did this automatically for a short time, not sure why this has changed (again).

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

10 days later

Dear, I have same issue when trying to update to the latest version.
I had version :

GitHub Icon Release 🌕🐄 Moone Update 2022 - The Docker Compose v2 Update (Part I) · mailcow/mailcow-dockerized

My setup :

mailcow@mail:/$ sudo docker version
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:03:17 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:01:23 2022
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: 1.6.6
GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc:
Version: 1.1.2
GitCommit: v1.1.2-0-ga916309
docker-init:
Version: 0.19.0
GitCommit: de40ad0
mailcow@mail:/$

mailcow@mail:/$ docker compose version
Docker Compose version v2.6.0

mailcow@mail:/$ uname -r
5.10.0-16-amd64

When I run the command :

mailcow@mail:/opt/mailcow-dockerized$ sudo ./update.sh -check
checking docker compose version…
Found Compose v2!
Checking internet connection… OK
Checking for newer update script…
remote: Enumerating objects: 745, done.
remote: Counting objects: 100% (676/676), done.
remote: Compressing objects: 100% (229/229), done.
remote: Total 745 (delta 471), reused 623 (delta 446), pack-reused 69
Receiving objects: 100% (745/745), 798.98 KiB | 6.05 MiB/s, done.
Resolving deltas: 100% (481/481), completed with 101 local objects.
From GitHub Icon GitHub - mailcow/mailcow-dockerized: mailcow: dockerized - 🐮 + 🐋 = 💕


5d14baa4..b6e3e7a6 master -> origin/master
5629d47c..e26d5b8b feature/bootstrap5 -> origin/feature/bootstrap5
f0e27312..b0fd9787 feature/fts-xapian -> origin/feature/fts-xapian

  • [new branch] feature/nightly-editions -> origin/feature/nightly-editions
    e1db347d..a49305fd hotfix -> origin/hotfix
  • [new branch] nightly -> origin/nightly
  • [new branch] postfix-myorigin-fix -> origin/postfix-myorigin-fix
    7ae7f255..4c105250 staging -> origin/staging
  • [new tag] 2022-06a -> 2022-06a
  • [new tag] 2022-06b -> 2022-06b
  • [new tag] 2022-07 -> 2022-07
    Updated 1 path from 34c22c17
    update.sh changed, please run this script again, exiting.

Then I got this message

mailcow@mail:/opt/mailcow-dockerized$ sudo ./update.sh
Cannot find docker-compose Standalone.
Please install it manually regarding to this doc site: https://mailcow.github.io/mailcow-dockerized-docs/i_u_m/i_u_m_install/


mailcow@mail:/opt/mailcow-dockerized$

Any idea ?
Best regards,
Youssef

    Dear,

    I have done.
    Just missing in the doc that we need to be as “root” to install the package.
    Now, it works

    Best Regards

    No one is typing