OpenSSL::X509::StoreError
Hi,
As soon as I try to create a file from the web interface of my gitlab I get this output :
/usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:208:in 'add_file': system lib (OpenSSL::X509::StoreError)
Results of GitLab environment info
System information
System: Arch rolling
Current User: gitlab
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version:
Bundler Version:unknown
Rake Version: 10.5.0
Redis Version: 3.2.8
Sidekiq Version:4.2.7
GitLab information
Version: 8.17.4
Revision: fatal: Not a git repository (or any of the parent directories): .git
Directory: /usr/share/webapps/gitlab
DB Adapter: postgresql
URL: ****
HTTP Clone URL: https://****/some-group/some-project.git
SSH Clone URL: gitlab@****:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 4.1.1
Repository storage paths:
- default: /var/lib/gitlab/repositories/
Hooks: /usr/share/webapps/gitlab-shell/hooks/
Git: /usr/bin/git
Results of GitLab application Check
Checking GitLab Shell ...
GitLab Shell version >= 4.1.1 ? ... OK (4.1.1)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by gitlab:gitlab?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ... can't check, you have no projects
Running /usr/share/webapps/gitlab-shell/bin/check
Check GitLab API access: /usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:208:in `add_file': system lib (OpenSSL::X509::StoreError)
from /usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:208:in `cert_store'
from /usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:145:in `http_client_for'
from /usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:170:in `request'
from /usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:195:in `get'
from /usr/share/webapps/gitlab-shell/lib/gitlab_net.rb:77:in `check'
from /usr/share/webapps/gitlab-shell/bin/check:12:in `<main>'
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u gitlab -H editor /usr/share/webapps/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... no
Try fixing it:
Install the init script
For more information see:
doc/install/installation.md in section "Install Init Script"
Please fix the error above and rerun the checks.
Init script up-to-date? ... can't check because of previous errors
projects have namespace: ... can't check, you have no projects
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.3)
Your git bin path is "/usr/bin/git"
Git version >= 2.7.3 ? ... yes (2.10.2)
Active users: 1
Checking GitLab ... Finished
/usr/share/webapps/gitlab-shell/config.yml
# GitLab user. git by default
user: gitlab
# URL to GitLab instance, used for API calls. Default: http://localhost:8080.
# For relative URL support read http://doc.gitlab.com/ce/install/relative_url.html
# You only have to change the default if you have configured Unicorn
# to listen on a custom port, or if you have configured Unicorn to
# only listen on a Unix domain socket. For Unix domain sockets use
# "http+unix://<urlquoted-path-to-socket>", e.g.
# "http+unix://%2Fpath%2Fto%2Fsocket"
gitlab_url: "https://****/"
# See installation.md#using-https for additional HTTPS configuration details.
http_settings:
# read_timeout: 300
# user: someone
# password: somepass
ca_file: /etc/letsencrypt/live/****/fullchain.pem
ca_path: /etc/letsencrypt/live/****/
self_signed_cert: false
Thanks for your help and your time.