Let's Encrypt broken

Hi,

Tried several things, but i can’t get it fixed.
A freshly new domain, IP points to the domain, but SSL doesn’t work…

When performing “v-add-letsencrypt-domain user domain” i get an error:
Error: invalid updatessl format :: restart

looking into /var/log/hestia/error.log it says:
2025-02-11 15:22:56 v-add-web-domain-ssl ‘’ ‘’ ‘/tmp/tmp.2wHWcFTV64’ ‘same’ ‘updatessl’ [Error 2]

What can i do, to make this happen?

Change

Line 62 in v-add-web-domain-ssl
is_restart_format_valid “restart” “$restart”
to
is_restart_format_valid “$restart” “restart”

Unfortunately this doesn’t work either

Now i get this:

v-add-letsencrypt-domain user domain
Error: invalid restart format :: $restart

I tried it on my other server, and get the same errors on the new users and domains.
(Ubuntu 24.04, Hestia 1.9.3)

Make the same change here …

Are you sure you don’t accidentally use single quotes instead of double quotes that would explain $restart instead of updatessl

It works here fine:

2025-02-11 22:46:01 v-add-web-domain-ssl ‘eris’ ‘dev.xxxxx’ ‘/tmp/tmp.c2vLhxbvaR’ ‘same’ ‘updatessl’

Other option is to run:
v-updates-sys-hestia-git hestiacp fix/v-add-web-domain-ssl

1 Like

Yes! “$restart” ‘restart’ (switched the double quotes as well) did the trick.

line 62:
old: is_restart_format_valid ‘restart’ “$restart” (like the repo on Git)
new: is_restart_format_valid “$restart” ‘restart’

I don’t have v-updates-sys-hestia-git on the system btw.
Why has “$start” and ‘start’ to be switched in my case?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.