问题
Facing issue with gitlab repository not available.
When accessing project form gitlab page it shows below error
No repository
The repository for this project does not exist.
This means you can not push code until you create an empty repository or import existing one.
When check over project details from root login below is problem
Project info:
Name: app
Namespace: Administrator
Owned by: Administrator
Created by: Administrator
Created on: May 20, 2016 9:08am
http: http://192.168.1.123/root/app.git
ssh: gitlab@192.168.1.123:root/app.git
repository: does not exist
access: Private
And later checked in gitlab file system under below path
root@root:/var/opt/gitlab/git-data/repositories/root/app.git#
exists and folder size is of 3 mb which should be same.
And when checked for ssh access i am able to clone project but push to project isn't working and showing below error
Pushing to gitlab@192.168.1.123:root/app.git
GitLab: A repository for this project does not exist yet.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
And when checked in the gitlab machine and checked for 'gitlab-rails dbconsole' Able to login and check table for project with above app project it exists fine.
Need help to fix issue of project path isn't pointed properly. Below is sample output of another project for which its showing proper project details.
Name: newname
Namespace: Administrator
Owned by: Administrator
Created by: Administrator
Created on: Sep 14, 2017 12:03pm
http: http://192.168.1.123/root/newname.git
ssh: gitlab@192.168.1.123:root/newname.git
fs: /var/opt/gitlab/git-data/repositories/root/newname.git
Size 0.2 MB
last commit: 5 months ago
access: Private
来源:https://stackoverflow.com/questions/48518323/gitlab-repository-does-not-exists-issue