Page 1 of 2

Notice about update vesta to 16.

Posted: Tue Jun 28, 2016 8:37 pm
by orwah
Hello
First of all . Thanks a lot for Vesta team , for this great job , and for this update .

after Updating vesta , an error message tell that Update is Failed .
BUT it seems that most fiels are replaced with the new ones .
it seems ok now but -how we can be sure that update is 100% done ?

I guess that update scripts can be enhanced :
-like adding a log file for every step of of the process .

other fixes can be done , for example in the usr/local/vesta/upd folder :
- file add_firewall.sh contains : cp $VESTA/install/rhel/firewall/* \
whay rhel , it must depends on user system (mine is debian)

-file fix_exim_permissions.sh contains : chown Debian-exim:mail /etc/exim4/domains/$domain/*
1- Debian-exim also must depends on user system ,
2- files in this folder are not changeown to Debian-exim:mail at the end of update.

- file convert_templates.sh : seems not worked , non of my templates are changed !

i just want to make a small notice that Update script can be enhanced .

again thanks for Vesta Folks .

regards

Re: Notice about update vesta to 16.

Posted: Tue Jun 28, 2016 9:45 pm
by tjebbeke
Not all of the UPD scripts need to run. convert_templates.sh is already 3 years old. add_firewall.sh is 2 years old, they only need to run to upgrade an older version of vesta.

Re: Notice about update vesta to 16.

Posted: Tue Jun 28, 2016 11:48 pm
by dpeca
Just upgraded from 15 to 16.

To add my noticed bug (for now):

Image

Code: Select all

# grep mysql /usr/local/vesta/conf/vesta.conf
DB_SYSTEM='mysql'

# cat /etc/debian_version
8.4
Admin database interface (to create DB) works fine.

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 6:27 am
by alexcy
I also have the same problem.
dpeca wrote:Just upgraded from 15 to 16.

To add my noticed bug (for now):

Image

Code: Select all

# grep mysql /usr/local/vesta/conf/vesta.conf
DB_SYSTEM='mysql'

# cat /etc/debian_version
8.4
Admin database interface (to create DB) works fine.

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 6:29 am
by alexcy
I am also having another problem. For some websites (not all) I am getting the following problem when trying to create backups (either manually or via cron):

egrep: /usr/local/vesta/data/templates/web/nginx/.stpl: No such file or directory
wc: /usr/local/vesta/data/templates/web/nginx/.stpl: No such file or directory
Error: can't parse template /usr/local/vesta/data/templates/web/nginx/.stpl

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 9:22 am
by Светозар
I also have the same problem.

# grep mysql /usr/local/vesta/conf/vesta.conf
DB_SYSTEM='mysql'
# cat /etc/redhat-release
CentOS release 6.8 (Final)

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 11:50 am
by dpeca
but, beside that wrong 'status', everything else works fine with mysql, right?

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 12:37 pm
by maxpostal
I also have the same problem:

Code: Select all

max@max:~$ sudo grep mysql /usr/local/vesta/conf/vesta.conf
DB_SYSTEM='mysql'
max@max:~$ cat /etc/debian_version 
8.5

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 2:28 pm
by skurudo
dpeca wrote:Just upgraded from 15 to 16.
To add my noticed bug (for now):
...
Admin database interface (to create DB) works fine.
Nice catch! Added bug thanks to dpeca
https://bugs.vestacp.com/issues/267

Re: Notice about update vesta to 16.

Posted: Wed Jun 29, 2016 2:41 pm
by dpeca
Tnx mate, I forgot to submit bug there, thank you for doing that instead me :)
(or thanks to Pavel :)