-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
Description of problem:
It's the second time that I try to install Dokku on Debian 8 on Gandi VPS. All is goes fine until I run the command to install the postgres plugin, following the deploy tutorial. The plugin appears be installed, but after this the dokku command always return not found/access denied.
Output of the following commands
uname -a:
Linux server01 3.18.26-guest-4-4751b4a-x86_64 #4 SMP Mon Feb 1 16:09:23 UTC 2016 x86_64 GNU/Linuxfree -m:
total used free shared buffers cached
Mem: 215 142 72 0 3 56
-/+ buffers/cache: 83 131
Swap: 255 20 235
docker version:
Client:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 21:40:59 2016
OS/Arch: linux/amd64
Server:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 21:40:59 2016
docker -D info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 8
Server Version: 1.12.0
Storage Driver: devicemapper
Pool Name: docker-8:0-50209-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 2.007 GB
Data Space Total: 107.4 GB
Data Space Available: 125.2 MB
Metadata Space Used: 2.441 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 125.2 MB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.90 (2014-09-01)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options:
Kernel Version: 3.18.26-guest-4-4751b4a-x86_64
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 215.6 MiB
Name: server01
ID: WRLO:Z6L5:5KHQ:XJKJ:XPWG:KGUR:LPBS:W5ZR:IOMY:VZGO:5RYT:5CI4
Docker Root Dir: /var/lib/docker
Debug Mode (client): true
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8
sigil -v:
0.4.0docker run -ti gliderlabs/herokuish:latest herokuish version:
kuish version
herokuish: 0.3.18
buildpacks:
heroku-buildpack-multi v1.0.0
heroku-buildpack-ruby v146
heroku-buildpack-nodejs v91
heroku-buildpack-clojure v75
heroku-buildpack-python v81
heroku-buildpack-java v44
heroku-buildpack-gradle v17
heroku-buildpack-grails v21
heroku-buildpack-scala v72
heroku-buildpack-play v26
heroku-buildpack-php v109
heroku-buildpack-go v44
heroku-buildpack-erlang fa17af9
buildpack-nginx v5
emberjs.tgz latest
dokku version:
can't run anymore, but it's 0.7.0dokku plugin:
plugn: dev
00_dokku-standard 0.7.0 enabled dokku core standard plugin
20_events 0.7.0 enabled dokku core events logging plugin
apps 0.7.0 enabled dokku core apps plugin
build-env 0.7.0 enabled dokku core build-env plugin
certs 0.7.0 enabled dokku core certificate management plugin
checks 0.7.0 enabled dokku core checks plugin
common 0.7.0 enabled dokku core common plugin
config 0.7.0 enabled dokku core config plugin
docker-options 0.7.0 enabled dokku core docker-options plugin
domains 0.7.0 enabled dokku core domains plugin
enter 0.7.0 enabled dokku core enter plugin
git 0.7.0 enabled dokku core git plugin
logs 0.7.0 enabled dokku core logs plugin
named-containers 0.7.0 enabled dokku core named containers plugin
nginx-vhosts 0.7.0 enabled dokku core nginx-vhosts plugin
plugin 0.7.0 enabled dokku core plugin plugin
postgres 1.0.0 enabled dokku postgres service plugin
proxy 0.7.0 enabled dokku core proxy plugin
ps 0.7.0 enabled dokku core ps plugin
repo 0.7.0 enabled dokku core repo plugin
shell 0.7.0 enabled dokku core shell plugin
ssh-keys 0.6.4 enabled dokku core ssh-keys plugin
storage 0.7.0 enabled dokku core storage plugin
tags 0.7.0 enabled dokku core tags plugin
tar 0.7.0 enabled dokku core tar plugin
Environment details (AWS, VirtualBox, physical, etc.):
Debian 8 on Gandi VPS
How was dokku installed?:
From bootstrap.sh.
How reproducible:
Start a new Debian 8 machine e try to reproduce the deploy tutorial
Steps to Reproduce:
- Run at the step sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git
- Run dokku postgres:create rails-database
- Run any dokku command
Actual Results:
In the 2 and 3 steps above you will get:
/home/dokku/.basher/bash: main: command not found
Access denied
Expected Results:
Create a postgres service with the name rails-database.