# Lovebeat installation

**URL:** <https://discuss.elastic.co/t/lovebeat-installation/48440>\
**Category:** Logstash\
**Created:** [April 26, 2016, 2:34pm UTC](https://discuss.elastic.co/t/lovebeat-installation/48440 "2016-04-26T14:34:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke3](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Luke3](https://discuss.elastic.co/u/Luke3)\
**Post date:** [April 26, 2016, 2:34pm UTC](https://discuss.elastic.co/t/lovebeat-installation/48440/1 "2016-04-26T14:34:11Z")

</div>

Hi.  
My intent is monitoring the health of logstash using heartbeat and lovebeat.  
The environment is under proxy and the npm is alredy set to work under proxy. Are the following commands correct? At the end I'm unable to run ./lovebeat and I'm trying to figure out what is going wrong.

```
$ mkdir go
$ cd go
$ export GOPATH='/home/bubez/go/'
$ su root
$ http_proxy=http://proxy.**:port go get github.com/boivie/lovebeat
$ cd src/github.com/boivie/lovebeat
$ make

```

When the make finish to work it writes the following:

[...]

bower@1.7.9 node\_modules/bower

gulp-sass@2.3.1 node\_modules/gulp-sass  
├── object-assign@4.0.1  
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)  
├── gulp-util@3.0.7 (array-differ@1.0.0, beeper@1.1.0, array-uniq@1.0.2, object-assign@3.0.0, lodash.\_reescape@3.0.0, lodash.\_reevaluate@3.0.0, lodash.\_reinterpolate@3.0.0, replace-ext@0.0.1, fancy-log@1.2.0, has-gulplog@0.1.0, gulplog@1.0.0, chalk@1.1.3, lodash.template@3.6.2, vinyl@0.5.3, minimist@1.2.0, multipipe@0.1.2, dateformat@1.0.12)  
├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.5)  
└── node-sass@3.6.0 (get-stdin@4.0.1, async-foreach@0.1.3, in-publish@2.0.0, chalk@1.1.3, mkdirp@0.5.1, glob@7.0.3, cross-spawn-async@2.2.2, npmconf@2.1.2, nan@2.2.1, meow@3.7.0, request@2.72.0, gaze@1.0.0, sass-graph@2.1.1, node-gyp@3.3.1)  
node\_modules/.bin/bower install  
bower ESUDO Cannot be run with sudo

Additional error details:  
Since bower is a user command, there is no need to execute it with superuser permissions.  
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.

[http://www.joyent.com/blog/installing-node-and-npm](http://www.joyent.com/blog/installing-node-and-npm)

> <https://gist.github.com/isaacs/579814>
>
> There are more than three files. show original

You can however run a command with sudo using --allow-root option  
make[1]: \*\*\* [bower\_components/] Error 1  
make[1]: Leaving directory `/home/bubez/go/src/github.com/boivie/lovebeat/dashboard'  
make: \*\*\* [dashboard-assets] Error 2

I'm really sorry if the topic could be stupid.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 26, 2016, 4:54pm UTC](https://discuss.elastic.co/t/lovebeat-installation/48440/2 "2016-04-26T16:54:38Z")

</div>

This isn't the best place to ask for help about Lovebeat.

The error message tells you not to run the build as the super user, so don't use `su` to become the super user. Nowhere do the [Lovebeat build instructions](http://lovebeat.readthedocs.org/en/latest/installation.html#building-from-source) tell you to use `su`.

---

<div class="post-metadata">

**Author:** ![Luke3](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Luke3](https://discuss.elastic.co/u/Luke3)\
**Post date:** [April 27, 2016, 1:27pm UTC](https://discuss.elastic.co/t/lovebeat-installation/48440/3 "2016-04-27T13:27:13Z")

</div>

Thanks a lot, I will continue to work with it.  
I'm sorry again for the disturb.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:00am UTC](https://discuss.elastic.co/t/lovebeat-installation/48440/4 "2017-07-06T05:00:18Z")

</div>

Closed on July 6, 2017, 5:00am UTC


