Error when running v-add-letsencrypt-host

Does someone know what this very insightful error message means?

(replaced the real domain with the generic “domain” below)

WHen running to setup let’s encrypt

v-add-letsencrypt-host

**ERROR MESSAGE**
/usr/local/hestia/bin/v-add-letsencrypt-host: line 19: /bin/v-search-domain-owner: No such file or directory
Error: Web domain node.domain.cloud exists
Error: web domain node.domain.cloud doesn't exist
Error: Web domain node.domain.cloud exists
**Error:** web domain node.domain.cloud doesn't exist

DIRECTORY

hestia.node.domain.cloud node.domain.cloud syncthing.node.domain.cloud

node# ls -l
total 12

dr-xr-x--x 8 website website 4096 Aug 12 10:57 hestia.node.domain.cloud
dr-xr-x--x 8 website website 4096 Aug 12 10:57 node.domain.cloud
dr-xr-x--x 8 website website 4096 Aug 12 10:57 syncthing.node.domain.cloud

node# pwd

USERS:

node# getent passwd
nodejs:x:1002:1002:[email protected]:/home/nodejs:/bin/zsh
website:x:1003:1003:[email protected]:/home/website:/usr/sbin/nologin
ghost:x:1004:1004:[email protected]:/home/ghost:/bin/zsh
mongodb:x:125:126::/var/lib/mongodb:/usr/sbin/nologin
saltcorn:x:1005:1005:[email protected]:/home/saltcorn:/bin/zsh

node#

Were you able to trigger v-add-letsencrypt-host without full path? It looks like there is a var not loaded properly (line 19 of v-add-letsencrypt-host, probaly $HESTIA).

This should fix the issue

1 Like

Thank you both, (ScIT the example above was without a full path) but your comment triggered an idea on where to look next. For some reason I’m missing ENV’s settings, in this case $HESTIA=/usr/local/hestina/ on Debian. I’ll have to go look back at the logs but this was a fresh install so not sure what happened.
Eris - thank you as well!

As eris already wrote, its a bug. you can adjust the file as you see in the commit and repeat the step, it should work then.

2 Likes

Editing .bashrc does the same it will also allow you to enter v-add-letsencrypt-host instead the full path

1 Like

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