Dokku v0.19.2 + Ubuntu 18.04 x64 + Python3 workaround
I deployed Dokku for new my project and got some issues.
In the past, Dokku was easy to deploy, especially on Ubuntu (any currently supported release).
Some other users have had the same errors as me and are still working on a workaround.
The errors appear may be out of order.
My resolution is below. It works for me but cannot use the web installer to add ssh-key, alternative way add one.
# 1. Error: keyfile ‘/root/.ssh/id_rsa.pub’ not found.
root@dokku:~# ssh-keygen
# 2. File “/usr/share/dokku/contrib/dokku-installer.py”, line 23, in <module> if ‘:’ in hostname:
# 3. File “/usr/share/dokku/contrib/dokku-installer.py”, line 40, in <module> admin_keys = subprocess.check_output(command, shell=True).strip().split(“\n”)
Re-run sudo DOKKU_TAG=v0.19.2 bash bootstrap.sh. It Works!
Recap
- Script install on the homepage not work for me and some users.
- Must init public key in the server (I don’t know why we do that, because we have added a public key step after installed).
- Some string handling issues in python 3.
PR will be created. Hope this helps!