[DRE-maint] Bug#913581: Problem solved
David López Zajara (Er_Maqui)
er_maqui at darkbolt.net
Mon Nov 19 15:55:48 GMT 2018
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
After information on the last bug report, I've tried to populate
.gitlab_shell_secret file with a random key. After doing this and a gitlab
restart, I've tried check and it's working.
Doing suggested check on your last message (I'm sorry, when I've sent the
last one from me I didn't see your response):
With .gitlab_shell_secret file empty:
kanade:~# ./gitlab-rake.sh gitlab:check
Check if Gitlab is configured correctly...
Checking GitLab Shell ...
GitLab Shell version >= 7.1.4 ? ... OK (7.2.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by gitlab:root, or 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/gitlab-shell/bin/check
Check GitLab API access: FAILED. code: 401
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/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
Reply by email is disabled in config/gitlab.yml
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... skipped (no tmp uploads
folder yet)
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have namespace: ... can't check, you have no projects
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.3 ? ... yes (2.5.1)
Git version >= 2.9.5 ? ... yes (2.19.1)
Git user has default SSH configuration? ... yes
Active users: ... 0
Checking GitLab ... Finished
kanade:~#
Populating the file with some random string:
kanade:~# ./gitlab-rake.sh gitlab:check
Check if Gitlab is configured correctly...
Checking GitLab Shell ...
GitLab Shell version >= 7.1.4 ? ... OK (7.2.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by gitlab:root, or 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/gitlab-shell/bin/check
Check GitLab API access: OK
Redis available via internal API: OK
Access to /usr/share/gitlab/.ssh/authorized_keys: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... skipped (no tmp uploads
folder yet)
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have namespace: ... can't check, you have no projects
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.3 ? ... yes (2.5.1)
Git version >= 2.9.5 ? ... yes (2.19.1)
Git user has default SSH configuration? ... yes
Active users: ... 0
Checking GitLab ... Finished
kanade:~#
- From all this information, I can determine the problem are this file
aren't populated. I didn't know why.
I've do lot of reinstallations of gitlab package, and if I remember
correctly, when I delete gitlab, and do a apt-get autoremove, gitlab-shell
is uninstalled too.
Regards,
https://maqui.darkbolt.net/
Linux registered user ~#363219
PGP keys avaiables at KeyServ. ID: 0x4233E9F2
Los hombres somos esclavos de la historia
-----BEGIN PGP SIGNATURE-----
iF0EARECAB0WIQQIUZK8y555KYqDrRx8WMDgQjPp8gUCW/Lc+AAKCRB8WMDgQjPp
8hHGAKCqS2ttuwpQLDNRO1pedf6h6eQYBACaA5fMSb2aX9ieyEQsB28vRTEBQwM=
=+mqx
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20181119/f41412a1/attachment.html>
More information about the Pkg-ruby-extras-maintainers
mailing list