Content
Install on Digital Ocean
Added by Marcos Alexandre about 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)
Anyone?
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
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
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 !!
this is very weird.
I am wondering what smtp settings have to do with nodejs installation :unamused:
Anyway glad you solved the issue!!
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
Sorry if I wrote wrong, I’m using google translator.
ahh, I see. We will add a note to the installation guide that at least 1GB of ram is required (alternatively swap space)
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
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.
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: