Answer the question
In order to leave comments, you need to log in
How to fix git?
Good day!
I ask for your help, because I accidentally broke something.
I have git on my server where I keep all my projects. I once installed gitlab, which I later decided to remove. But I deleted the campaign somehow crookedly, because after the server reboot I can’t connect to the git at all now.
Even when I try to connect stupidly via ssh, I can’t log in, I get an error:
$ ssh [email protected]***.***.***
[email protected]***.***.***'s password:
*****
Welcome to Ubuntu 14.04.4 LTS....
Last login: Fri Jul 29 04:23:08 2016 from ***.***.***.***
Could not chdir to home directory /var/opt/gitlab: No such file or directory
$
Answer the question
In order to leave comments, you need to log in
look at the git user's home directory. Most likely, /var/opt/gitlab was it, and after deleting gitlab, the folder was also deleted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question