# Cannot install Rasa X (docker-compose) on Ubuntu 20.04

**URL:** <https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [June 23, 2021, 3:08am UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944 "2021-06-23T03:08:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yxs8495](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yxs8495/32/15513_2.png) [@yxs8495](https://forum.rasa.com/u/yxs8495)\
**Post date:** [June 23, 2021, 3:08am UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/1 "2021-06-23T03:08:57Z")

</div>

Trying to install Rasa X using docker-compose .yml from rasa docs keep getting:

TASK [geerlingguy.docker : Add Docker repository.] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “apt cache update failed”}

How to remedy?

---

<div class="post-metadata">

**Author:** ![Flo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/flo/32/17839_2.png) [@Flo](https://forum.rasa.com/u/Flo)\
**Post date:** [August 7, 2021, 4:51pm UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/2 "2021-08-07T16:51:42Z")

</div>

Hello, same problem here, did you find an answer?

---

<div class="post-metadata">

**Author:** ![yxs8495](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yxs8495/32/15513_2.png) [@yxs8495](https://forum.rasa.com/u/yxs8495)\
**Post date:** [August 10, 2021, 3:39pm UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/3 "2021-08-10T15:39:15Z")

</div>

No, it is my plan to use the implement the docker-compose solution manually.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 10, 2021, 4:05pm UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/4 "2021-08-10T16:05:32Z")

</div>

@yxs8495 Are you able to solve this?

---

<div class="post-metadata">

**Author:** ![yxs8495](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yxs8495/32/15513_2.png) [@yxs8495](https://forum.rasa.com/u/yxs8495)\
**Post date:** [August 23, 2021, 10:55am UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/5 "2021-08-23T10:55:33Z")

</div>

Yes, I have been able to use the docker-compose installation using install.sh.

1. Run everything in install.sh except last 3 lines:

> echo “Installing docker role” sudo /usr/local/bin/ansible-galaxy install --force geerlingguy.docker echo “Docker role for ansible has been installed”

* * *

1. sudo su - (become root) then in root@Vega:~/.ansible/roles/geerlingguy.docker/tasks# in **setup-Debian.yml** change **update\_cache** to false.

> name: Add Docker repository. apt\_repository: repo: “{{ docker\_apt\_repository }}” state: present **update\_cache: false**

* * *

1. Also in rasa\_x\_playbook.yml add **.ce**

> - name: Retrieve docker compose to run Rasa X / Enterprise get\_url: url: [https://storage.googleapis.com/rasa-x-releases/](https://storage.googleapis.com/rasa-x-releases/){{ VAR\_RASA\_X\_VERSION }}/docker-compose. **ce**.yml dest: “{{ RASA\_HOME }}/docker-compose.yml” mode: 0766 force: yes when: ansible\_testing is not defined

* * *

Now the given instructions work

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 23, 2021, 11:11am UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/6 "2021-08-23T11:11:47Z")

</div>

@yxs8495 Great! Close this thread whilst clicking the above post of yours for the others.

---

<div class="post-metadata">

**Author:** ![yxs8495](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yxs8495/32/15513_2.png) [@yxs8495](https://forum.rasa.com/u/yxs8495)\
**Post date:** [August 23, 2021, 1:05pm UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/7 "2021-08-23T13:05:39Z")

</div>

Sorry not sure how to close thread and post for others. I just clicked on solution

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 23, 2021, 1:47pm UTC](https://forum.rasa.com/t/cannot-install-rasa-x-docker-compose-on-ubuntu-20-04/44944/8 "2021-08-23T13:47:37Z")

</div>

@yxs8495 yeps that’s the way only 👍 and you know it.😉
