How to fix error "Path to repository is invalid" when creating new repository in project setting?
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:
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?
RE: How to fix error "Path to repository is invalid" when creating new repository in project setting? - Added by Mischa The Evil about 1 month 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.