ion icon indicating copy to clipboard operation
ion copied to clipboard

ERROR: for redis Cannot start service redis

Open oren opened this issue 3 years ago • 7 comments

Your environment.

  • Version: I am using docker so I assume it's the recent. I would love to learn how to use different versions!

What did you do?

git clone https://github.com/pion/ion
cd ion
sudo make docker-start-services

/bin/sh: 1: go: not found
docker-compose pull
Pulling nats     ... done
Pulling redis    ... done
Pulling islb     ... done
Pulling app-room ... done
Pulling signal   ... done
Pulling sfu      ... done
docker network create ionnet
8a6f31d3b875c2a53772b023567d90f66cd2bea939707aa436d867ac553a3fcc
docker-compose -f docker-compose.yml up
Starting ion_redis_1 ... error
Starting ion_nats_1  ...

Starting ion_nats_1  ... done

ERROR: for redis  Cannot start service redis: network e3256c5fed9f7e7017135563e5037117082af044028b722ac8c15a451204a831 not found
ERROR: Encountered errors while bringing up the project.
make: *** [Makefile:34: docker-start-services] Error 1

What did you expect?

not to see an error

What happened?

i see error in the terminal:

ERROR: for redis  Cannot start service redis: network e3256c5fed9f7e7017135563e5037117082af044028b722ac8c15a451204a831 not found

oren avatar May 10 '22 04:05 oren

I found another website with docs about ION - https://www.pionion.org/quickstart/docker/. How is it different than https://pionion.github.io/docs/intro? I followed the instructions there and got the same error with redis.

oren avatar May 11 '22 20:05 oren

Hello @oren , can you describe your host environment(under docker) ?

katepangLiu avatar May 14 '22 01:05 katepangLiu

I found another website with docs about ION - https://www.pionion.org/quickstart/docker/. How is it different than https://pionion.github.io/docs/intro? I followed the instructions there and got the same error with redis.

The docker-start-services is just one task in the Makefile, It also work via docker-compose.

docker-start-services:
        docker-compose pull
        docker network create ionnet
        docker-compose -f docker-compose.yml up

katepangLiu avatar May 14 '22 02:05 katepangLiu

In my opionion, docker-start-services have some problem about the external network ionnet, such as #609 . you can try my fork docker-compose.yml and just run docker-compose up. (PR #610 is not merged yet).

katepangLiu avatar May 14 '22 02:05 katepangLiu

Hello @oren , can you describe your host environment(under docker) ?

Ubuntu 20.10

oren avatar May 14 '22 23:05 oren

In my opionion, docker-start-services have some problem about the external network ionnet, such as #609 . you can try my fork docker-compose.yml and just run docker-compose up. (PR #610 is not merged yet).

Hello @oren ,maybe you can try this way.

katepangLiu avatar May 16 '22 02:05 katepangLiu

sudo docker-compose up
Creating network "ionnet" with driver "bridge-"
ERROR: plugin "bridge-" not found

I googled for this error and someone suggested to replace the bridge- with default. now I get:

Creating network "ionnet" with driver "default"
ERROR: plugin "default" not found

oren avatar May 28 '22 18:05 oren