Page 1 of 1

VestaCP Update to Latest Version

Posted: Sun Aug 17, 2014 1:50 am
by conste
VestaCP saved my day when all my VPS was suspended for using Kloxo CP. From then on, I am using VestaCP on all my VPS.

I am just wondering though if there is an easy way for upgrading an old version of VestaCP to the latest version. Currently, I am just re-installing VestaCP everytime a new release comes out. The drawback for this is I need to restore all my users manually.

Can anybody guide me to an easier method of upgrade as I have search the forum and documentation but I could not find such thus this post. I may be wrong though.

I have tried this link "https://domain-name:8083/list/updates/" but it seems not working.

Thanks in advance for any guidance or link to this topic.

Re: VestaCP Update to Latest Version

Posted: Sun Aug 17, 2014 10:04 am
by imperio
Hi,
what operating system on your server ?

show me result of this commands

Code: Select all

v-list-sys-vesta-updates
v-update-sys-vesta-all

Re: VestaCP Update to Latest Version

Posted: Sun Aug 17, 2014 4:06 pm
by conste
Thanks imperio.

I am using CentOS release 6.5 (Final).

Here are the results:

Code: Select all

[root@cio ~]# v-list-sys-vesta-updates
NAME         VERSION  RELEASE  ARCH    UPDATED  TIME      DATE
------       ------   ------   ------  ------   ------    ------
vesta        0.9.8    10       i386    yes      14:56:19  2014-08-09
vesta-php    0.9.7    3        i386    yes      07:04:26  2014-07-17
vesta-nginx  0.9.8    3        i386    yes      07:04:58  2014-07-17
[root@cio ~]# v-update-sys-vesta-all
[root@cio ~]#
The reason I want to upgrade is that I am getting this error during backup.

Code: Select all

/usr/local/vesta/func/domain.sh: line 268: 3
37: syntax error in expression (error token is "37")
Which leads to not having the files under that particular domain.

I have used this thread as a reference: viewtopic.php?f=10&t=5081

Re: VestaCP Update to Latest Version

Posted: Sun Aug 17, 2014 4:18 pm
by imperio
Your version of vestacp is latest (0.9.8-10)

You can update vesta of this command

Code: Select all

yum update vesta
or this command

Code: Select all

v-update-sys-vesta-all
or you can enable auto updates in Updates section
also when vestacp is outdated, you can click button "update"

Re: VestaCP Update to Latest Version

Posted: Tue Aug 19, 2014 12:16 am
by conste
@imperio, Thanks

Re: VestaCP Update to Latest Version

Posted: Sun Jul 26, 2015 4:11 pm
by CoSma
hi

no of the solutions work for us,

NAME VERSION RELEASE ARCH UPDATED TIME DATE
------ ------ ------ ------ ------ ------ ------
vesta 0.9.8 12 amd64 no 15:48:35 2014-11-20
vesta-php 0.9.7 3 amd64 yes 15:48:37 2014-11-20
vesta-nginx 0.9.7 3 amd64 yes 15:48:35 2014-11-20

update to v 14 dont work, not in the menu with "update" button not manually in terminal.

any ideas ?

Re: VestaCP Update to Latest Version

Posted: Sun Jul 26, 2015 4:16 pm
by CoSma
k problem solved

Code: Select all

echo "deb http://apt.vestacp.com/raring/ raring vesta" > /etc/apt/sources.list.d/vesta.list
apt-get update
apt-get install vesta

Re: VestaCP Update to Latest Version

Posted: Thu Aug 06, 2020 7:04 am
by anuradhan
Wow! you solved my 1 year issue updating vestacp from v23 to v26 on ubuntu server 16.*

here is what i did.

Code: Select all

echo "deb http://apt.vestacp.com/raring/ raring vesta" > /etc/apt/sources.list.d/vesta.list
sudo apt-get update
sudo apt-get upgrade
CoSma wrote: Sun Jul 26, 2015 4:16 pm k problem solved

Code: Select all

echo "deb http://apt.vestacp.com/raring/ raring vesta" > /etc/apt/sources.list.d/vesta.list
apt-get update
apt-get install vesta

Re: VestaCP Update to Latest Version

Posted: Wed Nov 03, 2021 5:31 pm
by duytantd09
imperio wrote: Sun Aug 17, 2014 4:18 pm Your version of vestacp is latest (0.9.8-10)

You can update vesta of this command

Code: Select all

yum update vesta
or this command

Code: Select all

v-update-sys-vesta-all
or you can enable auto updates in Updates section
also when vestacp is outdated, you can click button "update"
thanks