v- commands not found

Post Reply
dpeca
Site Admin
Posts: 163
Joined: Fri Jun 19, 2020 9:59 am
v- commands not found

Post by dpeca »

If you get error like:

Code: Select all

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

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 way is to start again new SSH connection (that will load new ENV paths and variables), or to execute manually those two commands.

Tags:


Post Reply