Skip to content

Instantly share code, notes, and snippets.

-- Logs begin at Tue 2014-08-12 16:55:24 UTC, end at Tue 2014-08-12 17:26:11 UTC. --
Aug 12 16:55:24 localhost systemd-journal[110]: Runtime journal is using 8.0M (max allowed 375.8M, trying to leave 563.8M free of 3.6G available → current limit 375.8M).
Aug 12 16:55:24 localhost systemd-journal[110]: Runtime journal is using 8.0M (max allowed 375.8M, trying to leave 563.8M free of 3.6G available → current limit 375.8M).
Aug 12 16:55:24 localhost kernel: Initializing cgroup subsys cpuset
Aug 12 16:55:24 localhost kernel: Initializing cgroup subsys cpu
Aug 12 16:55:24 localhost kernel: Initializing cgroup subsys cpuacct
Aug 12 16:55:24 localhost kernel: Linux version 3.15.8+ (buildbot@ip-10-204-3-57) (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.13, pie-0.5.2) ) #2 SMP Thu Aug 7 19:50:25 UTC 2014
Aug 12 16:55:24 localhost kernel: Command line: console=tty0 ro noswap cros_legacy console=hvc0 root=LABEL=ROOT rootflags=subvol=root usr=PARTUUID=7130c94a-213a-4e5a-8e26-6cce9662f132
Aug 12 16:55:24 localhost kernel:
@michaelshobbs
michaelshobbs / gist:a05e97ebead541b7975c
Created February 9, 2015 18:43
dokkuPlugins.py output
ownerUrl url name types authors
------------------------------------ --------------------------------------------------------------- --------------------------------------- --------------------------------------------------------------------------------------------------- -------------------------------------------------
https://github.com/Kloadut https://github.com/Kloadut/dokku-md-plugin dokku-md-plugin [u'commands', u'install'] ['Kloadut']
https://github.com/ohardy https://github.com/ohardy/dokku-mariadb dokku-mariadb [u'backup-export', u'commands', u'docker-args', u'install', u'pre-build', u
@michaelshobbs
michaelshobbs / gist:5b6bc933fb3dc9eb96c6
Created July 10, 2015 19:51
chef-handler-sns report with UTF-8 chars
Exception: Mixlib::ShellOut::ShellCommandFailed: execute[git push dokku@localhost:api deploy:master] (dokku_deploy::default line 143) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of git push --force dokku@localhost:api deploy:master ----
STDOUT:
STDERR: warning: unable to access '/root/.config/git/attributes': Permission denied
remote: [1G-----> Cleaning up... [K
remote: [1G-----> Building api from buildstep... [K
remote: [1G-----> Checking Hostkeys Plugin sanity ... [K
remote: [1G-----> Installing Hostkeys in build environment ... [K
remote: [1G No app keys available. [K
remote: [1G Adding shared keys. [K
/"\
|\./|
| |
| |
|>~<|
| |
/'\| |/'\..
/~\| | | | \
| =[@]= | | \
levy@projects:~$ dokku ps:rebuild earthquakes
+ parse_args ps:rebuild earthquakes
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ args=("$@")
+ [[ ps:rebuild =~ ^--.* ]]
+ has_tty
@michaelshobbs
michaelshobbs / gist:c819644c0a045d214c08
Created November 19, 2015 14:56
dokku named-containers debug
-----> Running post-deploy
remote: + APP=my-cool-guy-test-app
remote: + APP_ROOT=/home/dokku/my-cool-guy-test-app
remote: ++ stat -t /home/dokku/my-cool-guy-test-app/CONTAINER.web.1
remote: + [[ -z /home/dokku/my-cool-guy-test-app/CONTAINER.web.1 65 8 81b4 1000 1000 fc00 1570552 1 0 0 1447944429 1447944429 1447944429 0 4096 ]]
remote: + for container in '"$APP_ROOT"/CONTAINER.*'
remote: + echo -n '/home/dokku/my-cool-guy-test-app/CONTAINER.web.1 '
remote: + cat /home/dokku/my-cool-guy-test-app/CONTAINER.web.1
/home/dokku/my-cool-guy-test-app/CONTAINER.web.1 81946dadb6f8bd06fd244108711fdb23616faeeaca03de7f0ac6dd7726525555
remote: + docker ps -a
remote: + /var/lib/dokku/plugins/enabled/git/commands git-build-locked test-nodejs-express-24805 e3da168ea919a01a53841018b7f4ec50b218964f
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/apps/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
Pseudo-terminal will not be allocated because stdin is not a terminal.
Counting objects: 185, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (91/91), done.
Writing objects: 100% (185/185), 30.52 KiB | 0 bytes/s, done.
Total 185 (delta 80), reused 185 (delta 80)
-----> Cleaning up...
-----> Building python-getting-started from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Python app detected
root@dokku:~/dokku# dokku config node-js-app
=====> node-js-app config vars
DATABASE_URL: mysql://mysql:ba1c37be637af4e0@dokku-mysql-lolipop:3306/lolipop
DOKKU_APP_RESTORE: 1
DOKKU_NGINX_PORT: 80
root@dokku:~/dokku# dokku enter node-js-app web
u2074@ba9a4cb55e26:~$ env | grep -i mysql
DOKKU_MYSQL_LOLIPOP_PORT_3306_TCP_ADDR=172.17.0.3
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_USER=mysql
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_PASSWORD=ba1c37be637af4e0
{{define "log.config"}}
access_log /var/log/nginx/{{.APP}}-access.log;
error_log /var/log/nginx/{{.APP}}-error.log;
{{end}}
{{define "location.config"}}
location / {
gzip on;
gzip_min_length 1100;