Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

Problem with update

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
JuanPablo
Posts: 1
Joined: Thu May 03, 2018 9:27 pm

Os: Ubuntu 15x
Web: apache + nginx
Problem with update
  • Quote

Post by JuanPablo » Thu May 03, 2018 9:34 pm

Hi,
I have installed vestacp on ubuntu 16.
Fail to update with cron.
When trying to update from ssh I get it.

Code: Select all

root@server:~# sudo /usr/local/vesta/bin/v-update-sys-vesta-all
/usr/local/vesta/bin/v-update-sys-vesta: line 38: yum: command not found
Error: vesta update failed
/usr/local/vesta/bin/v-update-sys-vesta: line 38: yum: command not found
Error: vesta-nginx update failed
/usr/local/vesta/bin/v-update-sys-vesta: line 38: yum: command not found
Error: vesta-php update failed
/usr/local/vesta/bin/v-update-sys-vesta: line 38: yum: command not found
Error: vesta-ioncube update failed
/usr/local/vesta/bin/v-update-sys-vesta: line 38: yum: command not found
Error: vesta-softaculous update failed

Code: Select all

root@server:~# v-list-sys-vesta-updates
/usr/local/vesta/bin/v-list-sys-vesta-updates: line 72: rpm: command not found
date: invalid date '@'
date: invalid date '@'
/usr/local/vesta/bin/v-list-sys-vesta-updates: line 93: rpm: command not found
date: invalid date '@'
date: invalid date '@'
/usr/local/vesta/bin/v-list-sys-vesta-updates: line 111: rpm: command not found
date: invalid date '@'
date: invalid date '@'
PKG          VER    REL  ARCH  UPDT  DATE
---          ---    ---  ----  ----  ----
vesta        0.9.8  no
vesta-php    0.9.8  no
vesta-nginx  0.9.8  no
Can somebody help me. Thank you.
Top

Aporie
Posts: 8
Joined: Sat Dec 30, 2017 8:07 pm

Re: Problem with update
  • Quote

Post by Aporie » Fri May 25, 2018 11:42 am

Hello,

I have exactly the same issue. The fact is, by habits I ran apt-get upgrade once. Since I have an issue with the update of php7 :

Code: Select all

dpkg: error processing package php-cli (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 php7.0-cli
 libapache2-mod-php7.0
 libapache2-mod-php
 php7.0-fpm
 php7.0-cgi
 php7.0
 php
 php-cgi
 php-cli
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I'm pretty sure that's the issue which break the autoupdate of vestacp. So I have several questions :

- What is the best practice when running vesta cp, running update with /usr/local/vesta/bin/v-update-sys-vesta-all or can we use apt-get ?
- Does vestacp modify config files from packages (like apache php mysql etc) and we should always let vestacp deal with update ?
- How can I solve my issue ? As I don't want to override the configuration of php in case it's actually vestacp which deal with it.

It would have be nice to have caution about that somewhere.

Thanks
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Problem with update
  • Quote

Post by dpeca » Fri May 25, 2018 1:19 pm

run
apt-get update && apt-get upgrade -y
Top

Aporie
Posts: 8
Joined: Sat Dec 30, 2017 8:07 pm

Re: Problem with update
  • Quote

Post by Aporie » Fri May 25, 2018 2:17 pm

Hi,

Thans for your answer. So it did install new updates (shame I didn't think about updating repos).

But I'm still getting the same error :

Code: Select all

Errors were encountered while processing:
 php7.0-cli
 php7.0-fpm
 php7.0-cgi
 libapache2-mod-php7.0
 php7.0
 libapache2-mod-php
 php
 php-cgi
 php-cli
E: Sub-process /usr/bin/dpkg returned an error code (1)
But then I can try to fix this issue from apt-get side ? It won't impact vestacp config ? Like what if I reconfigure the packages ?
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password