docker-registry-ui icon indicating copy to clipboard operation
docker-registry-ui copied to clipboard

docker-registry-ui.js:40 Uncaught TypeError: Cannot read properties of undefined (reading 'filter')

Open iDmple opened this issue 2 years ago • 4 comments

Hi, I use this docker registry UI (chart helm) with a private registry deployed separately.

Bug description

I have an issue with the Creation Date not displaying for OCI charts only (in case of docker images it works fine). My registry does send the creation date and I can see it when accessing the URL with curl for OCI charts.

A clear and concise description of what the bug is.

How to Reproduce

Push an OCI chart to a private registry.

For UI bug, steps to reproduce the behavior:

  1. Click on an image
  2. See creation is shown as 'ago' only with this bug in the console: Screenshot 2024-04-10 at 14 53 50

Expected behavior

I want to be able to see the creation date.

System information

  • OS: MacOS Sonoma
  • Browser:
    • Name: Chrome
    • Version: 123.0.6312.107
  • Docker registry UI:
    • Version: 1.1.3
    • Server: k8s as a service with helm chart
    • Docker version: -
    • Docker registry ui tag: 1.1.3
    • OS/Arch: linux/amd64
    • Tools: kubernetes

iDmple avatar Apr 10 '24 13:04 iDmple

Hello, sorry for the late response.

Could you tell me how did you create the OCI chart ?

FYI, I'm trying to support OCI stuff, but the project is meant to be used for docker images.

Joxit avatar Jun 21 '24 18:06 Joxit

Np. I created it with helm create. Let me know if you need any other info!

iDmple avatar Jun 25 '24 12:06 iDmple

Could you tell me the full process will all the options used ? From the creation until the push to the private registry ? I have never used it :sweat_smile:

Joxit avatar Jul 02 '24 19:07 Joxit

Hey sorry for the late answer.

You can install helm here, and create a chart with $ helm create mychart. You can then package it with $ helm package mychart.

To push it to the OCI registry (docker registry:2 which now supports this): https://medium.com/@fsegredo2000/leverage-oci-registry-with-helm-5eea92fab0a1

In my case I use this to push my charts.

iDmple avatar Aug 09 '24 11:08 iDmple

Hello, I came up with a fix and feature, could you try the tag joxit/docker-registry-ui:main and tell me if everything is okay now ?

You may access to the "history" too image

Joxit avatar Sep 13 '24 18:09 Joxit