Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

ERROR: for redis Cannot start service redis #613

Open
oren opened this issue May 10, 2022 · 7 comments
Open

ERROR: for redis Cannot start service redis #613

oren opened this issue May 10, 2022 · 7 comments

Comments

@oren
Copy link

oren commented May 10, 2022

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
Copy link
Author

oren commented May 11, 2022

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.

@katepangLiu
Copy link
Contributor

katepangLiu commented May 14, 2022

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

@katepangLiu
Copy link
Contributor

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
Copy link
Contributor

katepangLiu commented May 14, 2022

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).

@oren
Copy link
Author

oren commented May 14, 2022

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

Ubuntu 20.10

@katepangLiu
Copy link
Contributor

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.

@oren
Copy link
Author

oren commented May 28, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants