Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid IP address in add-host: "localhost" #6

Open
greathappyforest opened this issue Nov 29, 2017 · 3 comments
Open

invalid IP address in add-host: "localhost" #6

greathappyforest opened this issue Nov 29, 2017 · 3 comments

Comments

@greathappyforest
Copy link

Tried to setup in the vultr VPS, got error on localhost conf.
Creating ultimatemediaserver_sabnzbd_1 ... error
Creating ultimatemediaserver_transmission_1 ... error

Please check detail info below

root@vultr:~/ultimate-media-server# ping ultimate.media.server
PING ultimate.media.server (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.044 ms
'64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.058 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.089 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.065 ms
64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.060 ms
64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.079 ms
^C
--- ultimate.media.server ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4998ms
rtt min/avg/max/mdev = 0.044/0.065/0.089/0.017 ms
root@vultr:~/ultimate-media-server# PIA_USER=username PIA_PASS=password npm run docker

> [email protected] docker /root/ultimate-media-server
> npm run docker:build && npm run docker:stop && npm run docker:start


> [email protected] docker:build /root/ultimate-media-server
> node build/docker

Transmission credentials not provided. Transmission auth disabled.
Converting to yaml...
Writing to /root/ultimate-media-server/docker-compose.yml...
Successfully generated docker-compose.yml

> [email protected] docker:stop /root/ultimate-media-server
> docker-compose stop || true


> [email protected] docker:start /root/ultimate-media-server
> docker-compose up -d || true

Creating ultimatemediaserver_shares_1 ...
Creating ultimatemediaserver_shares_1 ... done
Creating ultimatemediaserver_sabnzbd_1 ...
Creating ultimatemediaserver_plexpy_1 ...
Creating ultimatemediaserver_plex_1 ...
Creating ultimatemediaserver_transmission_1 ...
Creating ultimatemediaserver_plexpy_1
Creating ultimatemediaserver_sabnzbd_1
Creating ultimatemediaserver_transmission_1
Creating ultimatemediaserver_sabnzbd_1 ... error

ERROR: for ultimatemediaserver_sabnzbd_1  Cannot create container for service saCreating ultimatemediaserver_transmission_1 ... error

ERROR: for ultimatemediaserver_transmission_1  Cannot create container for serviCreating ultimatemediaserver_plexpy_1 ... done

ERROR: for transmission  Cannot create container for service transmission: invalid IP address in add-host: "localhost"

ERROR: for sabnzbd  Cannot create container for service sabnzbd: invalid IP address in add-host: "localhost"
ERROR: Encountered errors while bringing up the project.
root@vultr:~/ultimate-media-server#

@WarlaxZ
Copy link

WarlaxZ commented Apr 10, 2018

same issue here

@tmmsmoreira
Copy link

I am having the same problem in transmission and sabnzbd containers:

sudo PIA_USER=XXXX PIA_PASS=XXXXX npm run docker

> [email protected] docker /home/pi/ultimate-media-server
> npm run docker:build && npm run docker:stop && npm run docker:start


> [email protected] docker:build /home/pi/ultimate-media-server
> node build/docker

Transmission credentials not provided. Transmission auth disabled.
Converting to yaml...
Writing to /home/pi/ultimate-media-server/docker-compose.yml...
Successfully generated docker-compose.yml

> [email protected] docker:stop /home/pi/ultimate-media-server
> docker-compose stop || true

Stopping ultimatemediaserver_plexpy_1 ... done
Stopping ultimatemediaserver_plex_1 ... done

> [email protected] docker:start /home/pi/ultimate-media-server
> docker-compose up -d || true

Starting ultimatemediaserver_shares_1
Starting ultimatemediaserver_plex_1
Starting ultimatemediaserver_plexpy_1
Creating ultimatemediaserver_transmission_1
Creating ultimatemediaserver_sabnzbd_1

ERROR: for transmission  Cannot create container for service transmission: invalid IP address in add-host: "localhost"

ERROR: for sabnzbd  Cannot create container for service sabnzbd: invalid IP address in add-host: "localhost"
ERROR: Encountered errors while bringing up the project.

@Xyrodileas
Copy link

Ran into the same issue, however I was able to get the containers up by editing docker-compose.yml, replacing localhost by the IP of my host in the extra_hosts section

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

No branches or pull requests

4 participants