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.5
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...
Jump to solution
17 Replies
Cakey Bot
Cakey Bot4mo ago
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?
Tag
Tag4mo ago
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)
Tempus Thales
Tempus Thales4mo ago
- 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) :
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ ts-node ./migrate.ts
Done in 8.49s.
Starting production server...
Listening on port 7575 url: http://77374868db9a:7575
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ ts-node ./migrate.ts
Done in 8.49s.
Starting production server...
Listening on port 7575 url: http://77374868db9a:7575
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:
pull access denied for ghcr.io/ajnart/homarr, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
pull access denied for ghcr.io/ajnart/homarr, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Tag
Tag4mo ago
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 project
Tempus Thales
Tempus Thales4mo ago
all I want to know if there is a registry I should be pulling this off from
Tag
Tag4mo ago
You can see from your screenshot that you're searching docker.io
Tempus Thales
Tempus Thales4mo ago
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
Tag
Tag4mo ago
That's because you're searching docker.io instead of ghcr.io
Tempus Thales
Tempus Thales4mo ago
and that is how its always been configured... thats why I was trying to update, so i could point it to the right registry
Tag
Tag4mo ago
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
Tempus Thales
Tempus Thales4mo ago
I think I figured it out. I use Portainer predominantly.
Manicraft1001
Manicraft10014mo ago
Do a docker logout Try to pull other ghcr images to test
Tempus Thales
Tempus Thales4mo ago
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
Tempus Thales
Tempus Thales4mo ago
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
Password: Use generic token
Name: Homarr
Registry URL: ghcr.io
Username: ajnart
Password: Use generic token
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.
Want results from more Discord servers?
Add your server