chrissanders/FlowBAT

Installation issue using ./install_flowbat_ubuntu.sh

vv3 opened this issue · 3 comments

vv3 commented

Running the installation script 'install_flowbat_ubuntu.sh' on a freshly
installed Ubuntu Xenial server results in the following error message:

...
Setting up mongodb-server (1:2.6.10-0ubuntu1) ...
Adding system user `mongodb' (UID 107) ...
Adding new user `mongodb' (UID 107) with group `nogroup' ...
Not creating home directory `/var/lib/mongodb'.
Adding group `mongodb' (GID 111) ...
Done.
Adding user `mongodb' to group `mongodb' ...
Adding user mongodb to group mongodb
Done.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...

> meteor-dev-bundle@0.0.0 install /home/flowbat/FlowBAT/private/bundle/programs/server
> node npm-rebuild.js

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn npm ENOENT
    at _errnoException (util.js:1024:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    at Function.Module.runMain (module.js:678:11)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meteor-dev-bundle@0.0.0 install: `node npm-rebuild.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the meteor-dev-bundle@0.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/flowbat/.npm/_logs/2018-02-08T12_51_35_981Z-debug.log

The log file is attched
2018-02-08T12_51_35_981Z-debug.log

kroem commented

I have the same problem. Tested on fresh 16.04 KVM VM and LXC (originally though it might have been a LXC problem)

I encounter the same error on multiple VM and bare metal Ubuntu 16.04 servers. So far, unable to install on any of my Ubuntu servers.
Noticed broken symlinks in the FlowBAT/packages directory all are pointing to
a sub-directory of /home/jason/.meteorite/packages:

lrwxrwxrwx 1 agibson agibson  110 Mar 22 15:55 blaze-layout -> /home/jason/.meteorite/packages/blaze-layout/EventedMind/blaze-layout/b40e9b0612329288d75cf52ad14a7da64bb8618f
lrwxrwxrwx 1 agibson agibson  120 Mar 22 15:55 collection-hooks -> /home/jason/.meteorite/packages/collection-hooks/matb33/meteor-collection-hooks/261f61f07b371ae913463fba8964a9b93cab531b
lrwxrwxrwx 1 agibson agibson  111 Mar 22 15:55 fast-render -> /home/jason/.meteorite/packages/fast-render/arunoda/meteor-fast-render/149984b1aff3a5642a270aff9bd9006872c8302e
lrwxrwxrwx 1 agibson agibson  127 Mar 22 15:55 handlebars-server -> /home/jason/.meteorite/packages/handlebars-server/EventedMind/meteor-handlebars-server/1b72c4e9d82af66293e50be4516c487d15d97464
lrwxrwxrwx 1 agibson agibson  104 Mar 22 15:55 iron-core -> /home/jason/.meteorite/packages/iron-core/EventedMind/iron-core/0e48b5dc50d03f01025b7b900fb5ce2f13d52cad
lrwxrwxrwx 1 agibson agibson  128 Mar 22 15:55 iron-dynamic-template -> /home/jason/.meteorite/packages/iron-dynamic-template/EventedMind/iron-dynamic-template/4dd1185c4d9d616c9abdb3f33e4a7d5a88db7e18
lrwxrwxrwx 1 agibson agibson  108 Mar 22 15:55 iron-layout -> /home/jason/.meteorite/packages/iron-layout/EventedMind/iron-layout/4a2d53e35ba036b0c189c7ceca34be494d4c6c97
lrwxrwxrwx 1 agibson agibson  108 Mar 22 15:55 iron-router -> /home/jason/.meteorite/packages/iron-router/EventedMind/iron-router/d1ffb3f06ea4c112132b030f2eb1a70b81675ecb
lrwxrwxrwx 1 agibson agibson  100 Mar 22 15:55 jade -> /home/jason/.meteorite/packages/jade/mquandalle/meteor-jade/a47a4c59daaa57e7fe5f1544d4ea76d95a5c9abf

Were these intended to be included in the repository as files rather than symlinks?

These elifecycle errors should be fixed with the new installer.

3cd3c54