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

Cant run ledokku hosting in digital ocean #424

Open
g2david opened this issue Sep 8, 2022 · 2 comments
Open

Cant run ledokku hosting in digital ocean #424

g2david opened this issue Sep 8, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@g2david
Copy link

g2david commented Sep 8, 2022

I have setup the Ledokku as described in the installation guide. I could reach the Dokku ssh and key setup but I cannot go into the Ledokku console. Dokku tells me the Ledokku is not deployed. SSH could be okay as my putty can log on without password. Also, I have assigned permanent IP, too.

Dokku 0.21 image in digital ocean.

tail -f /var/log/auth.log
Unable to negotiate with 157.245.122.58 port 58676: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth]

root@Ledokku:~# dokku config:set ledokku DOKKU_SSH_HOST=ledokku.production-dokk
-----> Setting config vars
DOKKU_SSH_HOST: ledokku.production-dokk
-----> Restarting app ledokku
! App ledokku has not been deployed

root@Ledokku:~# dokku enter ledokku
App ledokku has not been deployed

How can get this to work?

@g2david g2david added the bug Something isn't working label Sep 8, 2022
@jerinpetergeorge
Copy link

I have got a similar issue as well -

Steps to reproduce

  1. Install dokku from DO Marketplace
  2. ssh into droplet
  3. run installation script
    wget https://raw.githubusercontent.com/ledokku/ledokku/v0.7.0/ledokku-bootstrap.sh
    sudo bash ledokku-bootstrap.sh
    

Console Log

Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-128-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sat Oct 22 06:23:45 UTC 2022

  System load:  1.4                Users logged in:          0
  Usage of /:   3.3% of 154.88GB   IPv4 address for docker0: 172.17.0.1
  Memory usage: 6%                 IPv4 address for eth0:    142.93.215.98
  Swap usage:   0%                 IPv4 address for eth0:    10.47.0.8
  Processes:    177                IPv4 address for eth1:    10.122.0.5

8 updates can be applied immediately.
2 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable


********************************************************************************

Welcome to DigitalOcean's 1-Click Dokku Droplet.
To keep this Droplet secure, the UFW firewall is enabled.
All ports are BLOCKED except 22 (SSH), 80 (HTTP), 443 (HTTPS),
2375 (Docker) and 2376 (Docker).

In a web browser, you can view:
 * The Dokku 1-Click Quickstart guide: https://do.co/3nzKhrp#start
 * Your Dokku setup page: http://142.93.215.98

For help and more information, visit https://do.co/3nzKhrp

********************************************************************************
To delete this message of the day: rm -rf /etc/update-motd.d/99-one-click
root@fat-dokku:~# wget https://raw.githubusercontent.com/ledokku/ledokku/v0.7.0/ledokku-bootstrap.sh
--2022-10-22 06:23:58--  https://raw.githubusercontent.com/ledokku/ledokku/v0.7.0/ledokku-bootstrap.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2604 (2.5K) [text/plain]
Saving to: ‘ledokku-bootstrap.sh’

ledokku-bootstrap.sh                                        100%[=========================================================================================================================================>]   2.54K  --.-KB/s    in 0s      

2022-10-22 06:23:59 (36.8 MB/s) - ‘ledokku-bootstrap.sh’ saved [2604/2604]

root@fat-dokku:~# sudo bash ledokku-bootstrap.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    14  100    14    0     0     39      0 --:--:-- --:--:-- --:--:--    39
-----> Creating ledokku...
=> Creating volume
=> Installing redis plugin
-----> Cloning plugin repo https://github.com/dokku/dokku-redis.git to /var/lib/dokku/plugins/available/redis
Cloning into 'redis'...
remote: Enumerating objects: 2457, done.
remote: Counting objects: 100% (675/675), done.
remote: Compressing objects: 100% (265/265), done.
remote: Total 2457 (delta 394), reused 633 (delta 373), pack-reused 1782
Receiving objects: 100% (2457/2457), 489.08 KiB | 1.14 MiB/s, done.
Resolving deltas: 100% (1611/1611), done.
-----> Plugin redis enabled
Adding user dokku to group adm
Starting nginx (via systemctl): nginx.service.
7.0.5: Pulling from library/redis
bd159e379b3b: Pull complete 
729b630784ac: Pull complete 
065c77bf222a: Pull complete 
961784053f68: Pull complete 
b42f16846808: Pull complete 
0f1fa5bb0033: Pull complete 
Digest: sha256:c95835a74c37b3a784fb55f7b2c211bd20c650d5e55dae422c3caa9c01eb39fa
Status: Downloaded newer image for redis:7.0.5
docker.io/library/redis:7.0.5
1.34.1-uclibc: Pulling from library/busybox
f5b7ce95afea: Pull complete 
Digest: sha256:cfd85d8d1e7c4631faec63776b77795362b637306aba97cf7a9f53aede211e86
Status: Downloaded newer image for busybox:1.34.1-uclibc
docker.io/library/busybox:1.34.1-uclibc
0.5.0: Pulling from dokku/ambassador
213ec9aee27d: Pull complete 
559cbe62281c: Pull complete 
4aaeee4eaa84: Pull complete 
Digest: sha256:1ab961cc11ebb5e972733cc69b1b7bfe96f9b7d31c5db5b09f88b81560cf8034
Status: Downloaded newer image for dokku/ambassador:0.5.0
docker.io/dokku/ambassador:0.5.0
0.14.0: Pulling from dokku/s3backup
213ec9aee27d: Already exists 
526474e07d92: Pull complete 
1cb57f6d3a7a: Pull complete 
441ce91b0b3a: Pull complete 
198d535c4efe: Pull complete 
0aec814066c5: Pull complete 
Digest: sha256:16c692e791d776aee89be4d8950e389829a6c6ccebc23a1b9c0db9f50718371f
Status: Downloaded newer image for dokku/s3backup:0.14.0
docker.io/dokku/s3backup:0.14.0
0.6.0: Pulling from dokku/wait
213ec9aee27d: Already exists 
dcf3eb8b9aa2: Pull complete 
655142a41d99: Pull complete 
Digest: sha256:f911110627915e38e841defda3cb53f5c12e9e65bc5e01be7fca3d969533e841
Status: Downloaded newer image for dokku/wait:0.6.0
docker.io/dokku/wait:0.6.0
-----> Priming bash-completion cache
=> Installing postgres plugin
-----> Cloning plugin repo https://github.com/dokku/dokku-postgres.git to /var/lib/dokku/plugins/available/postgres
Cloning into 'postgres'...
remote: Enumerating objects: 2468, done.
remote: Counting objects: 100% (529/529), done.
remote: Compressing objects: 100% (232/232), done.
remote: Total 2468 (delta 308), reused 464 (delta 270), pack-reused 1939
Receiving objects: 100% (2468/2468), 513.99 KiB | 5.09 MiB/s, done.
Resolving deltas: 100% (1644/1644), done.
-----> Plugin postgres enabled
Adding user dokku to group adm
Starting nginx (via systemctl): nginx.service.
14.5: Pulling from library/postgres
bd159e379b3b: Already exists 
b955aac8d5e0: Pull complete 
922fe4565b9a: Pull complete 
c39aa91943e9: Pull complete 
59e6d12f4c90: Pull complete 
d058e68b8750: Pull complete 
03549096a058: Pull complete 
c941aeed5670: Pull complete 
bbda66ffb7f4: Pull complete 
324d30bcbd1f: Pull complete 
4d6842264e8a: Pull complete 
d87e75c2295d: Pull complete 
399c45d23650: Pull complete 
Digest: sha256:742d81929714eac14b8f53e0e78ab3b9e2bee6740d7b39d6bc3b54ebb8398b50
Status: Downloaded newer image for postgres:14.5
docker.io/library/postgres:14.5
-----> Priming bash-completion cache
=> Creating databases
       Waiting for container to be ready
=====> Redis container created: ledokku
=====> ledokku redis service information
       Config dir:          /var/lib/dokku/services/redis/ledokku/config
       Config options:                               
       Data dir:            /var/lib/dokku/services/redis/ledokku/data
       Dsn:                 redis://:f4500390ac06b187d635f46c8c7777f82f32035acc2b00021971404dbfac9f3d@dokku-redis-ledokku:6379
       Exposed ports:       -                        
       Id:                  d2cc856efc18acc51a802501dd159741847a3da9c00e3b9165f0fac94b2f0f5a
       Internal ip:         172.17.0.2               
       Links:               -                        
       Service root:        /var/lib/dokku/services/redis/ledokku
       Status:              running                  
       Version:             redis:7.0.5              
-----> Setting config vars
       REDIS_URL:  redis://:f4500390ac06b187d635f46c8c7777f82f32035acc2b00021971404dbfac9f3d@dokku-redis-ledokku:6379
-----> Restarting app ledokku
 !     App ledokku has not been deployed
       Waiting for container to be ready
       Creating container database
       Securing connection to database
=====> Postgres container created: ledokku
=====> ledokku postgres service information
       Config dir:          /var/lib/dokku/services/postgres/ledokku/data
       Config options:                               
       Data dir:            /var/lib/dokku/services/postgres/ledokku/data
       Dsn:                 postgres://postgres:5769f692470216b90bc8c8105bf65aaa@dokku-postgres-ledokku:5432/ledokku
       Exposed ports:       -                        
       Id:                  2c80dfcb7af5e8647e7fc6362bb87e7d70fb52e3268360fb8f4e439a97a4ab5c
       Internal ip:         172.17.0.3               
       Links:               -                        
       Service root:        /var/lib/dokku/services/postgres/ledokku
       Status:              running                  
       Version:             postgres:14.5            
-----> Setting config vars
       DATABASE_URL:  postgres://postgres:5769f692470216b90bc8c8105bf65aaa@dokku-postgres-ledokku:5432/ledokku
-----> Restarting app ledokku
 !     App ledokku has not been deployed
-----> Setting config vars
       DOKKU_SSH_HOST:  142.93.215.98
-----> Restarting app ledokku
 !     App ledokku has not been deployed
-----> Setting config vars
       JWT_SECRET:  NrROVHZqkmTlqhBQP6EpiGBacTPBdbe6
-----> Restarting app ledokku
 !     App ledokku has not been deployed
=> Installation
 !     `git:from-image ledokku ledokku/ledokku:0.7.0` is not a dokku command.
 !     See `dokku help` for a list of available commands.

@barcovanrhijn
Copy link

I've hit a wall a couple of times as well.

For me solving the issue required a full restart after doing a kernel update on a fresh Ubuntu 22.04 install. After this I could install Dokku just fine.

But before you install Ledokku you need to setup the basics like url for Dokku (Check the Dokku installation pages).

And wait for DNS to finish propagating if you're pointing a domain at this which can take 5min to 24hours depending on how you do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants