An error occurred while fetching folder content GitLab

Hi @ratnesh930,

can you share more details where you encounter this error, and which GitLab versions are involved?

Kind regards,
Michael

GitLab Community Edition [13.8.3].

I have installed this in my VM Ubuntu 18.04.5, and there are may projects pushed by developer to this giltab repository, and when I am trying to explore src files in gitlab weblogin it showing “An error occurred while fetching folder content.”, previously it was working properly, suddenly stopped working, Please help to fix this issues

Make sure your services are running:

gitlab-ctl status

perhaps even restart them:

gitlab-ctl restart

you might even need to restart the systemd service:

systemctl restart gitlab-runsvdir

and see if that helps.

Please help, Still same issues,

Gitlab::Git::Repository::NoRepository (5:GetRepoPath: not a git repository: “/var/opt/gitlab/git-data/repositories/@hashed/d0/29/xxxxxxa014b70ad704bc6c8d1c.git”.):
lib/gitlab/git/wraps_gitaly_errors.rb:9:in `rescue in wrapped_gitaly_errors’

Completed 500 Internal Server Error in 53ms (Views: 0.2ms | ActiveRecord: 2.8ms | Elasticsearch: 0.0ms | Allocations: 21163)