outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.93k stars 1.02k forks source link

All scripts broken on fresh install #1497

Open jeremiah-k opened 6 years ago

jeremiah-k commented 6 years ago

Operating System (OS/VERSION):

Type here, e.g. Debian 9

VestaCP Version:

Type here, e.g. 0.9.8-18

Installed Software (what you got with the installer):

Type here, e.g. Defaults from vst-install.sh for Debian 9

Steps to Reproduce:

Type here, e.g. Fresh Debian 9 install, fresh VestaCP install

Related Issues/Forum Threads:

Found anything that might be related to this? It might help us find the cause.

Other Notes:

Anything else?

I was having problems with a domain that was deleted and re-added. I searched the forums and someone suggested running v-rebuild-web-domains. It looks like there is a problem with the $VESTA variable. I tried to manually specify VESTA=/usr/local/vesta and run some scripts but they all are returning errors.

I wasn't far into my installation, so I reinstalled the OS on my VPS, reinstalled Vesta with the defaults, went to execute some scripts to test it and the same thing is happening.

dpeca commented 6 years ago

After installation, just run:

source /etc/profile
PATH=$PATH:/usr/local/vesta/bin && export PATH

This will set $VESTA

jeremiah-k commented 6 years ago

That worked, thanks.