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. Help in using manual install

Help in using manual install

Added by Darell Sison over 8 years ago

I managed to install Open Project on my cloud server for evaluation.

I used the manual install on ubuntu 14.04.

And managed to install it completely, but when i go to the url (ip address as this si just in development).

I get this error on the browser: Incomplete response received from application

Can any one help?

Is this related to the secret key? I really dont understand how that works can anyone help?

Thanks in advance


Replies (5)

RE: Help in using manual install - Added by Mika Lahti over 8 years ago

I’ve spend past few days trying to solve the very same problem - and now it’s resolved!
After seeing that same “Incomplete response received from application” response from Apache the error log /etc/apache2/error.log said that SECRET_KEY_BASE was missing although it had been defined on /home/openproject/.profile and it was visible with env command. Then I noticed that the SECRET_KEY_BASE was visible only for user Openproject and I moved it to /etc/environment file as instructed on the manual installation guide. By doing that change SECRET_KEY_BASE became visible for other users as well with env command but still I faced the same problem with Apache. Defining the SECRET_KEY_BASE on secrets.yml worked fine but that is not recommended.

After searching for several posts on missing SECRET_KEY_BASE finally I found this topic saying that Apache is not able to see system variables:

http://stackoverflow.com/questions/25429715/missing-secret-key-base-for-production-environment/25438346#25438346

Found out that /etc/environment is ignored by apache2. Add the following to /etc/apache2/envvars solved my problem:

export SECRET_KEY_BASE=

This worked for me. Can you please test as well? I think we should update the manual installation guide.

RE: Help in using manual install - Added by Darell Sison over 8 years ago

How do I do this? What commands should I put to test it?

I ran the command

export SECRET_KEY_BASE=

and it gave me an error

-bash: syntax error near unexpected token `newline’

RE: Help in using manual install - Added by Mika Lahti over 8 years ago

You basically just cut & paste the line from ~/.profile file to /etc/apache2/envvars file and restart Apache.

RE: Help in using manual install - Added by Darell Sison over 8 years ago

Wow it works!!!

Yes the manual installation guide should be updated.

How do i make sure the system sends emails?

I noticed that it doesnt

RE: Help in using manual install - Added by Mika Lahti over 8 years ago

There is already a Git commit aiming to enhance the manual installation guide:
https://github.com/opf/openproject/commit/72511adbf9edc566a2ee64df4f22d02187a2fdeb

The existing guide actually already mentioned “or pass it to the server upon start manually” but it was not so obvious to realize how to implement that.

I haven’t yet reached email sending so I can’t comment on that. It probably needs a separate topic.

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