Page 1 of 1

Rollback vestacp from backup after last update (Version: 1.0.0 (Amd64) Release: 2) =)

Posted: Sun Oct 31, 2021 4:41 pm
by skorpions2000
Operating System (OS/VERSION):
Debian 9.13

VestaCP Version:
Version: 1.0.0 (Amd64) Release: 2

Installed Software (what you got with the installer):
vesta(Core Package)
vesta-php(Php Interpreter)
vesta-nginx(Internal Web Server)
vesta-ioncube(Php Encoder)
vesta-softaculous(App Installer)

Bug solved with rollback?/Problem solved rollback?:
We have problem with DNS cluster, it no work on latest version vestacp, after last update. We have backup our servers and we do rollback because have problem with this function...
If you have like this problem, you can do this at one's own risk.
  • Get your backup folder before update /usr/local/vesta/
  • Do command: service vesta stop
  • Delete in /usr/local/vesta/ all but except -/usr/local/vesta/conf and -/usr/local/vesta/data
  • Copy from backup all folder but except -/usr/local/vesta/conf and -/usr/local/vesta/data
  • And start service: service vesta start.
  • Turn off auto update =)
And after rollback files we have new packages installed...
Image
==============
You can do only this step, if you have old packages.
If you have old packages, you can rollback them...
You can do this at one's own risk!
dpkg -i /var/cache/apt/archives/vesta_0.9.8-26_amd64.deb
dpkg -i /var/cache/apt/archives/vesta-php_0.9.8-26_amd64.deb
dpkg -i /var/cache/apt/archives/vesta-nginx_0.9.8-26_amd64.deb
dpkg -i /var/cache/apt/archives/vesta-ioncube_0.9.8-26_amd64.deb
dpkg -i /var/cache/apt/archives/vesta-softaculous_0.9.8-26_amd64.deb
After this we have:
Image
It's ok for rollback?

Re: Rollback vestacp from backup after last update (Version: 1.0.0 (Amd64) Release: 2) =)

Posted: Thu Dec 16, 2021 10:00 pm
by msacirovic
Hello,

I have these packages on Centos 6.10:

[root@xtremenet web]# v-list-sys-vesta-updates
PKG VER REL ARCH UPDT DATE
--- --- --- ---- ---- ----
vesta 1.0.0 1 x86_64 yes 2021-10-30
vesta-php 0.9.8 26 x86_64 yes 2019-09-30
vesta-nginx 0.9.8 26 x86_64 yes 2019-09-30

Also can I remove vesta version 1.0.0 and install version 0.9.8-26?
Does anyone have these package: vesta-0.9.8-26.x86_64.rpm?

Thank you.

Regards,

Re: Rollback vestacp from backup after last update (Version: 1.0.0 (Amd64) Release: 2) =)

Posted: Fri Dec 17, 2021 12:52 am
by sandro
You need to downgrade using the yum command on CentOS.

# yum downgrade vesta

The other packages (vesta-php and vesta-nginx) are in the correct version.

Re: Rollback vestacp from backup after last update (Version: 1.0.0 (Amd64) Release: 2) =)

Posted: Fri Dec 17, 2021 5:23 am
by msacirovic
As you can see these command for yum downgrade vesta doesnt work for CentOS 6.10.

Also I can make backup and try that command...

[root@xtremenet 6]# v-list-sys-vesta-updates
PKG VER REL ARCH UPDT DATE
--- --- --- ---- ---- ----
vesta 1.0.0 1 x86_64 yes 2021-10-30
vesta-php 0.9.8 26 x86_64 yes 2019-09-30
vesta-nginx 0.9.8 26 x86_64 yes 2019-09-30

These is versions right now on CentOS 6.1 and I need downgrade on vesta 0.9.8-26.

Thank you.

Re: Rollback vestacp from backup after last update (Version: 1.0.0 (Amd64) Release: 2) =)

Posted: Mon Dec 20, 2021 5:27 pm
by sandro
I think the solution is to remove the vesta package and reinstall using the rpm package or forcing a specific version in yum.

Try "yum install vesta-0.9.8-26.x86_64"