Lets Encrypt Problem

Good afternoon,

I have installed Jitsi Meet for the first time and now I can’t get any further at the point of Lets Encrypt certificate.

I get the following error message:

Unable to find deploy-hook command /etc/letsencrypt/renewal-hooks/deploy/0000-coturn-certbot-deploy.sh in the PATH.
(PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)

System: Debain 9.4 with Nginx

Does anyone have an idea or a solution?

Yes, this was added the past week, it is possible that there is a bug… Will take a look and will let you know. Maybe if you create that file and make it executable, will let you through. Sorry for the trouble.

1 Like

OK… Good solution, its works…

how did you go about it

I have the same problem and creating a file did not let it go through.

Hello all,

Same behaviour for me, I get the following error message:

Unable to find deploy-hook command /etc/letsencrypt/renewal-hooks/deploy/0000-coturn-certbot-deploy.sh in the PATH.
(PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)

Thanks to @damencho advice, i created that empty file et make it exexcutable, and… I works !
Good workaround.

Would you be so kind to type step by step what you did and how, please? That will help the other users not to open a new issues and will make that more clear fro newcomers. Thank you

Hello @timonek6,
of course I can, sorry for having neglected that.

So, I strictly followed this official quick install guide : https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
BUT before chapter Generate a Let’s Encrypt certificate (optional, recommended) i’ll do that under root account :

# mkdir -p /etc/letsencrypt/renewal-hooks/deploy/ 
# touch 0000-coturn-certbot-deploy.sh
# chmod +x 0000-coturn-certbot-deploy.sh

the file is empty, but then you can setup LetsEncrypt without errors :

# /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

For context : my setup is working like a charm on a Scaleway DEV1-M Instance under up to date Debian Stretch (GNU/Linux 4.9.0-11-amd64 x86_64), I think that could be ok on many other platforms :slight_smile:

apologize my poor English, and hope this helps.


Hello TopheC,
That is great thanks for update.
I did the other way:
/etc/letsencrypt/renewal-hooks/deploy# cat > 0000-coturn-certbot-deploy.sh
then edited:
/etc/letsencrypt/renewal-hooks/deploy# vi 0000-coturn-certbot-deploy.sh
and then added in that empty file line:
then following:
chmod +x 0000-coturn-certbot-deploy.sh
and finally run


I hope that both will help the others if they found out some issues during the installation.


@damencho May be an issue must be opened for that bug ? I’m not dev…

Tahnks, it works.

Yep, on a bug, describe the OS you use and the steps you followed.

i also followed the instruction and after getting over the first bug with the missing file, i get this error:

An unexpected error occurred:

UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xcf in position 23: invalid continuation byte

has somebody give me an idea what went wrong here?
thanks a lot!

@damencho Done : https://github.com/jitsi/jitsi-meet/issues/5929
Hope that is correct, that’s my first one :blush:

Yep, it is fine, you can refer link to this thread. I will do it no, worries and will take a look next week at the issue.

1 Like

Nothing, I have done everything as described, simple.
But it always gives me the same problem with Debian 10 and nginx

Sorry… my error

mkdir -p /etc/letsencrypt/renewal-hooks/deploy/

I didnt’t write:
cd /etc/letsencrypt/renewal-hooks/deploy/

Now, it works fine

Hum, that code is already there

I was thinking about this fix: https://github.com/jitsi/jitsi-meet/pull/5963 if anybody can test it …, that will be helpful.

Thanks, this solved my problem !!!