coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
31.71k stars 1.63k forks source link

[Bug]: During installation: no matching manifest for linux/arm/v8 in the manifest list entries #2512

Open vitezprchal opened 3 months ago

vitezprchal commented 3 months ago

Description

I'm using a Raspberry Pi 4 Model B with Raspbian GNU/Linux (aarch64). When I run install.sh, everything proceeds smoothly until the script tries to execute a docker compose. Are there other versions available that I can use to install Coolify on my Raspberry Pi? Thanks, and keep up the great work, everyone!

Minimal Reproduction (if possible, example repository)

By following installation steps: https://coolify.io/docs/installation

  1. step

Exception or Error

context canceled no matching manifest for linux/arm/v8 in the manifest list entries

Version

v4

emileplas commented 3 months ago

I ran into the same problem on my raspberry pi 3, using an ubuntu server image.

In principle, you should be able to set the default platform that docker uses. For example: https://stackoverflow.com/questions/65612411/forcing-docker-to-use-linux-amd64-platform-by-default-on-macos. That didn't resolve the problem for me.

Installing the Raspberry Pi Os (64-bit) using the Raspberry Pi Imager v1.8.5 made the installation succeed. idk if this is an option. Hope this helps.

biboc commented 3 weeks ago

I confirm the problem on Raspberry Pi 400 (based on Raspberry Pi 4 Model B) on raspbian 11

The script: curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash crash:

$ curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash 
-------------
Welcome to Coolify v4 beta installer!
This script will install everything for you.
(Source code: https://github.com/coollabsio/coolify/blob/main/scripts/install.sh )

-------------
OS: raspbian 11
Coolify version: 4.0.0-beta.323
-------------
Installing required packages...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

OpenSSH server is installed.
OpenSSH server is installed.
###############################################################################
WARNING: PermitRootLogin is not enabled in /etc/ssh/sshd_config.
It is set to N/A (commented out or not found at all). Should be prohibit-password, yes or without-password.

Please make sure it is set, otherwise Coolify cannot connect to the host system. 

###############################################################################
-------------
Check Docker Configuration...
Docker configuration is up to date.
-------------
Downloading required files from CDN...
Unable to find image 'ghcr.io/coollabsio/coolify-helper:latest' locally
latest: Pulling from coollabsio/coolify-helper
docker: no matching manifest for linux/arm/v8 in the manifest list entries.
biboc commented 3 weeks ago

I think we need to upgrade to a 64bits version of raspbian/ubuntu to make it work

gianpaj commented 3 days ago

Same issue on raspbian 12 - Raspberry Pi 4 Model B Rev 1.1

$ curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash
-------------
Welcome to Coolify v4 beta installer!
This script will install everything for you.
Source code: https://github.com/coollabsio/coolify/blob/main/scripts/install.sh

-------------
OS: raspbian 12
Coolify version: 4.0.0-beta.335
Helper version: 1.0.1
-------------
...
-------------
Check Docker Configuration...
Docker configuration is up to date.
-------------
Downloading required files from CDN...
File exists: /data/coolify/source/.env
Copying .env to .env-20240916-222158
Updating .env with new values (if necessary)...
Unable to find image 'ghcr.io/coollabsio/coolify-helper:1.0.1' locally
1.0.1: Pulling from coollabsio/coolify-helper
docker: no matching manifest for linux/arm/v8 in the manifest list entries.
See 'docker run --help'.

running bash -x

...
Updating .env with new values (if necessary)...
+ awk -F = '!seen[$1]++' /data/coolify/source/.env-20240916-222932 /data/coolify/source/.env.production
+ '[' '' = false ']'
+ '[' '!' -f /data/coolify/ssh/keys/id.root@host.docker.internal ']'
+ '[' '!' -f /root/.ssh/authorized_keys ']'
+ grep -qw root@coolify /root/.ssh/authorized_keys
+ bash /data/coolify/source/upgrade.sh 4.0.0-beta.335 1.0.1
Unable to find image 'ghcr.io/coollabsio/coolify-helper:1.0.1' locally
1.0.1: Pulling from coollabsio/coolify-helper
docker: no matching manifest for linux/arm/v8 in the manifest list entries.
See 'docker run --help'.

the issue comes from the upgrade.sh file

+ docker network create --attachable coolify
+ '[' -f /data/coolify/source/docker-compose.custom.yml ']'
+ docker run -v /data/coolify/source:/data/coolify/source -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/coollabsio/coolify-helper:latest bash -c 'LATEST_IMAGE= docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --remove-orphans --force-recreate --wait --wait-timeout 60'
Unable to find image 'ghcr.io/coollabsio/coolify-helper:latest' locally
latest: Pulling from coollabsio/coolify-helper
docker: no matching manifest for linux/arm/v8 in the manifest list entries.

There is no linux/arm/v8 docker image for coolify-helper

image