Page 1 of 2
"Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Fri Mar 04, 2016 6:40 am
by baijianpeng
Today I tried to install VestaCP on Ubuntu 16.04 development build (Xenial), which was claimed to offer php 7.0 package directly.
Howerver, when I tried to run the VestaCP install script, the error was:
Code: Select all
root@ubuntu:/tmp# bash vst-install.sh
--2016-03-04 14:35:55-- http://vestacp.com/pub/vst-install-rhel.sh
Resolving vestacp.com (vestacp.com)... 104.236.66.100
Connecting to vestacp.com (vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44148 (43K) [text/plain]
Saving to: ‘vst-install-rhel.sh’
vst-install-rhel.sh 100%[===========================================>] 43.11K 89.0KB/s in 0.5s
2016-03-04 14:35:56 (89.0 KB/s) - ‘vst-install-rhel.sh’ saved [44148/44148]
cut: /etc/redhat-release: No such file or directory
grep: /etc/redhat-release: No such file or directory
vst-install-rhel.sh: line 20: [: : integer expression expected
Error: No access to Vesta repository
root@ubuntu:/tmp#
Why?
Does this mean that VestaCP does not support ubuntu 16.04 now? But I really love the idea that Ubuntu 16.04 will include PHP 7 package built-in.
Hope you will add support to this version of ubuntu.
Thank you.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Fri Mar 04, 2016 2:14 pm
by skamasle
Not supported yet
# Supported Operating Systems:
# RHEL / CentOS 5,6,7
# Debian 6,7,8
# Ubuntu 12.04-15.10
http://vestacp.com/#install
You can run centos whit remi repo and install php 7 as aditional version or upgrade your php to php 7.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Fri Mar 04, 2016 2:27 pm
by baijianpeng
skamasle wrote:
You can run centos whit remi repo and install php 7 as aditional version ...
Do you mean we can have both php5 and php7 at the same time on CentOS? How to ?
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Fri Mar 04, 2016 5:34 pm
by skamasle
baijianpeng wrote:skamasle wrote:
You can run centos whit remi repo and install php 7 as aditional version ...
Do you mean we can have both php5 and php7 at the same time on CentOS? How to ?
You can do it also in ubuntu, you only need install or compile new php versión and add new template, this works fine whit fastcgi.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Sat Mar 05, 2016 2:02 am
by baijianpeng
Well, I am not a server guru. I only know how to copy and paste commands, following articles online.
Since VestaCP does not offer "multiple PHP version" now, I can not do it manually. I am afraid I will break my server.
Thank you.
I have to wait for official new feature of "multiple PHP version" in VestaCP, and official support for Ubuntu 16.04.
PS: according to ubuntu roadmap, the 16.04 version will be released in April 2016. Hope VestaCP will support it then.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Sat Mar 05, 2016 10:30 am
by skamasle
You can test this on centos 7 ->
http://forum.vestacp.com/viewtopic.php?f=19&t=10854
May work for you.
You can check script and view how it working and do same on ubuntu but on ubuntu you need compile own php.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Sat Mar 05, 2016 11:51 am
by baijianpeng
My VestaCP is "Apache + NginX", and I have already upgraded my PHP to 5.5.33 via remi repo. So I think I can not apply your multi-php script now.
Hope you will improve it to fit in any situation.
Thank you.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Sat Mar 05, 2016 12:19 pm
by skamasle
You can modify it, and install only php 7 so whit out php 5.5 and it should work, but yes, I need improve something
The script is so easy
You can install php7 only as aditional versión using remi
Code: Select all
yum install php70-php-imap php70-php-common php70-php php70-php-mcrypt php70-php-mysqlnd php70-php-mbstring php70-php-gd php70-php-tidy php70-php-pecl-memcache --enablerepo=remi
Then add template:
Code: Select all
curl -s http://mirror.skamasle.com/vestacp/PHP/sk-php70.sh > /usr/local/vesta/data/templates/web/httpd/sk-php70.sh
curl -s http://mirror.skamasle.com/vestacp/PHP/sk-php70.stpl > /usr/local/vesta/data/templates/web/httpd/sk-php70.stpl
curl -s http://mirror.skamasle.com/vestacp/PHP/sk-php70.tpl > /usr/local/vesta/data/templates/web/httpd/sk-php70.tpl
chmod +x /usr/local/vesta/data/templates/web/httpd/sk-php70.sh
It should work.
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Tue May 10, 2016 7:54 am
by skurudo
skamasle wrote:Not supported yet
Added to task on bug tracker -
https://bugs.vestacp.com/issues/211
All can vote ;-)
Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)
Posted: Fri Sep 30, 2016 2:13 pm
by baijianpeng
I also met this same problem today.
I have voted on bug tracker for ubuntu 16.04 support.