Github Registry for Homarr
Trying to update Homarr, but when I pull the image I'm getting a 500 error. So I wanted to add the registry Homarr is using since they changed their image to ghcr.io
I tried pulling the image first, but it wont let me because I dont have the right registry for Homarr... hence the ask.
Operating system: Ubuntu 22.04
Exact Homarr version:
0.15.2
Configuration: Container, running off Portainer 2.19.5Solution:Jump to solution
ok so the answer to my woes was to go to Portainer > Registries > Create a new Registry:
```
Name: Homarr
Registry URL: ghcr.io
Username: ajnart...
17 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
we're going to need a lot more information here.
Where were you even pulling from before? It's always been on ghcr.
What version are you updating from?
What are your logs? (When updating what does it say)
- Where were you even pulling from before? It's always been on ghcr. (It's been on ghcr since 1.3), but I've been pulling from
ghcr.io/ajnart/homarr:latest
- What version are you updating from? 0.15.2
- What are your logs? (When updating what does it say) :
I tried to pull the image first, but then I get a 500 error because the registry i was using is dockerhub-prod-us
The error I get from the pull is:
I'm confused here. We don't have a version 1.3. Also if you've been pulling from
ghcr.io/ajnart/homarr:latest
then that means you've already been pulling from ghcr before.
Also, the logs I'm asking for are the ones from the update attempt, not homarr's logs.
Alright, dug a little, You meant version 0.1.3
That was years ago at the very beginning of the projectall I want to know if there is a registry I should be pulling this off from
Created with Zight
Portainer Docker — Mozilla Firefox & Untitled-2 - Visual Studio...
Shared with Zight
You can see from your screenshot that you're searching docker.io
honestly all I was trying to do was update homarr, but when I try that it doesnt update... and that let me into this rabbit hole
That's because you're searching docker.io instead of ghcr.io
and that is how its always been configured... thats why I was trying to update, so i could point it to the right registry
Frankly no idea how you got v0.15.2 then.
If you look attentively at the "image" input field, you can see it starts with docker.io, you need to change that somehow.
I don't know what environment you're using
I think I figured it out.
I use Portainer predominantly.
Do a docker logout
Try to pull other ghcr images to test
BTW I know this is not a homarr issue, all I wanted to know is what registry to use with homarr so i could create it on Portainer.
Solution
ok so the answer to my woes was to go to Portainer > Registries > Create a new Registry:
This then allowed me to update the image I was using by doing a pull which then grabbed the updated image from
ghcr.io/ajnart/homarr:latest
and once the image updated, I was able to recreate the container with the :latest tag.Ok, so can we mark this as resolved?
yes I was trying to mark my post above as the solution...