Je suis entrain de monter mon gitlab sur un serveur linux debian.
La configuration est faites avec Apache et Mysql et la gitlab marche très bien : Sauf git !
En effet, je peux aller sur mon site, ouvrir des projets et faire toute la gestion que je souhaite sous gitlab, mais au moment faire mon push pour init le git, j'ai l'erreur suivant :
remote: Not Found
fatal: repository 'http://[gitlab.mondomaine].fr/[Groupe]/[Projet]/' not found
J'ai bien sûr suivi les étapes indiqué par gitlab pour init mon repository, avec git@ et http.
J'ai remarquer l'erreur suivante en tapant cette commande : sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.9 ? ... OK (1.7.9)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
[Groupe] / [Projet] ... repository is empty
Running /home/git/gitlab-shell/bin/check
/usr/local/lib/ruby/2.0.0/psych.rb:205:in `parse': (/home/git/gitlab-shell/config.yml): mapping values are not allowed in this context at line 2 column 5 (Psych::SyntaxError)
from /usr/local/lib/ruby/2.0.0/psych.rb:205:in `parse_stream'
from /usr/local/lib/ruby/2.0.0/psych.rb:153:in `parse'
from /usr/local/lib/ruby/2.0.0/psych.rb:129:in `load'
from /usr/local/lib/ruby/2.0.0/psych.rb:299:in `block in load_file'
from /usr/local/lib/ruby/2.0.0/psych.rb:299:in `open'
from /usr/local/lib/ruby/2.0.0/psych.rb:299:in `load_file'
from /home/git/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
from /home/git/gitlab-shell/lib/gitlab_logger.rb:13:in `new'
from /home/git/gitlab-shell/lib/gitlab_logger.rb:13:in `<top (required)>'
from /home/git/gitlab-shell/lib/gitlab_net.rb:6:in `require_relative'
from /home/git/gitlab-shell/lib/gitlab_net.rb:6:in `<top (required)>'
from /home/git/gitlab-shell/bin/check:4:in `require_relative'
from /home/git/gitlab-shell/bin/check:4:in `<main>'
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /home/git/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 GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ...
yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
Esgi 3A DW 1 - Projet Annuel Blog / Wiki du groupe ... yes
Projects have satellites? ...
Esgi 3A DW 1 - Projet Annuel Blog / Wiki du groupe ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)
Checking GitLab ... Finished
Si vous pouvez m'aider, cela m'aiderais grandement
- Edité par Pyeos 28 novembre 2014 à 16:44:13
"Les folies sont les seules choses qu'on ne regrette jamais"
" Impossible de se connecter au git pour push un commit, mais après avoir bien épluché les forums, j'ai finalement trouver la source du problème : le fichier "secret" de gitlab et gitlab-shell étaient différents… Ce qui explique pourquoi je me faisais jeter comme un malpropre à chaque tentative de connexion à l'api."
Oui, j'ai trouvé l'erreur hier... j'avais supprimer le premier #....
Fallait bien que cela m'arrive une fois, à savior passer 4 jours sur un bug aussi ridicule XD
Merci pour ta réponse tout de même.
"Les folies sont les seules choses qu'on ne regrette jamais"
Gitlab Error
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.