Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1025341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:54:48+00:00 2026-05-16T11:54:48+00:00

I installed gitosis and redmine and am running it through apache/passenger on CentOS. The

  • 0

I installed gitosis and redmine and am running it through apache/passenger on CentOS. The problem is I cannot access the repositories through redmine. The error being “The entry or revision was not found in the repository.

My repository is stored at

/home/zenna/repositories/myproject.git

The error (found in the apache logs) is "fatal: Not a git repository: '/home/zenna/repositories/myproject.git'"

It clearly is a repository as it all works fine with the WeBrick server. I think it’s probably an issue with the apache/passenger permissions

So I tried chowning the myproject.git folder with apache:apache. That didn’t work
I thought perhaps the directory’s parents must also be accessible by the apache user, so I tried creating a symbolic link at /myproject.git to /home/zenna/repositories/myproject.git. That didn’t work either

Someone in the forums suggested:

You run script/server w/a user that
has a public cert in the gitosis
repos, but the apache/passenger user
doesn’t. Simple solution… create a
cert for your passenger user. Add it
to gitosis server and assign
permissions in gitosis.conf. I gave my
apache user read permissions on the
entire direstory and all files /
folders within.

However, I run apache user with sudo /usr/sbin/apachectl start

Does this mean I would have to create a public key for root and add root to my gitosis.conf? What is the actual user trying to access the repository through redmine, root? apache? passenger?

Thanks

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:54:49+00:00Added an answer on May 16, 2026 at 11:54 am

    When using passenger the actual user is nobody so one has to make sure that the directory (which includes all of its parent directories) are readable by the nobody user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed subclipse in eclipse, but I get an error message Expected format '3'
I have installed gitosis, but i have strange thing when i'm working with repos.
Installed SlikSvn on Window 2008 server Created Repository at c:\dia\svn\repos running this windows service
I installed WSS Infrastructure Update and MOSS Infrastructure Update ( http://technet.microsoft.com/en-us/office/sharepointserver/bb735839.aspx ) and now
I installed ActiveReports from their site. The version was labeled as .NET 2.0 build
I installed the wxWidgets source code, compiled it and am linking the libraries thus
I installed Visual Studio 2005 ( with SP1 ) and made the default settings
I installed both the Delphi 2009 trial and actual release via the web installer
I installed CruiseControl.net ( from the CruiseControl.NET-1.4-Setup.exe installer ) on my Vista x64 development
Just installed the latest SDK for iPhone 2.1. When I go to File ->

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.