Good day, everyone.

Wondering, if anyone could give me some clues on following question:

Intro:
  I have gitlab enterprise installed  8.10.5-ee

I need to restore backup, that makes use of gitlab container registry.
I already have docker v2 registry installed on the same host locally, but 
bot sure what steps shoud I refer to configure rest of 
commented parameters

registry:
    enabled: true
   # host: registry.example.com
   # port: 5005
    api_url: http://localhost:5000/ # internal address to the registry, 
will be used by GitLab to directly communicate with API
   # key_path: config/registry.key
   # path: shared/registry
   # issuer: gitlab-issuer

With config above, I get error 500 now

Processing by Projects::ContainerRegistryController#index as HTML           
                                                                            
                                                       
 Parameters: {"namespace_id"=>"docker", "project_id"=>"build-runner"}       
                                                                            
                                                      
Completed 500 Internal Server Error in 39ms (ActiveRecord: 4.0ms)           
                                                                            
                                                       
                                                                            
                                                                            
                                                      
TypeError (no implicit conversion of nil into String):                     
                                                                            
                                                        
 lib/json_web_token/rsa_token.rb:20:in `read'                               
                                                                            
                                                      
 lib/json_web_token/rsa_token.rb:20:in `key_data'                           
                                                                            
                                                      
 lib/json_web_token/rsa_token.rb:24:in `key'                               
                                                                            
                                                       
 lib/json_web_token/rsa_token.rb:28:in `public_key'                         
                                                                            
                                                      
 lib/json_web_token/rsa_token.rb:33:in `kid'                               
                                                                            
                                                       
 lib/json_web_token/rsa_token.rb:12:in `encoded'                           
                                                                            
                                                       
 app/services/auth/container_registry_authentication_service.rb:26:in 
`full_access_token'                                                         
                                                            
 app/models/project.rb:426:in `container_registry_repository'

which could be sign of not finally configured registry 
(https://gitlab.com/gitlab-org/gitlab-ce/issues/19969)

Any help is welcome, especially pointing to some documentation or 
instruction.

Kind Regards,
  Vyacheslav

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/973337dd-bb4b-4031-b6e8-380e34a2ee08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to