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

Support for raspbian bullseye #5054

Closed
RyanGaudion opened this issue Feb 28, 2022 · 29 comments
Closed

Support for raspbian bullseye #5054

RyanGaudion opened this issue Feb 28, 2022 · 29 comments

Comments

@RyanGaudion
Copy link

Description of problem

Installing dokku on a Raspberry Pi results in "E: Unable to locate package dokku". I've seen ARM is now supported for Dokku. Tried installing on Ubuntu 20.04 & Debian Bullseye.

error on debian is:

deb https://packagecloud.io/dokku/dokku/debian/ bullseye main
E: Unable to locate package dokku

How reproducible

Steps to Reproduce

  1. Setup new Ubuntu 20.04 (64bit) or Debian Bullseye Pi (64bit)
  2. Run run wget https://raw.githubusercontent.com/dokku/dokku/v0.26.8/bootstrap.sh;
  3. Run sudo DOKKU_TAG=v0.26.8 bash bootstrap.sh

Actual Results

E: Unable to locate package dokku

Expected Results

Should install application

Environment Information

Raspberry Pi 3b+

How (deb/make/rpm) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?

  • Physical Raspberry Pi
  • OS = Raspberry Pi OS Lite (64-bit)

Additional information

N/A

@RyanGaudion
Copy link
Author

Could the issue be with me trying to use 64bit images for the Pi? If so, is there any chance 64bit Pi images will be supported?

@RyanGaudion
Copy link
Author

Running on Bullseye Lite 32bit shows Unsupported Linux distribution. For manual installation instructions, consult https://dokku.com/docs/getting-started/advanced-installation/

Try a manual install from the steps above shows:
E: Unable to locate package dokku on line:
sudo apt-get -qq -y install dokku

@josegonzalez
Copy link
Member

I've only tested it for Raspbian. No idea what happens on either of the others, and we don't yet have general 64-bit ARMv7 support (until the next minor).

@RyanGaudion
Copy link
Author

@josegonzalez what version of Raspbian have you been able to get working?

@josegonzalez
Copy link
Member

Hope this helps:

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

$ uname -a
Linux pi1 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux

@RyanGaudion
Copy link
Author

Thank you, I'll see if I can get that version.

What would it take to get Raspbian Bullseye Lite 32 bit supported (from Raspberry Pi Imager)?

@josegonzalez
Copy link
Member

Probably I need to update packaging for everything to add bullseye as a target. I can get that done.

@RyanGaudion
Copy link
Author

Awesome, thank you. Anything I can do to help/test?

@josegonzalez
Copy link
Member

josegonzalez commented Feb 28, 2022

The following repositories need to be updated to add raspbian/bullseye to the publishing step (search the Makefile for release-packagecloud-deb). For the most part, you just need to publish the armhf architecture package to raspbian/bullseye, though two repos use the all architecture (noted below

If you want to make the MRs for each of those, I can merge them and make a new release, after which you can check to see if each one is individually installable and has the right architecture for the respective binaries via something like:

file `which dokku-event-listener`

I can take care of the main Dokku repo update, but if you can make the one-line MRs to each of those, that would be excellent.

@RyanGaudion
Copy link
Author

Will take a look at this tomorrow 👍

@josegonzalez
Copy link
Member

josegonzalez commented Feb 28, 2022

I might grab some of these first since I'd like to make a release today to unblock a release of Dokku Pro.

@RyanGaudion
Copy link
Author

RyanGaudion commented Mar 1, 2022

I believe I have made all the required MRs - let me know what you need testing.

Also - side question - how much work does is it/long do you think it'll be before 64bit Raspbian support?

@josegonzalez
Copy link
Member

I think the packages built for #4974 will work, but we'll need to test that before getting them auto-published.

@josegonzalez josegonzalez changed the title Fresh Installation causes "Unable to locate package dokku" Support for raspbian bullseye Mar 2, 2022
@josegonzalez
Copy link
Member

Okay I still need to make releases for the following (they all have a changelog setup and its more annoying to update).

  • sigil
  • plugn
  • sshcommand
  • dokku-update

@josegonzalez
Copy link
Member

@RyanGaudion do you mind installing the following packages and seeing if the help/version output looks right on your raspbian bullseye install? https://packagecloud.io/app/dokku/dokku/search?dist=raspbian%2Fbullseye

@RyanGaudion
Copy link
Author

RyanGaudion commented Mar 2, 2022

@josegonzalez testing complete

  • docker-image-labeler_0.4.1_armhf.deb
  • netrc_0.5.1_armhf.deb
  • procfile-util_0.14.1_armhf.deb
  • dokku-event-listener_0.12.0_armhf.deb (see below)

All work except Event Listener shows to both -v & -h:


{"level":"fatal","error":"Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.25/containers/json?filters=%7B%22label%22%3A%7B%22com.dokku.app-name%22%3Atrue%2C%22com.dokku.process-type%3Dweb%22%3Atrue%7D%7D&limit=0\": dial unix /var/run/docker.sock: connect: permission denied","time":1646223119,"message":"containers_init_failed"}

Trying as sudo returns nothing. This might be the expected output - just thought I'd check

@josegonzalez
Copy link
Member

Yeah alright thats fine.

@RyanGaudion
Copy link
Author

@josegonzalez - nice. Anything else I can do to help/test + estimated timeline on when this will be released?

@josegonzalez
Copy link
Member

I have to get releases for the others + click the release button for this repo. This is actually the last issue I'm waiting on.

@RyanGaudion
Copy link
Author

Awesome - happy to test once you've got releases for them

@josegonzalez
Copy link
Member

Great because I don't have access to raspbian bullseye so I'll need you to tell me if anything doesnt work so I can patch it :D

@RyanGaudion
Copy link
Author

@josegonzalez of course - happy to do so. Any estimates on when these packages will be ready for test?

@josegonzalez
Copy link
Member

Okay I created packages for the following:

  • sigil
  • plugn
  • sshcommand
  • dokku-update

Mind downloading them and ensuring they respond to the version flag? The plugn binary will need some env vars set, but as long as it launches, its fine.

@josegonzalez
Copy link
Member

Also, this link should have the build artifacts for the latest release. Can you download it and install the appropriate deb package of dokku on your host and see if it works?

@RyanGaudion
Copy link
Author

@josegonzalez tested all packages. All work with the version flag.
Dokku installed without issues.

Just testing Dokku - having some issues with SSH keys but I think that might be to do with my dev setup.

Will carry on testing tomorrow but all look good with those build artifacts

@josegonzalez
Copy link
Member

Nice! Going to close this issue then. Feel free to follow up in chat if you have further troubles :)

@RyanGaudion
Copy link
Author

@josegonzalez thank you so much for your help. Much appreciated all your work on this project

@louwers
Copy link

louwers commented Mar 4, 2023

When running the installation script, I see:

Unsupported Linux distribution. For manual installation instructions, consult https://dokku.com/docs/getting-started/advanced-installation/

Does that mean the installation script does not support Raspian?

 $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Edit: I am trying to install from source now.

@josegonzalez
Copy link
Member

@louwers please file a ticket with your issue so I can take a look from there.

@dokku dokku locked as resolved and limited conversation to collaborators Mar 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants