-
Notifications
You must be signed in to change notification settings - Fork 475
Images and Tag Not displaying in portus UI. #1043
Comments
This is most probably a missconfiguration in your setup. Are you sure that the registry is able to reach portus with an event notification when an image is pushed ? Try to read the logs of the registry and portus. Moreover, it would be useful to know the versions of both Portus and the registry. Finally, note that this is quite a common question/pitfall. Make sure to read similar issues, since they can sometimes provide helpful information. |
Hi , Thanks |
Hi, ##################################################################################
# This file contains the default values for the configuration of this
# application. In order to change them, write your own config-local.yml file
# (it will be ignored by git). For more info, you can read the dedicated page
# here: http://port.us.org/docs/Configuring-Portus.html.
# Settings for the Portus mailer.
email:
from: "dockeriisbpo@gmail.com"
name: "Portus"
reply_to: "dockeriisbpo@gmail.com"
# If enabled, then SMTP will be used. Otherwise 'sendmail' will be used
# (defaults to: /usr/sbin/sendmail -i -t).
smtp:
enabled: flase
address: "smtp.example.com"
port: 587,
user_name: "username@example.com"
password: "password"
domain: "example.com"
# If enabled, then the profile picture will be picked from the Gravatar
# associated with each user. See: https://en.gravatar.com/
gravatar:
enabled: true
# Allow admins and owners to delete images and tags. This feature should *only*
# be enabled if the version of the running registry is 2.4 or higher since
# it's the first version that supports garbage collection. That being said,
# Portus will only delete the manifests of the tags and administrators are
# supposed to be responsible for garbage collecting unreferenced blobs. This is
# because the registry 2.4 does not garbage collect automatically. For more
# information on garbage collection on the registry, read the documentation:
# https://github.com/docker/distribution/blob/master/docs/garbage-collection.md
delete:
enabled: true
# LDAP support. If enabled, then only users of the specified LDAP server will
# be able to use Portus.
ldap:
enabled: true
hostname: "XX.XX.XX.XX"
port: 2389
# Available options: "plain", "simple_tls" and "starttls". The default is
# "plain", the recommended is "starttls".
method: "plain"
# The base where users are located (e.g. "ou=users,dc=example,dc=com").
base: "ou=users,ou=kml,o=hst,c=in"
# User filter (e.g. "mail=george*").
filter: "user_name_attribute = mail"
# The LDAP attribute where to search for username. The default is 'uid'.
uid: "uid"
# LDAP credentials used to search for a user.
authentication:
enabled: false
bind_dn: ""
password: ""
# Portus needs an email for each user, but there's no standard way to get
# that from LDAP servers. You can tell Portus how to get the email from users
# registered in the LDAP server with this configurable value. There are three
# possibilities:
#
# - disabled: this is the default value. It means that Portus won't do a
# thing when registering LDAP users (users will be redirected to their
# profile page until they setup an email account).
# - enabled where "attr" is empty: for this you need "ldap.base" to have
# some value. In this case, the hostname will be guessed from the domain
# component of the provided base string. For example, for the dn:
# "ou=users,dc=example,dc=com", and a user name "user", the resulting
# email is "user@example.com".
# - enabled where "attr" is not empty: with this you specify the attribute
# inside a LDIF record where the email is set.
#
# If something goes wrong when trying to guess the email, then it just falls
# back to the default behavior (empty email).
guess_email:
enabled: true
attr: "mail"
# Set first_user_admin to true if you want that the first user that signs up
# to be an admin.
#
# Set to false otherwise. Then you will need to run
# rake portus:make_admin[USERNAME]
# in order to set the admin user
first_user_admin:
enabled: true
# If enabled, then users can signup with the signup form. Otherwise, the admin
# is responsible of creating new users by either:
# - Using the "portus:create_user" rake task.
# - Using the form available in the admin panel.
# This is ignored if LDAP is enabled.
signup:
enabled: true
# By default require ssl to be enabled when running on production
check_ssl_usage:
enabled: true
# Contains advanced options that tweak how Portus interacts with the
# Registry. Don't touch any of these values unless you *really* know what you
# are doing.
registry:
# Set the expiration time in minutes for the JWT Token that Portus uses to
# authenticate with the registry.
#
# Note that this is just a work-around on the fact that the registry does not
# try to get a new token again after the current one has expired. Once a
# solution is issued upstream, we can deprecate this option.
#
# See: https://github.com/SUSE/Portus/issues/510
jwt_expiration_time:
value: 5
# Set the pagination value for API calls that fetch data from the
# registry. You can read more about pagination in the registry here:
# https://github.com/docker/distribution/blob/master/docs/spec/api.md#pagination
catalog_page:
value: 100
# The FQDN of the machine where Portus is being deployed.
machine_fqdn:
value: "localhost"
# Allow users to have different display names on the web site. This will
# **not** be the username used by `docker login`. It defaults to false because
# it might confuse users that are not fully aware of it.
display_name:
enabled: false
user_permission:
# Allow users to change the visibility or their personal namespace. If this is
# disabled, only an admin will be able to change this. It defaults to true.
change_visibility:
enabled: true
# Allow users to create/modify teams if they are an owner of it. If this is
# disabled only an admin will be able to do this. This defaults to true.
manage_team:
enabled: true
# Allow users to create/modify namespaces if they are an owner of it. If this
# is disabled, only an admin will be able to do this. This defaults to true.
manage_namespace:
enabled: true
################################################################################ Thanks |
Hi Kumar. I've taken the liberty to wrap the config you submitted with backticks so the comment is more readable, I hope you don't mind :) Now, the configuration looks ok, but that was not what I was looking for exactly. That is, it would be more helpful to check the registry's config (usually |
HI, |
Hi Team, can someone help me on this issue.... Thanks |
Are you sure you did run the |
Hi , ./compose-setup.sh -e my.hostname.ip Thanks |
Hi were you fixed this problem,i have it same,thank you |
hello, i have the same problem .. could you please clarify on how to fix it ? |
Same here :( |
@robertofabrizi see comment. |
same here :( |
#2243 (comment) |
Hi Team,
Am able to push and images. But when i check in portus UI, no images are showing.
Also enabled delete option
delete:
enabled: true
Thanks
Kumar
The text was updated successfully, but these errors were encountered: