Updated production server installation instructions (Ubuntu 18.04)

369 views
Skip to first unread message

Martijn van de Rijdt

unread,
Aug 2, 2018, 4:27:19 PM8/2/18
to enketo-users
The Enketo Express production server installation instructions have been significantly updated. It now includes:

* much easier redis database setup
* free SSL certificate installation


If you're running an old Enketo server and you've run into an issue upgrading redis to the latest version, I recommend you install a brand new server using the new instructions. That's what I ended up doing myself after failing to figure out a way to keep redis up-to-date.

Please let me know if you find things that could be improved in the instructions!

Regards,
Martijn






Paulo

unread,
Dec 24, 2018, 5:07:40 PM12/24/18
to enketo-users
Hi Martijn,

First of all, thanks for all the effort you have put in Enketo!

I'm planning to use the ODK platform and Enketo for data collection and creating automated reports in a forensic crime lab, but I'm still in the very first steps. Also, I'm not an IT guy, so I move quite slowly.

I followed your tutorial last weekend and got it working, but the process was not smooth - and here is my feedback, which I hope is useful.

Steps 1, 2, 3, and 4 were OK on first try.

On step 5, the command "npm install --production" was aborted with error code 137, which is related to memory. I did some research and figured out how to add swap to Ubuntu. I added a 2GB swap and then it worked like charm. It ends with this message though:

found 20 vulnerabilities (2 low, 14 moderate, 4 high)
  run
`npm audit fix` to fix them, or `npm audit` for details


Should I be worried? Should I run the audit?

Steps 6 and 7 were OK on first try.

On step 8 I had huge problems, probably because this was my first time registering a domain. I simply tried to follow your instructions, except for the fact that I was not using a subdomain. Here's what I did:

Pasted_Graphic.jpg

You're probably thinking "this could not work, obviously!", but... I'm a newbie. What prevented me from correcting it right away was the fact that the URL worked as expected in the browser Brave (always), and randomly in other browsers (Opera, Safari, Chrome, Firefox). Since I was OK with it, I moved on.

Step 9 was OK, but not on first try - the command "sudo certbot --nginx" exited with some error after the message "Waiting for verification...". Then, I retried and it worked.

Since there was a problem with the way I configured my domain, the SSSLabs test showed a mismatch on the field "alternative names" - all browsers were accepting the certificates, though.

Steps 11, 12, and 13 were OK.

Step 14 was also OK, but I had to figure out how to integrate Aggregate and Enketo without an Enketo account. Somehow I realized that the Enketo API URL was my domain + "/api/v1" or "/api/v2", and the Enketo API token was the API key from step 6.

Enketo_2018.jpg


The Enketo button appeared in Aggregate, but worked at random. After some research, I corrected my mistake in step 8:

Enketo_2018-2.jpg


And finally it passed the SSLLabs test and worked like charm! (I'm assuming this configuration is correct...)

I skipped step 15 (so far).

I got a question: how can I make Google Maps the main or the only option in config.json? Is is possible? (Btw, when using the default maps configuration, the forms load the OpenStreetMap with a search field, but the search field doesn't work.)

Best regards,

Paulo

Martijn van de Rijdt

unread,
Dec 24, 2018, 6:11:14 PM12/24/18
to enketo-users
Hi Paulo,

Thanks so much for your feedback! It's very helpful and we'll use it to tweak the guidance page further.

Let me respond and comment on a few of issues and questions you mentioned.

A. memory problem: Good to know! Probably better to upgrade to a higher memory droplet instead of using a swap file (I think a swap is slow, but maybe others can chime in). I think we will just change the initial droplet size recommendation to a higher memory one. 

B. Vulnerability/audit warning. This is probably more something for us and the developers of the vulnerable modules (we use) to look into. The audit is a recent npm feature, which I think is great, and could potentially lead to quicker security fixes.

C. DNS: I'm not sure what was wrong in the initial screenshot actually... It looks correct to me. Did it not match the CertBot configuration perhaps? Maybe you used www in the Certbot configuration? If so, that is a matter of preference. I'd prefer not to use www myself but it's totally fine and some may say it's better (as long as you also make non-www accessible too imho). Will add a warning for SSL certificate name to match the DNS "A" record!

D. Enketo API address and API token: Yes, very good. We should clearly mention this in the guidance.


Your Maps/Search question: 

Search and Maps are completely independent from each other. Search will use Google if config.json is configured with a valid google api key: https://github.com/kobotoolbox/enketo-express/blob/master/config/README.md#google

To display only Google maps, the same google api key is required (and enabled for Google Maps service) and the maps configuration as shown here: https://github.com/kobotoolbox/enketo-express/blob/master/config/README.md#maps should only mention Google maps layers, e.g. like this:

[
 
{
   
"name": "street",
   
"tiles": "GOOGLE_ROADMAP"
   
}, {
     
"name": "satellite",
     
"tiles": "GOOGLE_SATELLITE"
   
}, {
     
"name": "terrain",
     
"tiles": "GOOGLE_TERRAIN"
} ]


Good luck with the final touches to Enketo and with build your reporting system! It sounds very interesting.

Martijn

Dao Minh Tri

unread,
Feb 25, 2019, 3:07:32 AM2/25/19
to enketo-users
Hi Martijn,
I'm trying to setup Enketo on Ubuntu on Digital Ocean, finally it does not work but i'm not sure where it come wrong. I've some stranges during my setup pls advice
1/ Step 5. Enketo Express Installation: What should i do next, i got this error

2/ Step 6.Enketo configuration:
npm install --production

3/ How my screen should look after step 8: NGINX Configuration. I do the set up several times and most of time it show as screen shot below. There is only 1 time it show another.
 4/ Step 13: I'm not sure how to create logrotate.conf file and set up cronjob for it so I bypassed.
 5/ Step 14: I integrate ODK Aggregate with Enketo as screen shot below. The config file is not change vs step 13,URL = "". I got the error when press the button "Enketo webform" in My Aggregate.

ENOENT: no such file or directory, open '/home/enketo/enketo-express/public/css/common.css' at /home/enketo/enketo-express/app/views/surveys/webform.pug line 11Error Code: 500

Martijn van de Rijdt

unread,
Feb 25, 2019, 11:15:51 AM2/25/19
to enketo...@googlegroups.com
Hi Dao,

Looks like your issue is with the sass module. This happens to me sometimes too. I always first do this:

cd ~/enketo-express
rm -R node_modules
npm install --production 

This deletes all the node modules and reinstalls them. It's weird but that seems to work.

Otherwise, please let me know your node and npm version (do: node -v && npm -v) and I'll try to reproduce.

Cheers,
Martijn

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Pushing data since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

-- 
Revolutionizing data collection since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

Dao Minh Tri

unread,
Feb 25, 2019, 9:25:59 PM2/25/19
to enketo-users

Hi Martijn,
Here is output when i do node -v && npm -v
v8.15.0
6.8.0

Martijn van de Rijdt

unread,
Feb 26, 2019, 11:25:37 AM2/26/19
to enketo...@googlegroups.com
Thanks! I think you've discovered an issue with the repo. You can track it here: https://github.com/enketo/enketo-express/issues/86. Will try to get this fixed asap!

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martijn van de Rijdt

unread,
Feb 26, 2019, 12:48:24 PM2/26/19
to enketo...@googlegroups.com
Turns out it is a bug in npm 6.8.0 (and should be resolved in the future npm 6.9.0 next week).

To resolve this now, do this:

downgrade npm: sudo npm install -g npm@6.7
go to enketo-express folder: cd ~/enketo-express
remove npm modules: rm -R node_modules
reinstall npm modules: npm install --production 

Thanks for reporting!

Dao Minh Tri

unread,
Feb 26, 2019, 8:39:42 PM2/26/19
to enketo-users
Thank you Martijn. It works perfect now.

David A

unread,
Feb 27, 2019, 10:37:11 PM2/27/19
to enketo-users
Hello.
I'ḿ using debian 9, I tried to update enketo with the new instructions but after 
sudo systemctl enable redis-...@enketo-main.service
I get: Failed to enable unit: File redis-...@enketo-main.service: No such file or directory
redis was not an issue with the old instructions, any idea what's wrong?

Martijn van de Rijdt

unread,
Feb 28, 2019, 10:57:16 AM2/28/19
to enketo...@googlegroups.com
Hi, 

My guess is that the redis package for debian is not using "systemd" to manage services. Have a look on the web for installing redis on debian using systemd (to be able to use the tutorial) or augment the installation for the service manager that debian is using.

Good luck,
Martijn

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Pushing data since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

-- 

Dao Minh Tri

unread,
Apr 17, 2019, 6:11:05 AM4/17/19
to enketo-users

Hi Martijn, Pls help.
I'm get stuck at step 14/ Final configuration. After update the config.json file, I cant run "grunt" and finally cant link Aggregate as screenshot below.

Capture.PNG








Capture2.PNG








Capture3.PNG

Martijn van de Rijdt

unread,
Apr 17, 2019, 10:46:53 AM4/17/19
to enketo...@googlegroups.com
Hi Dao,

It looks like `npm install --production` failed to install a module (findup-sync) for some reason. This happens sometimes (some temporary npm unavailability perhaps). I would first try running that command again.

Afterwards make sure Enketo is running by going to https://dm41k41.ga in your browser.

Hope that helps,

Martijn

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dao Minh Tri

unread,
Apr 18, 2019, 9:48:12 AM4/18/19
to enketo-users
You're right Martijn,
After some time run the command again, now it works. Thank you.

On Wednesday, April 17, 2019 at 9:46:53 PM UTC+7, Martijn van de Rijdt wrote:
Hi Dao,

It looks like `npm install --production` failed to install a module (findup-sync) for some reason. This happens sometimes (some temporary npm unavailability perhaps). I would first try running that command again.

Afterwards make sure Enketo is running by going to https://dm41k41.ga in your browser.

Hope that helps,

Martijn

On Wed, Apr 17, 2019 at 4:11 AM Dao Minh Tri <dmt...@gmail.com> wrote:

Hi Martijn, Pls help.
I'm get stuck at step 14/ Final configuration. After update the config.json file, I cant run "grunt" and finally cant link Aggregate as screenshot below.

Capture.PNG








Capture2.PNG








Capture3.PNG



















On Friday, August 3, 2018 at 3:27:19 AM UTC+7, Martijn van de Rijdt wrote:
The Enketo Express production server installation instructions have been significantly updated. It now includes:

* much easier redis database setup
* free SSL certificate installation


If you're running an old Enketo server and you've run into an issue upgrading redis to the latest version, I recommend you install a brand new server using the new instructions. That's what I ended up doing myself after failing to figure out a way to keep redis up-to-date.

Please let me know if you find things that could be improved in the instructions!

Regards,
Martijn






--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Dao Minh Tri

unread,
Sep 7, 2019, 7:02:31 AM9/7/19
to enketo-users
i Martijn,
I've got this error during setting up Enketo on Ubuntu 18.04 step #6, rebuild the configuration npm install --production Pls help.
Error :bind EADDRINUSE null : 8005
atlistenOnMascerHand1e (nec . j s : 1420 : 16)
atrr (internal/ cluster/ child. js : 121 : 12)
atWorker . send (internal/ cluster/ child. js : 88 : 7)
atprocess .onIncerna1Message (internal/ cluster/ utils . js : 42 : 8)
atemiCTwo (events . js:131 :20)
atprocess . emit (events .js:214: 7)
atemit (internal/ child process . js: 762: 12)
atcombinedTickCa11back (internal/ process/ next tick.js : 142 : 11)
atprocess. CickCa11back (internal/ process/ next tick.js: 181 : 9)
Worker 1931S sadly passed away. It will be reincarnated.

Martijn van de Rijdt

unread,
Sep 9, 2019, 1:02:39 PM9/9/19
to enketo...@googlegroups.com
Hi Dao,

When starting the Enketo app, this error occurs because there is another app running on the same 8005 port (this may be Enketo Express itself). Make sure you shut that down first.

Cheers,

To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enketo-users/61ade5e9-4266-4d9e-b24a-08e04973d4d9%40googlegroups.com.

Dao Minh Tri

unread,
Sep 10, 2019, 8:54:26 PM9/10/19
to enketo-users
Hi Martijn, 
I have another confusion.
At step#8, Nginx Configuration, should I put my IP address or domain name into the configuration?
Make sure that server_name matches an “A” record you created in DNS and not a CNAME (alias).
My understand is I should put my IP address but you put " enketo.aidapplications.com" in your example.
I've tried both but can't access enketo site: dmtk41.gq
My DNS setting is as below.

2019-09-11_7-52-45.png


Thank you.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo...@googlegroups.com.

Dao Minh Tri

unread,
Dec 4, 2019, 6:14:34 PM12/4/19
to enketo-users
Hi Martijn,
Pls help.
I've got 10 vulnerabilities ( 2 moderate and 8 high). Then I fixed 2 after "run npm audit fix" and 8 "required manual review and couldn't be updated". What should I do next.

Here is result when I run npm audit:

 === npm audit security report ===


                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance


  Moderate        Regular Expression Denial of Service

  Package         semver

  Patched in      >=4.3.2

  Dependency of   rollup-plugin-node-builtins

  Path            rollup-plugin-node-builtins > browserify-fs > levelup >
                  semver

  More info       https://npmjs.com/advisories/31


  Moderate        Memory Exposure

  Package         bl

  Patched in      >=0.9.5 <1.0.0 || >=1.0.1

  Dependency of   rollup-plugin-node-builtins

  Path            rollup-plugin-node-builtins > browserify-fs > levelup > bl

  More info       https://npmjs.com/advisories/596

found 2 moderate severity vulnerabilities in 18847 scanned packages
  2 vulnerabilities require manual review. See the full report for details.


On Friday, August 3, 2018 at 3:27:19 AM UTC+7, Martijn van de Rijdt wrote:

Martijn van de Rijdt

unread,
Dec 4, 2019, 7:29:11 PM12/4/19
to enketo...@googlegroups.com
You could just ignore them, I think. It's something for us (Enketo Developers) to do, but we often just have to wait for third-party module developers to fix those vulnerabilities. And a few days after it's fixed new vulnerabilities are reported. It will be never ending, and we may rarely be without reported npm audit vulnerabilities. Most vulnerabilities are in modules that are only used during development.

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enketo-users/48982c96-87fc-4b7f-ac4e-5b3dcd60e1b2%40googlegroups.com.

David Sichinava

unread,
Mar 21, 2020, 3:43:37 AM3/21/20
to enketo-users
Hi Martin,

I'm trying to install Enketo on Amazon AWS servery (Ubuntu 18.04, node version 10).

When getting to the point that I am going to run `npm install --production` installation fails with the following message:

Annotation 2020-03-21 114233.png


Any advice appreciated!

Martijn van de Rijdt

unread,
Mar 23, 2020, 11:02:00 AM3/23/20
to enketo...@googlegroups.com
Hi David,

Node 10 is not yet supported. We will update the instructions when it is.

Cheers,

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.

David Sichinava

unread,
Mar 25, 2020, 6:23:52 AM3/25/20
to enketo-users
Thanks Martijn,

Will go with Node 8 then.

Best,

D.


On Monday, March 23, 2020 at 7:02:00 PM UTC+4, Martijn van de Rijdt wrote:
Hi David,

Node 10 is not yet supported. We will update the instructions when it is.

Cheers,

On Sat, Mar 21, 2020 at 1:43 AM David Sichinava <da...@sichinava.ge> wrote:
Hi Martin,

I'm trying to install Enketo on Amazon AWS servery (Ubuntu 18.04, node version 10).

When getting to the point that I am going to run `npm install --production` installation fails with the following message:

Annotation 2020-03-21 114233.png


Any advice appreciated!


On Friday, August 3, 2018 at 12:27:19 AM UTC+4, Martijn van de Rijdt wrote:
The Enketo Express production server installation instructions have been significantly updated. It now includes:

* much easier redis database setup
* free SSL certificate installation


If you're running an old Enketo server and you've run into an issue upgrading redis to the latest version, I recommend you install a brand new server using the new instructions. That's what I ended up doing myself after failing to figure out a way to keep redis up-to-date.

Please let me know if you find things that could be improved in the instructions!

Regards,
Martijn






--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo...@googlegroups.com.

Martin Rugadya

unread,
Apr 28, 2020, 8:10:46 AM4/28/20
to enketo-users
Hi Martijn,

I followed your instructions but installing on centos 7, The enketo-transformer module failed to install. Any ideas on how I can fix that?

Below is the error message

$ npm install enketo-transformer --save

> node1-li...@1.0.0 install /home/enketo/enketo-express/node_modules/node1-libxmljsmt
> node-pre-gyp install --fallback-to-build --loglevel http

node-pre-gyp ERR! Pre-built binaries not found for node1-li...@1.0.0 and no...@12.16.2 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory `/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build'
  CXX(target) Release/obj.target/xmljs/src/libxmljs.o
make: execvp: g++: Permission denied
make: *** [Release/obj.target/xmljs/src/libxmljs.o] Error 127
make: Leaving directory `/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--loglevel=http" "--module=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release/xmljs.node" "--module_name=xmljs" "--module_path=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release" "--napi_version=5" "--node_abi_napi=napi"
gyp ERR! cwd /home/enketo/enketo-express/node_modules/node1-libxmljsmt
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --loglevel=http --module=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release/xmljs.node --module_name=xmljs --module_path=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release --napi_version=5 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/enketo/enketo-express/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86_64
node-pre-gyp ERR! command "/usr/bin/node" "/home/enketo/enketo-express/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--loglevel" "http"
node-pre-gyp ERR! cwd /home/enketo/enketo-express/node_modules/node1-libxmljsmt
node-pre-gyp ERR! node -v v12.16.2
node-pre-gyp ERR! node-pre-gyp -v v0.9.1
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --loglevel=http --module=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release/xmljs.node --module_name=xmljs --module_path=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release --napi_version=5 --node_abi_napi=napi' (1)
npm WARN acor...@5.2.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt...@3.0.2 requires a peer of karma@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/rollup/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/mocha/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/karma-rollup-preprocessor/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@1.2.12 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node1-li...@1.0.0 install: `node-pre-gyp install --fallback-to-build --loglevel http`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node1-li...@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/enketo/.npm/_logs/2020-04-28T11_49_15_491Z-debug.log

Martijn van de Rijdt

unread,
Apr 28, 2020, 10:32:34 AM4/28/20
to enketo...@googlegroups.com
Hi Martin,

I'm not sure but it looks like there is a permissions issue with g++, one of the build tools used by libxslt (which is part of enketo-transformer). Please let us know if you figure out how to resolve it.

Cheers,
Martijn

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enketo-users/ebdf4d97-41bf-483d-9d31-1d0e7be890f9%40googlegroups.com.

Martijn van de Rijdt

unread,
Apr 28, 2020, 10:39:35 AM4/28/20
to enketo-users
It could also simply be that g++ is not installed at all (it's part of the build-essential package that is included in the instructions).
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users+unsubscribe@googlegroups.com.

Martin Rugadya

unread,
Apr 28, 2020, 11:37:31 AM4/28/20
to enketo...@googlegroups.com
I first installed gcc which didn't work but after your first response in additionally installed more packages and it worked with the following command yum -y install gcc-c++


To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.


--
Pushing data since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

-- 
Revolutionizing data collection since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

-- 
Revolutionizing data collection since 2012.

Enketo    |    LinkedIn    |    GitHub    |    Twitter    |    Blog

--
You received this message because you are subscribed to the Google Groups "enketo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enketo-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enketo-users/08844346-cb3f-4692-8eaa-c8d4e365c314%40googlegroups.com.

Martijn van de Rijdt

unread,
Apr 28, 2020, 11:58:08 AM4/28/20
to enketo...@googlegroups.com
Thanks! This will help other CentOS users.

Paul Macharia

unread,
Apr 28, 2020, 1:01:34 PM4/28/20
to enketo...@googlegroups.com
Martijn, Martin,

Good work, we have a functional option for CentOs operating system?

Asante,
Paul Macharia

Reply all
Reply to author
Forward
0 new messages