How to fix error "Path to repository is invalid" when creating new repository in project setting?

Added by Hungli Pan 5 months ago

Hi all,

I am newbie of redmine.
I installed redmine in my pc and created a project (pj-A), connected with two local git repositories (rep-A and rep-B) in the same pc one month ago.

But in this week, I tried to create another project (pj-B), and set another local git repository (rep-C), redmine reports error "Path to repository is invalid".

My redmine setting is:
centos 7.8
redmine 4.1.1
passenger 6.0.4
nginx 1.16.1
git 1.8.3.1

I have tried:
1.set the repository rep-B in project pj-B: the same error
2.set the repository rep-B again in project pj-A: the same error
3.view the records of repository rep-A in redmine: yes, work fine.
4.check the log of nginx and redmine: no clue

Could anyone give me some advices to fix?

Replies (1)

RE: How to fix error "Path to repository is invalid" when creating new repository in project setting? - Added by Mischa The Evil 5 months ago

The paths to rep-A and rep-B differ probably. In that case is the first thing that comes to my mind the 'SCM paths validation' feature (see #1415) that prevents you from setting that particular repo. You can check your configuration.yml file to see if (and if so how) it is configured and if that causes your issue.

(1-1/1)