Replies: 8 comments 6 replies
-
Did you work this out? I've got a private GitHub repo which I can pull from the command line, I can use the pass command to get the access token, but Watchtower is getting a 403 every time. |
Beta Was this translation helpful? Give feedback.
-
Same issue here. I can pull it using
Any ideas how to debug this? |
Beta Was this translation helpful? Give feedback.
-
I was trying to use `pass` as the credential helper and it didn't work so I
switched back to putting the creds directly into the config file and it's
working again.
It would be good to do it in the secure way.
`pass` is able to retrieve the credentials so I know that bit was working
correctly.
…On Tue, 15 Oct 2024, 18:57 Aleksei Ivanov, ***@***.***> wrote:
Same issue here. I can pull it using docker compose pull but getting
error with watchtower:
level=warning msg="Reason: registry responded to head request with \"403 Forbidden\", auth: \"not present\"" container=/app-app-1 image="<redacted>:edge"
time="2024-10-15T16:21:25Z" level=info msg="Unable to update container \"/app-app-1\": Error response from daemon: Head \"https://ghcr.io/v2/<redacted>/manifests/edge\": unauthorized. Proceeding to next."
Any ideas how to debug this?
—
Reply to this email directly, view it on GitHub
<#1972 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWLVRZZRSLU4DLP3UN3Z3VJRRAVCNFSM6AAAAABHBALSPSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJVGA4TQNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
How do you recreate the stack?
…On Fri, 25 Oct 2024, 19:25 Aleksei Ivanov, ***@***.***> wrote:
hey @lexuzieel <https://github.com/lexuzieel> , did you manage to debug
this ? I am stuck on the same issue.
Yes, in my case recreating docker compose stack worked. Maybe some token
expired since I was pulling from private registry but I didn't debug it.
—
Reply to this email directly, view it on GitHub
<#1972 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWM2OE7RKN5G7LTNK7LZ5KEKXAVCNFSM6AAAAABHBALSPSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBVGU4DGOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I thought you meant something more complicated than that.
…On Fri, 25 Oct 2024, 19:43 Aleksei Ivanov, ***@***.***> wrote:
How do you recreate the stack?
On Fri, 25 Oct 2024, 19:25 Aleksei Ivanov, *@*.***> wrote:
hey @lexuzieel <https://github.com/lexuzieel> https://github.com/lexuzieel
, did you manage to debug
this ? I am stuck on the same issue.
Yes, in my case recreating docker compose stack worked. Maybe some token
expired since I was pulling from private registry but I didn't debug it.
—
Reply to this email directly, view it on GitHub
#1972 (reply in thread)
<#1972 (reply in thread)>
,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA4SWM2OE7RKN5G7LTNK7LZ5KEKXAVCNFSM6AAAAABHBALSPSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBVGU4DGOA
.
You are receiving this because you commented.Message ID:
*@*.***>
docker compose down
docker compose up -d
—
Reply to this email directly, view it on GitHub
<#1972 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWKOJTBOAYI566YNNZDZ5KGM7AVCNFSM6AAAAABHBALSPSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBVGU4TMNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes I am. I'm sure I've tried restarting it like that but maybe not. I'll
give it a try next week.
…On Fri, 25 Oct 2024, 19:52 Aleksei Ivanov, ***@***.***> wrote:
That's what fixed it for me. Are you deploying watchtower using docker?
—
Reply to this email directly, view it on GitHub
<#1972 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWN7CIGEQSQV6SKNIWLZ5KHQFAVCNFSM6AAAAABHBALSPSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBVGYYDGNI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Did This is my
This returns the token:
I've also tried it on the command line and this fails as well:
Error:
|
Beta Was this translation helpful? Give feedback.
-
If I go back to this in my config file, it works fine:
|
Beta Was this translation helpful? Give feedback.
-
I did docker login successfully and verified that the auth does appear in the config file.
Watchtower still fails to pull the image, why?
My Stack:
Im also getting no creds found
Beta Was this translation helpful? Give feedback.
All reactions