Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing on Linode #238

Closed
jwarzech opened this issue Oct 9, 2013 · 12 comments
Closed

Error when installing on Linode #238

jwarzech opened this issue Oct 9, 2013 · 12 comments

Comments

@jwarzech
Copy link

jwarzech commented Oct 9, 2013

In the past I've always installed dokku on Ubuntu 12x64 (with Linux Kernel 3.8) and today I was trying a fresh 13 (with kernel 3.9) install and during the bootstrap I get the following error:

E: Unable to locate package linux-image-extra-3.9.3-x86_64-linode33
E: Couldn't find any package by regex 'linux-image-extra-3.9.3-x86_64-linode33'
make: *** [aufs] Error 100
@rajivm
Copy link
Contributor

rajivm commented Oct 9, 2013

@asm89
Copy link
Contributor

asm89 commented Oct 24, 2013

I guess we need to add some check for this.

@ghost
Copy link

ghost commented Oct 24, 2013

Hm, I'm not seeing this on a fresh instance on DigitalOcean on either 13.10 or 13.04 64-bit.

I believe this is due to the linode33 string (we aren't using the kernel PPA) in uname -r - linux-extra is installed by running:

 `apt-get install -y linux-image-extra-`uname -r`

@asm89
Copy link
Contributor

asm89 commented Oct 26, 2013

@jwarzech Can you confirm?

@ghost
Copy link

ghost commented Oct 28, 2013

@jwarzech, could you test if these instructions in the wiki still valid?

(I've also updated the title to mention Linode)

@ghost
Copy link

ghost commented Nov 21, 2013

Closing due to inactivity

@ghost ghost closed this as completed Nov 21, 2013
@elidickinson
Copy link

No, the instructions on the wiki are no longer valid. Not with the latest kernel from Linode, anyway. The good news is that they rolled in better support out of the box (https://blog.linode.com/2014/01/03/docker-on-linode/) but the bad news is the unexpected uname -r is blowing up the install script

@ghost ghost reopened this Jan 10, 2014
@DonDebonair
Copy link

I'm having the exact same problem on a dedicated server running Ubuntu 12.04, fully upgraded. I also installed the new kernel as per http://docs.docker.io/en/latest/installation/ubuntulinux/ Any workarounds?

@colmarius
Copy link

I bumped into the same problem, on a dedicated server with Ubuntu 13.04, upgraded to latest.

Output before setup for uname -a:

Linux li348-235 3.12.9-x86_64-linode37 #1 SMP Mon Feb 3 10:01:02 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

I found the wiki instructions still valid. However, I had to do some first steps before.

After building a new Ubuntu 13.04 image on Linode, what I needed to do is to revert to a generic linux image with PV-GRUB. I found the first part of this post on Installing Docker on Linode does the job.

Output after setup for uname -a:

uname -a
Linux localhost 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Gist example: https://gist.github.com/colmarius/9164345

@Evlos
Copy link

Evlos commented Nov 1, 2014

I forked this project and removed all docker installation related stuff.
Which means you can manually install docker by following commands according to docker official documentation or any method that works for you.

sudo apt-get update
sudo apt-get install docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker

Then run the following command to install the dokku.

wget -qO- https://raw.githubusercontent.com/Evlos/forked-dokku/master/bootstrap.sh | sudo bash

It works for my production environment on my Linode VPS.

https://github.com/Evlos/forked-dokku

@Evlos
Copy link

Evlos commented Nov 1, 2014

I am wondering if I should fork this project again and write some code like below in Makefile, then send a pull request?

// pseudocode
if system is ubuntu 14.x then install docker by
sudo apt-get update
sudo apt-get install docker.io
if [ ! -f /usr/bin/docker.io ]; then
    sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
fi
if [ ! -f /usr/bin/docker ]; then
    sudo ln -sf /usr/bin/docker /usr/bin/docker.io
fi
else
install docker using the method currently provided by dokku

@josegonzalez
Copy link
Member

We don't support older versions of Ubuntu - I'm removing the 12.04 reference now.

@Evlos Would be happy to merge in your PR that allows optional dokku installation.

Closing as there isn't anything actionable for this issue.

josegonzalez added a commit that referenced this issue Nov 15, 2014
We no longer test against 12.04 VMs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants