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,

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, below are the logs are generating while accessing git repository project in gitlab browser

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)

my Git repository project source is not visible in gitalab (gitlab-ce 13.8.3). Please help.

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

Please refer to the following resources: