Skip to content

Instantly share code, notes, and snippets.

@eljojo
Created May 4, 2015 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eljojo/be8a0feff34b4d02509b to your computer and use it in GitHub Desktop.
Save eljojo/be8a0feff34b4d02509b to your computer and use it in GitHub Desktop.
dokku_on_debian_after_fixing_nginx
root@dokku:~/dokku# make install
apt-get update
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.de.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.de.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://ftp.de.debian.org jessie/main Sources
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.de.debian.org jessie/main amd64 Packages
Hit http://ftp.de.debian.org jessie/main Translation-en
Hit http://ftp.de.debian.org jessie-updates/main Sources
Get:1 http://ftp.de.debian.org jessie-updates/main amd64 Packages/DiffIndex [229 B]
Get:2 http://ftp.de.debian.org jessie-updates/main Translation-en/DiffIndex [229 B]
Ign http://get.docker.io docker InRelease
Hit http://get.docker.io docker Release.gpg
Hit http://get.docker.io docker Release
Hit http://get.docker.io docker/main amd64 Packages
Ign http://get.docker.io docker/main Translation-en_US
Ign http://get.docker.io docker/main Translation-en
Fetched 458 B in 6s (66 B/s)
Reading package lists... Done
wget -qO /usr/local/bin/sshcommand https://raw.github.com/progrium/sshcommand/master/sshcommand
chmod +x /usr/local/bin/sshcommand
sshcommand create dokku /usr/local/bin/dokku
User 'dokku' already exists
wget -qO /tmp/pluginhook_0.1.0_amd64.deb https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
dpkg -i /tmp/pluginhook_0.1.0_amd64.deb
(Reading database ... 34227 files and directories currently installed.)
Preparing to unpack .../tmp/pluginhook_0.1.0_amd64.deb ...
Unpacking pluginhook (0.1.0) over (0.1.0) ...
Setting up pluginhook (0.1.0) ...
lsmod | grep aufs || modprobe aufs || apt-get install -qq -y linux-image-extra-`uname -r` > /dev/null
aufs 199579 0
apt-get install -qq -y curl
egrep -i "^docker" /etc/group || groupadd docker
docker:x:1002:dokku
usermod -aG docker dokku
curl --silent https://get.docker.com/gpg | apt-key add -
OK
echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list
apt-get update
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.de.debian.org jessie InRelease
Hit http://ftp.de.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://ftp.de.debian.org jessie/main Sources
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.de.debian.org jessie/main amd64 Packages
Hit http://ftp.de.debian.org jessie/main Translation-en
Hit http://ftp.de.debian.org jessie-updates/main Sources
Get:1 http://ftp.de.debian.org jessie-updates/main amd64 Packages/DiffIndex [229 B]
Get:2 http://ftp.de.debian.org jessie-updates/main Translation-en/DiffIndex [229 B]
Ign http://get.docker.io docker InRelease
Hit http://get.docker.io docker Release.gpg
Hit http://get.docker.io docker Release
Hit http://get.docker.io docker/main amd64 Packages
Ign http://get.docker.io docker/main Translation-en_US
Ign http://get.docker.io docker/main Translation-en
Fetched 458 B in 7s (64 B/s)
Reading package lists... Done
apt-get install -qq -y lxc-docker
sleep 2 # give docker a moment i guess
apt-get install -qq -y help2man
apt-get install -qq -y man-db
make -e stack
make[1]: Entering directory '/root/dokku'
Start building buildstep
progrium/buildstep latest df01a20bc26a 21 minutes ago 994.8 MB
make[1]: Leaving directory '/root/dokku'
cp dokku /usr/local/bin/dokku
mkdir -p /var/lib/dokku/plugins
find /var/lib/dokku/plugins -mindepth 2 -maxdepth 2 -name '.core' -printf '%h\0' | xargs -0 rm -Rf
find plugins/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read plugin; do \
rm -Rf /var/lib/dokku/plugins/$plugin && \
cp -R plugins/$plugin /var/lib/dokku/plugins && \
touch /var/lib/dokku/plugins/$plugin/.core; \
done
make addman
make[1]: Entering directory '/root/dokku'
mkdir -p /usr/local/share/man/man1
help2man -Nh help -v version -n "configure and get information from your dokku installation" -o /usr/local/share/man/man1/dokku.1 dokku
mandb
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
Purging old database entries in /usr/share/man/ru...
Processing manual pages under /usr/share/man/ru...
Purging old database entries in /usr/share/man/fi...
Processing manual pages under /usr/share/man/fi...
Purging old database entries in /usr/share/man/id...
Processing manual pages under /usr/share/man/id...
Purging old database entries in /usr/share/man/fr...
Processing manual pages under /usr/share/man/fr...
Purging old database entries in /usr/share/man/sr...
Processing manual pages under /usr/share/man/sr...
Purging old database entries in /usr/share/man/it...
Processing manual pages under /usr/share/man/it...
Purging old database entries in /usr/share/man/el...
Processing manual pages under /usr/share/man/el...
Purging old database entries in /usr/share/man/pt_BR...
Processing manual pages under /usr/share/man/pt_BR...
Purging old database entries in /usr/share/man/da...
Processing manual pages under /usr/share/man/da...
Purging old database entries in /usr/share/man/nl...
Processing manual pages under /usr/share/man/nl...
Purging old database entries in /usr/share/man/sv...
Processing manual pages under /usr/share/man/sv...
Purging old database entries in /usr/share/man/pl...
Processing manual pages under /usr/share/man/pl...
Purging old database entries in /usr/share/man/nb...
Processing manual pages under /usr/share/man/nb...
Purging old database entries in /usr/share/man/hu...
Processing manual pages under /usr/share/man/hu...
Purging old database entries in /usr/share/man/de...
Processing manual pages under /usr/share/man/de...
Purging old database entries in /usr/share/man/vi...
Processing manual pages under /usr/share/man/vi...
Purging old database entries in /usr/share/man/zh_CN...
Processing manual pages under /usr/share/man/zh_CN...
Purging old database entries in /usr/share/man/uk...
Processing manual pages under /usr/share/man/uk...
Purging old database entries in /usr/share/man/ko...
Processing manual pages under /usr/share/man/ko...
Purging old database entries in /usr/share/man/gl...
Processing manual pages under /usr/share/man/gl...
Purging old database entries in /usr/share/man/eo...
Processing manual pages under /usr/share/man/eo...
Purging old database entries in /usr/share/man/es...
Processing manual pages under /usr/share/man/es...
Purging old database entries in /usr/share/man/cs...
Processing manual pages under /usr/share/man/cs...
Purging old database entries in /usr/share/man/zh_TW...
Processing manual pages under /usr/share/man/zh_TW...
Purging old database entries in /usr/share/man/tr...
Processing manual pages under /usr/share/man/tr...
Purging old database entries in /usr/share/man/hr...
Processing manual pages under /usr/share/man/hr...
Purging old database entries in /usr/share/man/pt...
Processing manual pages under /usr/share/man/pt...
Purging old database entries in /usr/share/man/sl...
Processing manual pages under /usr/share/man/sl...
Purging old database entries in /usr/share/man/ja...
Processing manual pages under /usr/share/man/ja...
Purging old database entries in /usr/local/man...
Processing manual pages under /usr/local/man...
Updating index cache for path `/usr/local/man/man1'. Wait...done.
Checking for stray cats under /usr/local/man...
Checking for stray cats under /var/cache/man/oldlocal...
1 man subdirectory contained newer manual pages.
1 manual page was added.
0 stray cats were added.
0 old database entries were purged.
make[1]: Leaving directory '/root/dokku'
dokku plugins-install-dependencies
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.de.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.de.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.de.debian.org jessie/main Sources
Hit http://ftp.de.debian.org jessie/main amd64 Packages
Hit http://ftp.de.debian.org jessie/main Translation-en
Hit http://ftp.de.debian.org jessie-updates/main Sources
Get:1 http://ftp.de.debian.org jessie-updates/main amd64 Packages/DiffIndex [229 B]
Get:2 http://ftp.de.debian.org jessie-updates/main Translation-en/DiffIndex [229 B]
Ign http://get.docker.io docker InRelease
Hit http://get.docker.io docker Release.gpg
Hit http://get.docker.io docker Release
Hit http://get.docker.io docker/main amd64 Packages
Ign http://get.docker.io docker/main Translation-en_US
Ign http://get.docker.io docker/main Translation-en
Fetched 458 B in 6s (66 B/s)
Reading package lists... Done
Selecting previously unselected package libvpx1:amd64.
(Reading database ... 34227 files and directories currently installed.)
Preparing to unpack .../libvpx1_1.3.0-3_amd64.deb ...
Unpacking libvpx1:amd64 (1.3.0-3) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.11-1+b1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.11-1+b1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.1.0-5_amd64.deb ...
Unpacking libgd3:amd64 (2.1.0-5) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2+b2_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2+b2) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../nginx-common_1.6.2-5_all.deb ...
Unpacking nginx-common (1.6.2-5) ...
Selecting previously unselected package nginx-full.
Preparing to unpack .../nginx-full_1.6.2-5_amd64.deb ...
Unpacking nginx-full (1.6.2-5) ...
Selecting previously unselected package nginx.
Preparing to unpack .../archives/nginx_1.6.2-5_all.deb ...
Unpacking nginx (1.6.2-5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17) ...
Processing triggers for ufw (0.33-2) ...
Setting up libvpx1:amd64 (1.3.0-3) ...
Setting up libxpm4:amd64 (1:3.5.11-1+b1) ...
Setting up libgd3:amd64 (2.1.0-5) ...
Setting up libxslt1.1:amd64 (1.1.28-2+b2) ...
Setting up nginx-common (1.6.2-5) ...
Processing triggers for ufw (0.33-2) ...
Setting up nginx-full (1.6.2-5) ...
Setting up nginx (1.6.2-5) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for systemd (215-17) ...
dokku plugins-install
/var/lib/dokku/plugins/00_dokku-standard/install: line 46: /etc/update-motd.d/99-dokku: No such file or directory
Makefile:62: recipe for target 'plugins' failed
make: *** [plugins] Error 1
root@dokku:~/dokku# vim /etc/update-motd.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment