red5pro / red5pro-installer

Installer for Red5 Pro Server
Other
16 stars 13 forks source link

letsencrypt installer not working #22

Open GimpMaster opened 4 years ago

GimpMaster commented 4 years ago

It clones with git appropriately but this is the output.

Cloning into 'letsencrypt'...
remote: Enumerating objects: 6, done.remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 75490 (delta 0), reused 5 (delta 0), pack-reused 75484
Receiving objects: 100% (75490/75490), 24.92 MiB | 1.63 MiB/s, done.Resolving deltas: 100% (55669/55669), done.
Checking connectivity... done.
 Failed to download letsencrypt from github

Press any [ Enter ] key to continue...
GimpMaster commented 4 years ago

Looks like the issue is here

letsencrypt_exists()
{   
    if [ -d "$RED5PRO_SSL_LETSENCRYPT_FOLDER" ]; then

        RED5PRO_SSL_LETSENCRYPT__SETUP_FILE="$RED5PRO_SSL_LETSENCRYPT_FOLDER/setup.py"

        if [ -f "$RED5PRO_SSL_LETSENCRYPT__SETUP_FILE" ]; then
            true
        else
            false
        fi
    else
      false
    fi
}

Seems like setup.py is no longer in the git repo.

samyok commented 4 years ago

If anyone else has this problem, #24 fixes this.