« Gitlab : level=fatal msg="configuring application: filesystem: mkdir /var/opt/gitlab/gitlab-rails/shared/registry/docker/registry/lockfiles: permission denied" » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 39 : | Ligne 39 : | ||
[[Catégorie:Gitlab]] | [[Catégorie:Gitlab]] | ||
<html> | |||
<a href="https://www.compteurdevisite.com" title="compteur web gratuit sans pub"><img src="https://counter6.optistats.ovh/private/compteurdevisite.php?c=b4epghealnwlf7wuq7gn3ygll9aywrfx" border="0" title="compteur web gratuit sans pub" alt="compteur web gratuit sans pub"></a> | |||
</html> |
Dernière version du 17 février 2025 à 18:09
Symptômes
- Impossible de supprimer un projet
- Erreur : Deletion of project fails with useless error message: "Failed to open TCP connection to localhost:5000"
- Si on fait un
netstat -altupen | grep 5000
, pas de port ouvert en écoute sur 5000
root@VLINXXXPRD:~# telnet localhost 5000
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Solution
- Problème de droits suite à une mise à jour.
sudo chown -R registry:registry /var/opt/gitlab/gitlab-rails/shared/registry
Redémarrer Gitlab au besoin
gitlab-ctl restart
root@VLINXXX:~# netstat -altupen | grep 5000
tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN 994 458874422 226407/registry