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
  • Search

"Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

General questions about VestaCP
Locked
  • Print view
Advanced search
20 posts
  • 1
  • 2
  • Next
baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

"Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by baijianpeng » Fri Mar 04, 2016 6:40 am

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by skamasle » Fri Mar 04, 2016 2:14 pm

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.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by baijianpeng » Fri Mar 04, 2016 2:27 pm

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 ?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by skamasle » Fri Mar 04, 2016 5:34 pm

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.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by baijianpeng » Sat Mar 05, 2016 2:02 am

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by skamasle » Sat Mar 05, 2016 10:30 am

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.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by baijianpeng » Sat Mar 05, 2016 11:51 am

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by skamasle » Sat Mar 05, 2016 12:19 pm

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by skurudo » Tue May 10, 2016 7:54 am

skamasle wrote:Not supported yet
Added to task on bug tracker - https://bugs.vestacp.com/issues/211
All can vote ;-)
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Error: No access to Vesta repository" when installing on Ubuntu 16.04 (Xenial)

Post by baijianpeng » Fri Sep 30, 2016 2:13 pm

I also met this same problem today.

I have voted on bug tracker for ubuntu 16.04 support.
Top


Locked
  • Print view

20 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • 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