whats-up-docker icon indicating copy to clipboard operation
whats-up-docker copied to clipboard

Linuxserver repo

Open Tyrian81 opened this issue 2 years ago • 6 comments

I have 3 sensors that do not play well in home assistant (unknown state)

They're all from the linuxserver/ repo , can i somehow add them ?

containers: Heimdall, Ubooquity, Code-server

they give a :

Error Unsupported Registry unknown

Tyrian81 avatar Feb 05 '23 10:02 Tyrian81

Are these containers pulled from lscr.io?

If so, the support of this registry is not automatically enabled because it requires you to provide Github credentials.

So you have to configure it first. See the documentation here.

fmartinou avatar Feb 08 '23 14:02 fmartinou

I had same pb.

I have well configure WUD with a personal token.

I'm using latest version of WUD.

error in logs: WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_heimdall)

my docker compose for heimdall:

version: "2.1"
services:
  heimdall:
    image: lscr.io/linuxserver/heimdall
    container_name: heimdall
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - ./data/:/config
    ports:
      - 8082:80
      - 8443:443
    restart: unless-stopped

royto avatar Apr 07 '23 07:04 royto

I had same pb.

I have well configure WUD with a personal token.

I'm using latest version of WUD.

error in logs: WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_heimdall)

my docker compose for heimdall:

version: "2.1"
services:
  heimdall:
    image: lscr.io/linuxserver/heimdall
    container_name: heimdall
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - ./data/:/config
    ports:
      - 8082:80
      - 8443:443
    restart: unless-stopped

@royto what i did was in the docker-compose.yml i added the following: WUD_REGISTRY_GHCR_TOKEN=$WUD_REGISTRY_GTH_TOKEN Where WUD_REGISTRY_GTH_TOKEN is the token you get from https://github.com/settings/tokens

There i selected the Tokens Classic and with Generate new token i selected Generate new token (classic).

There you must give the token a name and you must select the option: read:packages That option is not that far in the list,, like the 9th option.

Then the token you get from there i place in my .env file like this: WUD_REGISTRY_GHCR_TOKEN=[TOKEN-From-The-Github-Site]

MrMdemiC avatar Apr 10 '23 12:04 MrMdemiC

I have set the token in the wud docker-compose. I have to set it for all container using this registry ? This is not what I understand from the documentation.

royto avatar Apr 10 '23 16:04 royto

Looking at the logs I get the following error:

07:00:00.791 WARN whats-up-docker/registry: Some registries failed to register (Error when registering component lscr ("username" is not allowed))

royto avatar Apr 21 '23 07:04 royto

I remove the WUD_REGISTRY_LSCR_USERNAME env from WUD and it working now

royto avatar Apr 21 '23 07:04 royto