Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to build (nodejs) — or update the instance #3496

Closed
kappuccino opened this issue Sep 19, 2024 · 5 comments
Closed

[Bug]: Unable to build (nodejs) — or update the instance #3496

kappuccino opened this issue Sep 19, 2024 · 5 comments

Comments

@kappuccino
Copy link

Error Message and Logs

Any build a try to start stop at the very beginning with this access denied issue.

Starting deployment of ************************* to localhost.
Preparing container with helper image: ghcr.io/coollabsio/coolify-helper:1.0.0.

docker rm -f q0os8ckcswggocs4so00wg4o
Error response from daemon: No such container: q0os8ckcswggocs4so00wg4o

docker run -d --network coolify --name q0os8ckcswggocs4so00wg4o --rm -v /root/.docker/config.json:/root/.docker/config.json:ro -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper:1.0.0
Unable to find image 'ghcr.io/coollabsio/coolify-helper:1.0.0' locally
docker: Error response from daemon: Head "[https://ghcr.io/v2/coollabsio/coolify-helper/manifests/1.0.0":](https://ghcr.io/v2/coollabsio/coolify-helper/manifests/1.0.0%22:) denied: denied.
See 'docker run --help'.

Oops something is not okay, are you okay? 😢
Unable to find image 'ghcr.io/coollabsio/coolify-helper:1.0.0' locally
docker: Error response from daemon: Head "[https://ghcr.io/v2/coollabsio/coolify-helper/manifests/1.0.0":](https://ghcr.io/v2/coollabsio/coolify-helper/manifests/1.0.0%22:) denied: denied.
See 'docker run --help'.
Deployment failed. Removing the new version of your application.

Steps to Reproduce

  1. Having a running app
  2. Click redeploy

Example Repository URL

No response

Coolify Version

v4.0.0-beta.337

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04

Additional Information

I tried to update the instance, but the automatic process never ends (I can start the process and get the spinning loader... but nothing more, even if I let spin for 1 hour). I also tried the manual update process from the documentation (from https://coolify.io/docs/upgrade), but nothing is really happening, even if I wait for a while

@kappuccino kappuccino added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Sep 19, 2024
@kappuccino kappuccino changed the title [Bug]: Unable to build (nodejs) [Bug]: Unable to build (nodejs) — or update the instance Sep 19, 2024
@andrasbacsai
Copy link
Member

It looks like a temporary ghcr repository error. Can you please try again?

@andrasbacsai andrasbacsai added 💤 Waiting for feedback Issues awaiting a response from the author. and removed 🔍 Triage Issues that need assessment and prioritization. labels Sep 19, 2024
@kappuccino
Copy link
Author

kappuccino commented Sep 19, 2024

Hello andrasbacsai and thank you for your reply.
Still the same on both deploy + update of coolify

Oops something is not okay, are you okay? 😢.
Unable to find image 'ghcr.io/coollabsio/coolify-helper:1.0.0' locally docker: Error response from daemon: Head "https://ghcr.io/v2/coollabsio/coolify-helper/manifests/1.0.0":denied: denied.

@kappuccino
Copy link
Author

If I try to manually pull the ghcr.io/coollabsio/coolify-helper:1.0.0 image from a terminal, I got the same error. Is this normal those images are behind some auth/credential stuff ?

@Conceptiks
Copy link

I too am running into an issue with a build-server configured and authorized with my Github PAT to work on ghcr.io. I am not sure if this is related since the issue above references a denied error while I get an unauthorized error. However, I don't know why.

My token has the following permissions:

  • repo
  • package read/write/update

I am working with an repo that is part of a github-org (sample-org).

2024-Sep-20 10:50:26.054082
SOURCE_COMMIT=ce8c037baaf4900aaf5d1f46fe32ff91f34233c9 COOLIFY_FQDN=https://dev.example.io/ COOLIFY_URL=dev.example.io COOLIFY_BRANCH=dev  docker compose --project-name vcgcgw4kkckwck08ss04g88c --project-directory /data/coolify/applications/vcgcgw4kkckwck08ss04g88c -f /data/coolify/applications/vcgcgw4kkckwck08ss04g88c/docker-compose.yaml up --build -d
2024-Sep-20 10:50:26.054082
vcgcgw4kkckwck08ss04g88c-104811605913 Pulling
2024-Sep-20 10:50:26.347077
vcgcgw4kkckwck08ss04g88c-104811605913 Error Head "[https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9":](https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9%22:) unauthorized
2024-Sep-20 10:50:26.355132
Error response from daemon: Head "[https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9":](https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9%22:) unauthorized
2024-Sep-20 10:50:26.409360
Oops something is not okay, are you okay? 😢
2024-Sep-20 10:50:26.416932
vcgcgw4kkckwck08ss04g88c-104811605913 Pulling 
2024-Sep-20 10:50:26.416932
 vcgcgw4kkckwck08ss04g88c-104811605913 Error Head "[https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9":](https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9%22:) unauthorized
2024-Sep-20 10:50:26.416932
Error response from daemon: Head "[https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9":](https://ghcr.io/v2/sample-org/example/example-dev/manifests/ce8c037baaf4900aaf5d1f46fe32ff91f34233c9%22:) unauthorized
2024-Sep-20 10:50:26.424086
Deployment failed. Removing the new version of your application.

@peaklabs-dev peaklabs-dev removed the 💤 Waiting for feedback Issues awaiting a response from the author. label Sep 26, 2024
@peaklabs-dev
Copy link
Member

peaklabs-dev commented Nov 20, 2024

This issue is most likely not Coolify related, it can occure when you have authenticated with ghrc but your PAT has expired, to fix it log out of ghrc or renew you PAT to make it work.

@github-actions github-actions bot removed the 🐛 Bug Reported issues that need to be reproduced by the team. label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants