apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.61k stars 530 forks source link

[Bug][Module Name] Bug title #8159

Open sashalinder opened 1 month ago

sashalinder commented 1 month ago

Search before asking

What happened

I follow the installation for docker https://devlake.apache.org/docs/GettingStarted/DockerComposeSetup

when tried to start the devlake locally on my mac I received an error, see below.

after reviewing the docker hub I noticed that the version is tagged with "v" prefix, while in the docker compose file the version is written without "v". I updated for the 3 images to use "v".

workaround not working: devlake.docker.scarf.sh/apache/devlake:1.0.1
working:

devlake.docker.scarf.sh/apache/devlake:v1.0.1  

error docker compose up -d WARN[0000] /Users/sasha/code/devlake/docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 3/3 ✘ config-ui Error context canceled 4.6s ✘ grafana Error manifest for devlake.docker.scarf.sh/apache/de... 4.6s ✘ devlake Error context canceled 4.6s Error response from daemon: manifest for devlake.docker.scarf.sh/apache/devlake-dashboard:1.0.1 not found: manifest unknown: manifest unknown

What do you expect to happen

start the devlake successfully when using

docker compose up -d

How to reproduce

use the https://github.com/apache/incubator-devlake/releases/download/v1.0.1/docker-compose.yml

Anything else

No response

Version

e061ef223a93a28d88bb1238a0acd7d29f39f2b6

Are you willing to submit PR?

Code of Conduct

dosubot[bot] commented 1 month ago

Hey there, @sashalinder! 👋 I'm here to help you with any bugs, questions, or contributions you have for the project. Let's squash those bugs!

I found a similar issue that might help you resolve the problem. The "manifest not found" error is likely due to the images not being available at the specified registry devlake.docker.scarf.sh. A suggested solution is to use the official Docker Hub repository if the images are available there. You can update your docker-compose.yml file with the following paths:

grafana:
  image: apache/devlake-dashboard:v1.0.1

devlake:
  image: apache/devlake:v1.0.1

config-ui:
  image: apache/devlake-config-ui:v1.0.1

Make sure you have followed the correct steps to set up your environment and Docker Compose configuration as outlined in the official documentation:

  1. Download docker-compose.yml and env.example from the latest release into a folder.
  2. Rename env.example to .env.
  3. Generate a secure encryption key and set the ENCRYPTION_SECRET environment variable.
  4. Adjust the timezone if needed by setting the TZ variable in docker-compose.yml.
  5. Run docker-compose up -d.

If the images are not available on Docker Hub, you may need to contact the maintainers of Apache DevLake for the correct image paths or access to the devlake.docker.scarf.sh repository [1].

To continue talking to Dosu, mention @dosu.