I had a space problem with my server and after some bad decisions I ended with just a copy of /var/opt/gitlab/ directory (22GB)
The steps I had followed are:
- Install gitlab-ce in the new server
- Edit /etc/gitlab/gitlab.rb: I changepostgresql[‘data_dir’], postgresql[‘dir’], postgresql[‘home’], and git_data_dirs to point to the backed up locations.
3.- Reconfigure Gitlab
But it seams nothing happend the web page is asking me to create a user as in a new installation