influxdata / sandbox

A sandbox for the full TICK stack
MIT License
486 stars 222 forks source link

when I try to ./sandbox up command #74

Open hayleyshim opened 4 years ago

hayleyshim commented 4 years ago

My environment is Ubuntu 16.04 on Cloud. When I try to type './sandbox up' command, this error was shown,


Opening tabs in browser... /usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found /usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found /usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found /usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found /usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found /usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found xdg-open: no method available for opening 'http://localhost:8888'

How can I fix it?

Please give me advice ~

samhld commented 4 years ago

@hayleyshim is this being run in a Linux VM that doesn't have a browser installed? In parallel, can you verify that at least the containers spun up with docker ps or docker-compose ps in the directory with the docker-compose file?

aluchuk commented 3 years ago
Opening tabs in browser...
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
xdg-open: no method available for opening 'http://localhost:8888'
docker@homesever:/tmp/sandbox-master$ whoami
docker
docker@homesever:/tmp/sandbox-master$ groups
docker sudo
docker@homesever:/tmp/sandbox-master$ uname -a
Linux homesever.ho.me 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

can you leave opening the browser up to the user, please?

aluchuk commented 3 years ago

docker ps

CONTAINER ID        IMAGE                          COMMAND                  CREATED             STATUS              PORTS                                                                    NAMES
f0dfd2e1baf5        chrono_config                  "/entrypoint.sh chro…"   14 minutes ago      Up 14 minutes       0.0.0.0:8888->8888/tcp                                                   sandbox-master_chronograf_1
eb9e2774097f        telegraf                       "/entrypoint.sh tele…"   15 minutes ago      Up 14 minutes       8092/udp, 8125/udp, 8094/tcp                                             sandbox-master_telegraf_1
4b10fbc794c9        kapacitor                      "/entrypoint.sh kapa…"   15 minutes ago      Up 14 minutes       0.0.0.0:9092->9092/tcp                                                   sandbox-master_kapacitor_1
4bc1df951620        influxdb                       "/entrypoint.sh infl…"   15 minutes ago      Up 15 minutes       0.0.0.0:8082->8082/tcp, 0.0.0.0:8086->8086/tcp, 0.0.0.0:8089->8089/udp   sandbox-master_influxdb_1
4f6af8e43131        sandbox-master_documentation   "/documentation/docu…"   15 minutes ago      Up 15 minutes       0.0.0.0:3010->3000/tcp                                                   sandbox-master_documentation_1

docker-compose ps

Name                           Command               State                                   Ports                                 
------------------------------------------------------------------------------------------------------------------------------------------------
sandbox-master_chronograf_1      /entrypoint.sh chronograf        Up      0.0.0.0:8888->8888/tcp                                                
sandbox-master_documentation_1   /documentation/documentati ...   Up      0.0.0.0:3010->3000/tcp                                                
sandbox-master_influxdb_1        /entrypoint.sh influxd           Up      0.0.0.0:8082->8082/tcp, 0.0.0.0:8086->8086/tcp, 0.0.0.0:8089->8089/udp
sandbox-master_kapacitor_1       /entrypoint.sh kapacitord        Up      0.0.0.0:9092->9092/tcp                                                
sandbox-master_telegraf_1        /entrypoint.sh telegraf          Up      8092/udp, 8094/tcp, 8125/udp