We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
v-add-database-host mysql 'command not found'
v-add-database-host mysql 'command not found'
Hi, we have three Vesta instances and are adding our remote database cluster to them, on two it is all good but on the third we get 'command not found' from v-add-database-host mysql (etc)....
Any ideas what may be the issue and how we might resolve it? We can create databases locally through the control panel.
Many thanks
Best regards
RichBos
Any ideas what may be the issue and how we might resolve it? We can create databases locally through the control panel.
Many thanks
Best regards
RichBos
Re: v-add-database-host mysql 'command not found'
Hi, just to update on this. Oddly the problem has now appeared on the second box also, the first box we created is still ok.
If you change into the directory at /usr/local/vesta/bin/ and run 'sudo ./v-list-database-hosts' then the command works, other than that it says 'command not found'. So, something to do with the $PATH has changed? Might that be it?
The thing is I can't see how as all we have done is update (apt-get update && apt-get upgrade -y), nothing else, and that we have also done on all three boxes.
Very confusing, they are all running Ubuntu 12.04 (if that's relevant?).
We can still run the commands manually from inside the DIR but that's not how it's meant to be no? It would be nice to get the ability back to properly use them from anywhere.
Richard.
If you change into the directory at /usr/local/vesta/bin/ and run 'sudo ./v-list-database-hosts' then the command works, other than that it says 'command not found'. So, something to do with the $PATH has changed? Might that be it?
The thing is I can't see how as all we have done is update (apt-get update && apt-get upgrade -y), nothing else, and that we have also done on all three boxes.
Very confusing, they are all running Ubuntu 12.04 (if that's relevant?).
We can still run the commands manually from inside the DIR but that's not how it's meant to be no? It would be nice to get the ability back to properly use them from anywhere.
Richard.
Re: v-add-database-host mysql 'command not found'
Hi, sorry, I've worked this out so thought I would update.
It is because I invoked sudo -s on x2 of the instances (which resets the env path securely to defaults), that was on x2 EC2s, the first box is a Digital Ocean droplet which uses root ssh so no need for sudo -s (and hence no reset).
Glad I worked it out :-) Hope this helps anyone else using AWS EC2s.
Richard.
It is because I invoked sudo -s on x2 of the instances (which resets the env path securely to defaults), that was on x2 EC2s, the first box is a Digital Ocean droplet which uses root ssh so no need for sudo -s (and hence no reset).
Glad I worked it out :-) Hope this helps anyone else using AWS EC2s.
Richard.
Re: v-add-database-host mysql 'command not found'
Code: Select all
v-add-database-host
Code: Select all
/usr/local/vesta/bin/