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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Error after OpenProject 6 installation

Error after OpenProject 6 installation

Added by Milan Vasic almost 9 years ago

Hi,

I’m trying to install the new version 6 of Openproject by folowing the instructions in this link:
https://community.openproject.com/topics/5360

I get the same errors like the ones mentioned in the comments section.

After installing bundler, autoprefix-rails and nodejs, the Apache error_log shows this errro message

App/Implementation.cpp:303 ]: Could not spawn process for application /opt/openproject: An error occured while starting up the preloader.
Error ID: 7e56d7fb
Error details saved to: /tmp/passenger-error-eWdXQ4.html
Message from application: No such file or directory - git (Errno::ENOENT)

A few days ago i successfully installed Openproject Version 5.0.19 with the same instrucions. There was no error mentioning “git”
Any ideas?


Replies (6)

RE: Error after OpenProject 6 installation - Added by Oliver Günther almost 9 years ago

Hey Milan,

I’m clueless as to where that error message could stem from. Could you increase the log level of the application using the config.log_level of the config/environments/production.rb file to debug ?

Best,
Oliver

RE: Error after OpenProject 6 installation - Added by Milan Vasic almost 9 years ago

Hey Oliver,

in the meantime i restored a previous backup of my server and installed openproject 6 again.
I used the following commands:

sudo rpm --import https://rpm.packager.io/key echo "[openproject-ce] name=Repository for opf/openproject-ce application. baseurl=https://rpm.packager.io/gh/opf/openproject-ce/centos7/stable/6 enabled=1" | sudo tee /etc/yum.repos.d/openproject-ce.repo sudo yum install openproject

After the installation i used
openproject configure
to configure Openproject.

At the end of the installation the following error occured.
Komplett! Hinweis: Anfrage wird weitergeleitet an »systemctl enable memcached.service«. Created symlink from /etc/systemd/system/multi-user.target.wants/memcached.service to /usr/lib/systemd/system/memcached.service. [openproject] ./bin/preinstall [legacy-installer] ./bin/postinstall [mysql] ./bin/postinstall Generating /etc/openproject/conf.d/database... [apache2] ./bin/postinstall [repositories] ./bin/postinstall [smtp] ./bin/postinstall [memcached] ./bin/postinstall Redirecting to /bin/systemctl start memcached.service [openproject] ./bin/postinstall rake aborted! Errno::ENOENT: No such file or directory - git /opt/openproject/lib/open_project/version.rb:56:in `revision'

openproject config is showing the right parameters but the database is empty.

Thanks for your help

RE: Error after OpenProject 6 installation - Added by Oliver Günther almost 9 years ago

Hi Milan,

Thanks for the log, that makes the problem clear. You’re likely missing git as a dependency. Installing it should fix the problem. In 5.0., we did only output a warning and I’ve pushed a fix (see patch below) that avoids this issue in the next patch release.

However, In a manual installation, you may wish to use the system without an explicit dependency to git, so here’s a patchfile that avoids raising an error when it is unavailable:

https://github.com/opf/openproject/commit/30a377c264a5686835b3c0ac14dbb75b3ec45a81.patch

Best,
Oliver

RE: Error after OpenProject 6 installation - Added by Milan Vasic almost 9 years ago

Hi Oliver,

thanks for your help.
Now I installed Git and than OpenProject.
I had problems with bundler, autoprefixer-rails and node.
Than I had an Error because no database.yml exist, so I create it manual and than OpenProject 6 works.

Now I want to use the Git repository.
In the Settings under “Automatic repository vendor type” I can’t choose anything.
It’s always “disable automatic creation”
Does the Installer not configure the correct Git settings when Git is installed before installing OpenProject or what’s the reason for the OpenProject Installer checking for Git?

I checked your instruction for Repository Integration in OpenProject:

https://github.com/opf/openproject/blob/stable/5/doc/operation_guides/manual/repository-integration.md

I added the right git ripositorie to the configuration.yml
I created a bare repository
I edited the apache configuration like the manual suggested

But it doesn’t work.

The Idea was to use OpenProject und managed the repository with OpenProject. For the checkout I want to use a subdomain like git.domain.com.
OpenProject is now under a subdomain op.domain.com.

I use CentOs 7.2 an Plesk 12.5 on the Server.

Anything works fine except Git.
Is there anything special i should pay attention in Plesk and CentOs to use Git with OpenProject?

PS:
I’m not a Linux specialist.
Can someone please give me more detailed instructions on how to setup Git and/or OpenProject?

Thanks in advance.

RE: Error after OpenProject 6 installation - Added by Oliver Günther almost 9 years ago

Hey Milan,

I think you’re confusing the packaged installation with the manual installation.

You appear to have used the manual installation method. In that case, you’ll need to configure SCM integration yourself using the config/configuration.yml as detailed in https://github.com/opf/openproject/blob/stable/5/doc/operation_guides/manual/repository-integration.md and restart the application server.

If you still have problems setting up I suggest that you follow the packaged installation for CentOS instead, since it will guide you through the most important steps: Apache & Database setup and Git/SVN integration.

Best,
Oliver

RE: Error after OpenProject 6 installation - Added by Milan Vasic almost 9 years ago

Hi Oliver,

thanks again.

I used the Packageinstallter as described in the link in my first post because I have the same System (CentOS 7 with Plesk 12.5 + Apache + Passenger) on the server.
The only difference is I use version 6.

I installed Git. Then start the OpenProject installation.

After starting the install-Wizard I filled in the MySql settings, skipped Apache because Apache and Passanger are already installed from Plesk.
Then fill in the SMTP settings and chose to install memcached.

Then I started the OpenProject page and got errors.
1. Error Bundler. I installed bundler with openproject user.
2. Error Autoprefixer-Rails. I installed Autoprefixer-Rails
3. Missing Javacript Runtime Error. I installed NodeJS
4. Error no database.yml. I created an database.yml with the correct settings.
5. Error secret_key. I replaced the <%= ENV[“SECRET_KEY_BASE”] %> in the config/secrets.yml with the key from /etc/openproject/conf.d/other.
I think this isn’t goot but without the key it won’t work.

Than OpenProject works.

Now I want to use Git and OpenProject to manage the repositorys.

After your last Post i did a reconfiguration to test and saw for the first time that there is a Git installation option in the Wizard after i choose to install Apache.

But the reconfiguration has no effect.

I think it’s wrong to use the apache installation in the wizard because its preinstalled by Plesk?

Is there a possibility to see what the packageinstaller does (the code) when it is configurating the Git repository?
So i could do the parts myself wihout the new installation of apache.

Or do you have another Idea or more information for me?
Thanks a lot.

PS: It would be nice to have an wizard wher you can choose „do you have Apache preinstalled“
and if so, you still get the option to install Git or Subverions :)

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