Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RunTimeException: There are no GIT repositories in <path-to-git-repository> #314

Closed
hkok opened this issue Apr 19, 2013 · 3 comments
Closed

Comments

@hkok
Copy link

hkok commented Apr 19, 2013

I'm running the Linux CentOS 6.4 with git version 1.7.1 and as indicated in the instruction for gitlist 0.3, I extracted the files to /var/www/html/gitlist directory. I updated the config.ini to point to the git repository. Since the git repository sit sit outside the web repository, I am wondering if selinux is preventing execution of index.php script. The http log file appear to be clean. Any help to debug this is much appreciated. Thanks.

in /var/www/html/gitlist/vendor/klaussilveira/gitter/lib/Gitter/Client.php line 79
at Client->getRepositories('') in /var/www/html/gitlist/src/GitList/Controller/MainController.php line 17
at GitList\Controller{closure}()
at call_user_func_array(object(Closure), array()) in /var/www/html/gitlist/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php line 129
at HttpKernel->handleRaw(object(Request), '1') in /var/www/html/gitlist/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php line 73
at HttpKernel->handle(object(Request), '1', true) in /var/www/html/gitlist/vendor/silex/silex/src/Silex/Application.php line 509
at Application->handle(object(Request)) in /var/www/html/gitlist/vendor/silex/silex/src/Silex/Application.php line 484
at Application->run() in /var/www/html/gitlist/index.php line 10

@hkok
Copy link
Author

hkok commented Apr 23, 2013

Ok, I got gitlist running after spending a good day reading the php code. The repository should point to one level up above the bare git repository and I need to run chcon to change the path accessible by http (thanks to selinux).

I run into other small issues.
Gitter issue which is reference in #220
DateTimeZone issue which is reference in #175 but appear to be fix in the latest development build

@klaussilveira
Copy link
Owner

Running the latest master solved your problems?

@hkok
Copy link
Author

hkok commented May 6, 2013

Yup. good now. The only comment I have with the default image from gravatar doesn't show up well in web browser (eg. IE which show a broken image). Google Chrome display them OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants