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. Install on Digital Ocean

Install on Digital Ocean

Added by Marcos Alexandre over 9 years ago

Hello,

I am trying to install OpenProject in a Droplet in Digital Ocean, but without success.

I am following the guide (https://www.openproject.org/open-source/manual-installation/manual-installation-guide/) and my Ubuntu distribution is 14:04.

I am getting the following error:

Downloading node-v0.12.7.tar.gz…
-> http://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
Installing node-v0.12.7…

BUILD FAILED

Inspect or clean up the working tree at /tmp/node-build.20150929231802.21013
Results logged to /tmp/node-build.20150929231802.21013.log

Last 10 log lines:
g ‘-DV8_TARGET_ARCH_X64’ ‘-DENABLE_DISASSEMBLER’ ‘-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC’ -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fno-strict-aliasing -m64 -O3 -ffunction-sections -fdata-sections -fno-tree-vrp -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -MMD -MF /tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/.deps//tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/obj.target/v8_base/deps/v8/src/hydrogen-instructions.o.d.raw -c -o /tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/obj.target/v8_base/deps/v8/src/hydrogen-instructions.o ../deps/v8/src/hydrogen-instructions.cc
g ‘-DV8_TARGET_ARCH_X64’ ‘-DENABLE_DISASSEMBLER’ ‘-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC’ -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fno-strict-aliasing -m64 -O3 -ffunction-sections -fdata-sections -fno-tree-vrp -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -MMD -MF /tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/.deps//tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/obj.target/v8_base/deps/v8/src/hydrogen.o.d.raw -c -o /tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/obj.target/v8_base/deps/v8/src/hydrogen.o ../deps/v8/src/hydrogen.cc
g: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[1]: ***** [/tmp/node-build.20150929231802.21013/node-v0.12.7/out/Release/obj.target/v8_base/deps/v8/src/hydrogen-instructions.o] Error 4
make[1]: ***** Waiting for unfinished jobs….
make[1]: Leaving directory `/tmp/node-build.20150929231802.21013/node-v0.12.7/out’
make: ***** [node] Error 2

Does anyone have an idea how to solve?

Thank you!


Replies (11)

RE: Install on Digital Ocean - Added by Marcos Alexandre over 9 years ago

Anyone?

RE: Install on Digital Ocean - Added by Markus Kahl over 9 years ago

What do you mean with ‘installing node’? Isn’t there a binary distribution? I mean what command fails exactly?
It could be that you don’t have enough RAM on the droplet to build node from source. But I’d suggest using the binary release anyway.

edit: binary release (x64): https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz

RE: Install on Digital Ocean - Added by Stefan Botzenhart over 9 years ago

Hello,
taking the manual installation gives me the question which branch are you using?

In case you’re on the latest dev version please refer to this: https://github.com/opf/openproject/blob/dev/doc/operation_guides/manual/installation-guide.md

For stable/4.3 it is the guide you are referencing to. The nodejs installation error maybe due to nodeen. I just installed this yesterday on a ubuntu 14.04 machine and it broke with the exact same error. Re-running the command then worked somewhen.

I very much recommend installing openproject package based: https://www.openproject.org/open-source/packaged-installation/

Best
Stefan

RE: Install on Digital Ocean - Added by Marcos Alexandre over 9 years ago

Thanks for the answers!

I managed to solve the problem with the change of port to 587 and with the command:

sudo openproject-ce config:set SMTP_ENABLE_STARTTLS_AUTO=“true”

Thanks !!

RE: Install on Digital Ocean - Added by Stefan Botzenhart over 9 years ago

this is very weird.
I am wondering what smtp settings have to do with nodejs installation :unamused:

Anyway glad you solved the issue!!

RE: Install on Digital Ocean - Added by Marcos Alexandre over 9 years ago

I had tried the manual installation but could not install NodeJS, probably due to lack of memory (512MB).

It’s installation was by packaged, maybe it was missing memory yet. But it’s strange because not returning SMTP error, just crashed the server. Only returned to the restart.

When you have time, I will try in a 1GB server to see if the problem was lack of memory ram and I report here.

Thanks

RE: Install on Digital Ocean - Added by Marcos Alexandre over 9 years ago

Sorry if I wrote wrong, I’m using google translator.

RE: Install on Digital Ocean - Added by Stefan Botzenhart over 9 years ago

ahh, I see. We will add a note to the installation guide that at least 1GB of ram is required (alternatively swap space)

RE: Install on Digital Ocean - Added by Marcos Alexandre over 9 years ago

OK

I appreciate the support.

I will try to install on the same server the OwnCloud (do not know if I can because my server knowledge is little).

I have other “programs” in the same server or OpenProject is not recommended to cause a conflict?

Thanks

RE: Install on Digital Ocean - Added by Stefan Botzenhart over 9 years ago

As you went through the manual installation process this should all be fine because you have all under control and can configure the services to live side-by-side.

RE: Install on Digital Ocean - Added by Stefan Botzenhart over 9 years ago

Forgot to mention: you may have to be aware that another (probably package based) installation may screw your current openproject installation. You have to be careful. As you are using DigitalOcean I recommend creating a manual backup before continuing :wink:

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