{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/dokku/issues/2347","repository_url":"https://api.github.com/repos/dokku/dokku","labels_url":"https://api.github.com/repos/dokku/dokku/issues/2347/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku/issues/2347/comments","events_url":"https://api.github.com/repos/dokku/dokku/issues/2347/events","html_url":"https://github.com/dokku/dokku/issues/2347","id":168945884,"number":2347,"title":"Dokku command not found after install plugin","user":{"login":"jeisoncp","id":7952798,"avatar_url":"https://avatars.githubusercontent.com/u/7952798?v=3","gravatar_id":"","url":"https://api.github.com/users/jeisoncp","html_url":"https://github.com/jeisoncp","followers_url":"https://api.github.com/users/jeisoncp/followers","following_url":"https://api.github.com/users/jeisoncp/following{/other_user}","gists_url":"https://api.github.com/users/jeisoncp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeisoncp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeisoncp/subscriptions","organizations_url":"https://api.github.com/users/jeisoncp/orgs","repos_url":"https://api.github.com/users/jeisoncp/repos","events_url":"https://api.github.com/users/jeisoncp/events{/privacy}","received_events_url":"https://api.github.com/users/jeisoncp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-02T17:45:57Z","updated_at":"2016-08-02T18:03:11Z","closed_at":null,"body":"Description of problem:\r\nIt'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. \r\n\r\nOutput of the following commands\r\n\r\n- `uname -a`: \r\n`Linux server01 3.18.26-guest-4-4751b4a-x86_64 #4 SMP Mon Feb 1 16:09:23 UTC 2016 x86_64 GNU/Linux`\r\n\r\n- `free -m`:\r\n```\r\n             total       used       free     shared    buffers     cached\r\nMem:           215        142         72          0          3         56\r\n-/+ buffers/cache:         83        131\r\nSwap:          255         20        235\r\n```\r\n\r\n- `docker version`:\r\n```\r\nClient:\r\n Version:      1.12.0\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   8eab29e\r\n Built:        Thu Jul 28 21:40:59 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.0\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   8eab29e\r\n Built:        Thu Jul 28 21:40:59 2016\r\n```\r\n\r\n- `docker -D info`:\r\n```\r\nContainers: 0\r\n Running: 0\r\n Paused: 0\r\n Stopped: 0\r\nImages: 8\r\nServer Version: 1.12.0\r\nStorage Driver: devicemapper\r\n Pool Name: docker-8:0-50209-pool\r\n Pool Blocksize: 65.54 kB\r\n Base Device Size: 10.74 GB\r\n Backing Filesystem: xfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 2.007 GB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 125.2 MB\r\n Metadata Space Used: 2.441 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 125.2 MB\r\n Thin Pool Minimum Free Space: 10.74 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Deferred Deletion Enabled: false\r\n Deferred Deleted Device Count: 0\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.90 (2014-09-01)\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: host bridge null overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options:\r\nKernel Version: 3.18.26-guest-4-4751b4a-x86_64\r\nOperating System: Debian GNU/Linux 8 (jessie)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 215.6 MiB\r\nName: server01\r\nID: WRLO:Z6L5:5KHQ:XJKJ:XPWG:KGUR:LPBS:W5ZR:IOMY:VZGO:5RYT:5CI4\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): true\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n- `sigil -v`:\r\n`0.4.0`\r\n\r\n- `docker run -ti gliderlabs/herokuish:latest herokuish version`:\r\n```\r\nkuish version\r\nherokuish: 0.3.18\r\nbuildpacks:\r\n  heroku-buildpack-multi     v1.0.0\r\n  heroku-buildpack-ruby      v146\r\n  heroku-buildpack-nodejs    v91\r\n  heroku-buildpack-clojure   v75\r\n  heroku-buildpack-python    v81\r\n  heroku-buildpack-java      v44\r\n  heroku-buildpack-gradle    v17\r\n  heroku-buildpack-grails    v21\r\n  heroku-buildpack-scala     v72\r\n  heroku-buildpack-play      v26\r\n  heroku-buildpack-php       v109\r\n  heroku-buildpack-go        v44\r\n  heroku-buildpack-erlang    fa17af9\r\n  buildpack-nginx            v5\r\n  emberjs.tgz                latest\r\n```\r\n\r\n- `dokku version`:\r\n`can't run anymore, but it's 0.7.0`\r\n\r\n- `dokku plugin`:\r\n```\r\nplugn: dev\r\n  00_dokku-standard    0.7.0 enabled    dokku core standard plugin\r\n  20_events            0.7.0 enabled    dokku core events logging plugin\r\n  apps                 0.7.0 enabled    dokku core apps plugin\r\n  build-env            0.7.0 enabled    dokku core build-env plugin\r\n  certs                0.7.0 enabled    dokku core certificate management plugin\r\n  checks               0.7.0 enabled    dokku core checks plugin\r\n  common               0.7.0 enabled    dokku core common plugin\r\n  config               0.7.0 enabled    dokku core config plugin\r\n  docker-options       0.7.0 enabled    dokku core docker-options plugin\r\n  domains              0.7.0 enabled    dokku core domains plugin\r\n  enter                0.7.0 enabled    dokku core enter plugin\r\n  git                  0.7.0 enabled    dokku core git plugin\r\n  logs                 0.7.0 enabled    dokku core logs plugin\r\n  named-containers     0.7.0 enabled    dokku core named containers plugin\r\n  nginx-vhosts         0.7.0 enabled    dokku core nginx-vhosts plugin\r\n  plugin               0.7.0 enabled    dokku core plugin plugin\r\n  postgres             1.0.0 enabled    dokku postgres service plugin\r\n  proxy                0.7.0 enabled    dokku core proxy plugin\r\n  ps                   0.7.0 enabled    dokku core ps plugin\r\n  repo                 0.7.0 enabled    dokku core repo plugin\r\n  shell                0.7.0 enabled    dokku core shell plugin\r\n  ssh-keys             0.6.4 enabled    dokku core ssh-keys plugin\r\n  storage              0.7.0 enabled    dokku core storage plugin\r\n  tags                 0.7.0 enabled    dokku core tags plugin\r\n  tar                  0.7.0 enabled    dokku core tar plugin\r\n```\r\n\r\nEnvironment details (AWS, VirtualBox, physical, etc.):  \r\nDebian 8 on Gandi VPS\r\n\r\nHow was dokku installed?:\r\nFrom bootstrap.sh.\r\n\r\nHow reproducible:\r\nStart a new Debian 8 machine e try to reproduce the [deploy tutorial](http://dokku.viewdocs.io/dokku~v0.7.0/deployment/application-deployment/)\r\n\r\nSteps to Reproduce:\r\n1. Run at the step sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git\r\n2. Run dokku postgres:create rails-database\r\n3. Run any dokku command\r\n\r\nActual Results:\r\nIn the 2 and 3 steps above you will get:\r\n```\r\n/home/dokku/.basher/bash: main: command not found\r\nAccess denied\r\n```\r\n\r\nExpected Results:\r\nCreate a postgres service with the name rails-database."},"comment":{"url":"https://api.github.com/repos/dokku/dokku/issues/comments/236989408","html_url":"https://github.com/dokku/dokku/issues/2347#issuecomment-236989408","issue_url":"https://api.github.com/repos/dokku/dokku/issues/2347","id":236989408,"user":{"login":"jeisoncp","id":7952798,"avatar_url":"https://avatars.githubusercontent.com/u/7952798?v=3","gravatar_id":"","url":"https://api.github.com/users/jeisoncp","html_url":"https://github.com/jeisoncp","followers_url":"https://api.github.com/users/jeisoncp/followers","following_url":"https://api.github.com/users/jeisoncp/following{/other_user}","gists_url":"https://api.github.com/users/jeisoncp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeisoncp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeisoncp/subscriptions","organizations_url":"https://api.github.com/users/jeisoncp/orgs","repos_url":"https://api.github.com/users/jeisoncp/repos","events_url":"https://api.github.com/users/jeisoncp/events{/privacy}","received_events_url":"https://api.github.com/users/jeisoncp/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T18:03:11Z","updated_at":"2016-08-02T18:03:11Z","body":"I'm not sure if I understood what \"gist\" means, but here it is:\r\n\r\n<script src=\"https://gist.github.com/jeisoncp/a7529e759a329fd5cefe429dbe1d97a8.js\"></script>"}}
{"actor":{"display_login":"jeisoncp"}}