# Cannot install ECE onto Ubuntu 16.04

**URL:** <https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [March 10, 2020, 2:52pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961 "2020-03-10T14:52:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![akimbah](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@akimbah](https://discuss.elastic.co/u/akimbah)\
**Post date:** [March 10, 2020, 2:52pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/1 "2020-03-10T14:52:08Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da0c12c25a0e58946061c5b8680889fbb8d53168.png)

I am attempting to install ECE 2.4.3 onto an EC2 instance of Ubuntu 16.04. Keep getting stuck in this portion. Attached a screenshot of the --debug information above. Please advise

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [March 10, 2020, 3:19pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/2 "2020-03-10T15:19:26Z")

</div>

That pause occurs while the ECE host attempts to spin up one of 2 ES clusters that it uses as part of its management plane

Some delay _is_ expected here - the lower powered the underlying hardware the longer it will take. I think about 5 mins is normal ... is it pausing for you until it times out an the install fails? And what hardware are you installing on?

If it's not a hardware performance issue, then it's likely that some issue with the pre-conditions is preventing the cluster from starting (example: the data volume has the wrong permissions, or docker can't download the stack images from our website)

There are more logs that will give insight into what's going on during all the waiting and can help pinpoint the issue:

- `docker ps` - is `frc-allocators-allocator` running? If not then check out the runner logs (`/mnt/data/elastic/$RUNNER_ID/services/runner/logs`)
- `docker images` have the `elasticsearch` and `kibana` images downladed?
- `/mnt/data/elastic/$RUNNER_ID/services/allocators/containers/elasticsearch/$CLUSTER_ID/$INSTANCE_ID/logs` - ES logs, including `boot.log` if nothing in there
- `/mnt/data/elastic/$RUNNER_ID/services/allocator/logs`

---

<div class="post-metadata">

**Author:** ![akimbah](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@akimbah](https://discuss.elastic.co/u/akimbah)\
**Post date:** [March 10, 2020, 8:20pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/3 "2020-03-10T20:20:44Z")

</div>

I had to manually pull the elasticsearch and kibana images from docker. Then the install completed. Thank you. I could use more help though, I am not able to access the management portal for ECE. I set up a proxy\_pass through nginx but it's not working in EC2 vs an on premise. Any advise on how to access management portal?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a9066dd7390f84332f088c807931fa2651b89685.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/6/265174d26350f8182bac9606a9b1f6be14eb8ed2.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [March 10, 2020, 8:38pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/4 "2020-03-10T20:38:39Z")

</div>

What config does your nginx have?

I'd start by trying `curl -u "admin:$PASSWORD" 'localhost:12400/api/v1'`(or `-k 'https://localhost:12443') from the host you installed on, then replace `localhost` by the IP or host of the server

If that works then it should just be a matter of hitting the right IP/host and port via the nginx config

---

<div class="post-metadata">

**Author:** ![akimbah](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@akimbah](https://discuss.elastic.co/u/akimbah)\
**Post date:** [March 10, 2020, 9:03pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/5 "2020-03-10T21:03:52Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a77bc43bef25bb69c21dbe0df5d466b046bae0a3.png)  
having issues running the curl command, getting this error:

{"errors":[{"code":"root.unauthenticated","message":"The supplied authentication is invalid"}]

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [March 10, 2020, 9:06pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/6 "2020-03-10T21:06:50Z")

</div>

The error means the user/pass you're providing it is wrong

The nginx config looks like it should work fine provided port `12400` is open for the host `10.192.13.22` (eg once you get the user/pass right, you should be able to curl that locally then from the box on which you have the proxy etc)

---

<div class="post-metadata">

**Author:** ![akimbah](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@akimbah](https://discuss.elastic.co/u/akimbah)\
**Post date:** [March 11, 2020, 6:18pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/7 "2020-03-11T18:18:10Z")

</div>

I've been able to install ECE on RHEL 7.6 and Ubuntu 16.04. With nginx installed as web servers for both, however on my RHEL i have access to these assets while my Ubuntu throws 404 for the login scripts.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f2ed9432fa1673cb8395df8e869560bdd137f0e4.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67f39fcf96a5f128aaf13bd8a8a7a9d567687f28.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2e7521695c59ce41c0d633664a3f5692a147b44d.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [March 12, 2020, 6:08pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/8 "2020-03-12T18:08:06Z")

</div>

What about if you access the page locally (ie on the host serving ECE)?

I've never seen that 404 `net::ERR_ABORTED` craziness so I'm guessing it's due to some OS or nginx config? I'm just guessing though...

---

<div class="post-metadata">

**Author:** ![akimbah](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@akimbah](https://discuss.elastic.co/u/akimbah)\
**Post date:** [March 12, 2020, 6:20pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/9 "2020-03-12T18:20:09Z")

</div>

I can hit the ECE management portal locally. Seems to be a network security issue. Thank you!

---

<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:** [March 26, 2020, 6:20pm UTC](https://discuss.elastic.co/t/cannot-install-ece-onto-ubuntu-16-04/222961/10 "2020-03-26T18:20:10Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
