intercity / intercity-next

Web control panel to deploy apps on your servers (with Dokku)
https://intercity.io/
MIT License
116 stars 23 forks source link

Error in instalation #227

Closed caionaweb closed 7 years ago

caionaweb commented 7 years ago

Hello. After instalation, show me this:

Status: Downloaded newer image for intercity/intercity:0.4.0 fatal: unable to access 'https://github.com/SamSaffron/pups.git/': Could not resolve host: github.com ---- Starting Intercity

  • /usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e RACK_ENV=production -e DB_SOCKET=/var/run/postgresql -e DB_NAME=intercity -e SECRET_KEY_BASE=secret_key_base -e HOSTNAME=pfc1.tk -e LETSENCRYPT_DIR=/shared/letsencrypt -e LETSENCRYPT_ACCOUNT_EMAIL=mypersonalemail -h pfc1.tk-app -e DOCKER_HOST_IP= --name app -t -p 8880:80 -p 2222:22 -p 8843:443 -v /var/intercity/shared/:/shared -v /var/intercity/shared/log/var-log:/var/log local_intercity/app /sbin/boot Unable to find image 'local_intercity/app:latest' locally /usr/bin/docker: Error response from daemon: repository local_intercity/app not found: does not exist or no pull access. See '/usr/bin/docker run --help'. ---- Done

In docker/dokku ps shows that conteiner does not go up.

I try run image from hub.docker

/usr/bin/docker run -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e RACK_ENV=production -e DB_SOCKET=/var/run/postgresql -e DB_NAME=intercity -e SECRET_KEY_BASE=secret_key_base -e HOSTNAME=pfc1.tk -e LETSENCRYPT_DIR=/shared/letsencrypt -e LETSENCRYPT_ACCOUNT_EMAIL=mypersonalemail -h pfc1.tk-app -e DOCKER_HOST_IP=178.32.124.143 --name app -t -p 8880:80 -p 2222:22 -p 8843:443 -v /var/intercity/shared/:/shared -v /var/intercity/shared/log/var-log:/var/log jvanbaarsen/intercity-server-builder

The conteiner go up, but is not accessible by no one ports

docker info:

Containers: 17 Running: 3 Paused: 0 Stopped: 14 Images: 35 Server Version: 1.13.1 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 118 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host macvlan null overlay Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1 runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f init version: 949e6fa Kernel Version: 3.16.0-4-amd64 Operating System: Debian GNU/Linux 8 (jessie) OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 7.849 GiB Name: pfc1.tk ID: GLT6:ZR7T:XTWD:AGQ2:MLPE:C5FY:64DB:PQMV:NDGA:D5BD:55S5:GGM5 Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ WARNING: No memory limit support WARNING: No swap limit support WARNING: No kernel memory limit support WARNING: No oom kill disable support WARNING: No cpu cfs quota support WARNING: No cpu cfs period support Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

dokku version 0.8.0

Help me?

caionaweb commented 7 years ago

So... a few minutes after, I found this: https://meta.discourse.org/t/afatal-unable-to-access-https-github-com-samsaffron-pups-git-could-not-resolve-host-github-com/18611/6 and solved all problems.

Thanks anyway!