Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. How to setup repository in Project Settings Menu

How to setup repository in Project Settings Menu

Added by Min Soo Kim over 10 years ago

Hello.

I’m korean. I need to advice to solve problem.

I’m write this post bacause can’t setup repositories.

  • My Dev Env Info(Server)
  1. OS : Ubuntu 14.04 LTS
  2. OpenProject : 4.0.1(standalone)
  3. Git : 1.9.1
  4. Gitolite : 2.3-1
  5. Project path in local : /home/leminity/repositories/sample.git
  • My problems
    I hope to setup repository. So I entered Project Settings > repository.
    And configurate and save propoerties in Repository page.
  • selected properties
  1. SCM : Git
  2. path to .git directory : /home/leminity/repositories/sample.git [ctl c v project path]
  3. path encoding : utf-8

but i don’t show repository. only show 404 error message.
“The entry or revision was not found in the repository.”

I completed Initial commit already.
In Addition, try to create and push new branch.

Please advice me. T.T
thx.


Replies (2)

RE: How to setup repository in Project Settings Menu - Added by Jangho Seo over 10 years ago

That 404 may mean that OpenProject cannot find where the git binary is.

Solution:

Find the path to the ‘git’ binary for your system, by typing in your shell

which git

Let’s say, git is located at ‘/usr/bin/git’

Open your config/configuration.yml and find the following line:

# scm_git_command:        /usr/local/bin/git

Comment out that line and put the path to the git.

Hope it works.:)

RE: How to setup repository in Project Settings Menu - Added by Min Soo Kim over 10 years ago

Hi.
First, Thank for your reply.

I’m not solved this problem despite refered your answer.
OpenProject log message’s ‘not a git repository.’.

I success create bare repository(git init —bare) by git command only.
I guess to not supported gitolite in OpenProject.

I found and tried to install git-hosting pulgins, but fail to intsall.
Maybe, plugins not compatible OpenProject 4.0.1.

once more thank your reply.
bye ~

  • (1 - 2/2)
Loading...