ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Help with local Git repo
Added by Zee Zain at 2011-09-02 09:23 pm
I love Chiliproject, great app.
I have a server that has a bare Git repo (centralized repo using gitolite) that developers push to. On the same server I have 2.2 Chiliproject installed running on Apache/Passenger. The server is Ubuntu 11.04.
I followed Chiliproject instructions to integrate with Git and sat up repo path in Chiliproject, but when I go to repo view I get a 404 error saying not a Git repo. From Apache logs I see:
fatal: Not a git repository: '/home/git/repositories/myproject.git'
I made sure the www-data user apache runs with has read/execute permissions to path above. Any ideas?
Thanks,
Zee
Replies (10)
RE: Help with local Git repo - Added by Felix Schäfer at 2011-10-02 06:16 pm
Do you get this error in ChiliProject or are you trying to access the repository itself over http?
RE: Help with local Git repo - Added by Denise Mauldin at 2011-10-07 09:27 pm
I have a similar? issue. I get '404 The entry or revision was not found in the repository" when looking at the 'Repository' tab on Chiliproject. I can do git ls-remote /path/to/git/repository and it returns information, but I do not have grack set up. Do I need to set up grack in order to look at a local repository?
RE: Help with local Git repo - Added by Felix Schäfer at 2011-10-08 04:25 pm
Denise Mauldin wrote:
I have a similar? issue. I get '404 The entry or revision was not found in the repository" when looking at the 'Repository' tab on Chiliproject. I can do git ls-remote /path/to/git/repository and it returns information, but I do not have grack set up. Do I need to set up grack in order to look at a local repository?
You don't need grack, not, but ChiliProject will show an "entry or revision not found" error as long as you don't have anything in the repository. Try pushing a commit to it.
RE: Help with local Git repo - Added by Zee Zain at 2011-10-14 03:54 am
I can access the git repo over ssh fine from remote clients. That's not the issue.
The error I got is from chili, I access the repo from Chili through the file system since both the git repo and chili are on the same server.
RE: Help with local Git repo - Added by Felix Schäfer at 2011-10-14 04:55 am
OK, next ideas: Make sure the git executable is in the PATH
of the user running your ChiliProject (or make sure it's right in the config file if you don't want to rely on PATH
), and make sure passenger runs ChiliPorject as the user you think it does (Passenger has some user-switching features that might be surprising to people that don't know them…).
RE: Help with local Git repo - Added by James Ang at 2011-10-17 08:58 am
Hi,
I'm also having the issue with 2.3.0 with a cloned git repository even in "chiliproject/files/git/u-boot.git"
The Repository tab will always shows "404: The entry or revision was not found in the repository".
What was logged in production.log is as below,
Processing RepositoriesController#show (for 127.0.0.1 at 2011-10-17 16:53:14) [GET]
Parameters: {"action"=>"show", "id"=>"u-boot", "controller"=>"repositories"}
Rendering template within layouts/base
Rendering common/error (404)
Completed in 166ms (View: 31, DB: 5) | 404 Not Found [http://localhost/chiliproject/projects/u-boot/repository]
Please advise.
Thanks in adv.
James
RE: Help with local Git repo - Added by Felix Schäfer at 2011-10-17 11:07 am
James, could you please open a new forum thread so as to have only one problem per thread. Furthermore, please provide the ruby and rails versions you use, as well as which server (mongrel, webrick, apache+passenger, …) you use, thanks.
RE: Help with local Git repo - Added by James Ang at 2011-10-18 03:00 am
Hi Felix,
I've posted a new thread as requested.
https://www.chiliproject.org/boards/1/topics/858
My problem is very much similar to Zee case of using a local git repository.
Thanks.
James.
RE: Help with local Git repo - Added by Felix Schäfer at 2011-10-18 05:06 am
James Ang wrote:
My problem is very much similar to Zee case of using a local git repository.
The symptom is the same, but there can (unfortunately) be a lot of causes for this…
RE: Help with local Git repo - Added by Zee Zain at 2011-10-21 02:59 am
Passenger was running with the nouser, it was not able to access the git repo on file system. That's what I found out so far, I have not gotten to change it. I'll change it and update the thread.
(1-10/10)