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

Watchtower Logs Image Pull #51

Closed
crespire opened this issue Jan 31, 2023 · 3 comments
Closed

Watchtower Logs Image Pull #51

crespire opened this issue Jan 31, 2023 · 3 comments

Comments

@crespire
Copy link
Contributor

Hi Bradford,

Thanks again for your work on this. I looked into my watchtower logs and saw this:

watchtower      | time="2023-01-26T12:49:53-05:00" level=info msg="Watchtower 1.5.1"
watchtower      | time="2023-01-26T12:49:53-05:00" level=info msg="Using no notifications"
watchtower      | time="2023-01-26T12:49:53-05:00" level=info msg="Checking all containers (except explicitly disabled with label)"
watchtower      | time="2023-01-26T12:49:53-05:00" level=info msg="Scheduling first run: 2023-01-29 03:00:00 -0500 EST"
watchtower      | time="2023-01-26T12:49:53-05:00" level=info msg="Note that the first check will be performed in 62 hours, 10 minutes, 6 seconds"
watchtower      | time="2023-01-29T03:00:09-05:00" level=warning msg="Could not do a head request for \"bitwarden_gcloud_proxy:latest\", falling back to regular pull." container=/proxy image="bitwarden_gcloud_proxy:latest"
watchtower      | time="2023-01-29T03:00:09-05:00" level=warning msg="Reason: registry responded to head request with \"401 Unauthorized\", auth: \"Bearer realm=\\\"https://auth.docker.io/token\\\",service=\\\"registry.docker.io\\\",scope=\\\"repository:library/bitwarden_gcloud_proxy:pull\\\",error=\\\"insufficient_scope\\\"\"" container=/proxy image="bitwarden_gcloud_proxy:latest"
watchtower      | time="2023-01-29T03:00:10-05:00" level=info msg="Unable to update container \"/proxy\": Error response from daemon: pull access denied for bitwarden_gcloud_proxy, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. Proceeding to next."
watchtower      | time="2023-01-29T03:00:10-05:00" level=info msg="Session done" Failed=0 Scanned=6 Updated=0 notify=no

I wasn't able to find any reference to a bitwarden_gcloud_proxy:latest image anywhere in the docker_compose.yml either. Based on the information I can see, it seems like I can ignore this error? Can you confirm?

@crespire crespire changed the title cleanup? watchtower Log Q Watchtower Logs Image Pull Issue Feb 1, 2023
@crespire crespire changed the title Watchtower Logs Image Pull Issue Watchtower Logs Image Pull Feb 1, 2023
@dadatuputi
Copy link
Owner

Can you post your docker-compose? Unless you can confirm that it is the same as what's in the repo master?

@crespire
Copy link
Contributor Author

crespire commented Feb 6, 2023

Can you post your docker-compose? Unless you can confirm that it is the same as what's in the repo master?

I am using the one on repo's master without changes.

@dadatuputi
Copy link
Owner

Ah yes, this is due to 837c1fc. I put in a temporary fix to suppress the warning, but long-term I will probably migrate some of the containers to separate docker images that publish to Docker hub and will have watchtower support.

The discussion here indicates that the solution isn't straightforward, at least it isn't with the way this project is structured.

I have this as an open request (#49) that I will get around to soon.

crespire added a commit to crespire/bitwarden_gcloud that referenced this issue Feb 7, 2023
temporary solution for watchtower error, closes dadatuputi#51
dadatuputi added a commit that referenced this issue Apr 3, 2023
* temporary solution for watchtower error, closes #51

* fix YUBICO env vars so vaultwarden can start
dadatuputi added a commit that referenced this issue Apr 3, 2023
* temporary solution for watchtower error, closes #51

* fix YUBICO env vars so vaultwarden can start

* use proper caddy image
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

2 participants