Page 1 of 1

Updating Vesta Code from Github

Posted: Fri Nov 24, 2017 8:02 am
by plutocrat
Hi,
I'm just installing a new install of VestaCP. My old one had a few problems over the last year or so, but I generally found the fixes in the forums, and modified a few core files of Vesta for the ones which were serious. But I wasn't too organized about it, so I didn't keep records of which ones I modified.

I notice that a new version of Vesta is due out in 2018, but that a lot of the fixes I applied and other bug fixes have been committed to the github repository. Is there a recommended way of updating the Vesta files on a new install with the ones from Github? Any things to bear in mind? Any files which MUST NOT be updated? etc.

Re: Updating Vesta Code from Github

Posted: Fri Nov 24, 2017 9:42 am
by mehargags
Use them with a bit of caution, they might have a few bugs in them still...

If you want to use the latest scripts..
Backup existing

Code: Select all

zip -r /root/vesta-back.zip /usr/local/vesta
Get latest version from Git

Code: Select all

git clone https://github.com/serghey-rodin/vesta.git /root/vestaNew
yes | cp -rf /root/vestaNew/* /usr/local/vesta

Re: Updating Vesta Code from Github

Posted: Fri Nov 24, 2017 10:08 am
by plutocrat
Thanks I'll give it a go. I'm sure there are a few bugs, but I'm sure they also fixed a load in a year of no updates!