v- commands not found

Post Reply
User avatar
Site Admin
Posts: 932
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

If you get error like:

Code: Select all

-bash: v-some-script: command not found

Code: Select all

/usr/local/vesta/bin/v-add-letsencrypt-domain: line 23: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-add-letsencrypt-domain: line 65: check_args: command not found
then probably you just installed myVesta, and you are still in that SSH connection.

In that case (and only in that case) first you must run:

Code: Select all

source /etc/profile
PATH=$PATH:/usr/local/vesta/bin && export PATH
Then you can call v- commands.

The installer (as child process) really does not have a way to alter ENV variables in parent bash... so only solution is to start again new SSH connection (that will load new ENV paths and variables) or to execute manually those two above commands.

Post Reply