yxs8495
(John Cleveland)
June 23, 2021, 3:08am
1
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?
Flo
(Florian Formentini)
August 7, 2021, 4:51pm
2
Hello, same problem here, did you find an answer?
yxs8495
(John Cleveland)
August 10, 2021, 3:39pm
3
No, it is my plan to use the implement the docker-compose solution manually.
nik202
(NiK202)
August 10, 2021, 4:05pm
4
@yxs8495 Are you able to solve this?
yxs8495
(John Cleveland)
August 23, 2021, 10:55am
5
Yes, I have been able to use the docker-compose installation using install.sh.
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”
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
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/ {{ 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
nik202
(NiK202)
August 23, 2021, 11:11am
6
@yxs8495 Great! Close this thread whilst clicking the above post of yours for the others.
yxs8495
(John Cleveland)
August 23, 2021, 1:05pm
7
Sorry not sure how to close thread and post for others. I just clicked on solution
nik202
(NiK202)
August 23, 2021, 1:47pm
8
@yxs8495 yeps that’s the way only and you know it.