Can't install Blesta with VestaCP?

vpsrus

Well-known member
Hosting Provider
Registered
Joined
Jan 17, 2017
Messages
92
Points
0
Bump in the road.

I am trying to install Blesta with VestaCP with no success so if somebody knows the magic, please express here.

What I have and what I did.

OS Centos 6.9

PHP - 5.6.30 with Zend and ioncube
Apache 2.4
Mysql 5.5.56

several attempts:

Dedicated server same configuration install Vestacp no problem configure the domain then try to install Blesta (Browser or CLI) gives the same error


I am trying to install Blesta and got the following error and it will not install



----------------------------------------
Blesta CLI Installer
----------------------------------------
OK
Checking InnoDB support... OK
Installing database...
96/96 [========================================] 100%
Completed.
Configuring database...
23/23 [========================================] 100%
Completed.
Upgrading database...
4/4 [========================================] 100%
0/0 [========================================] 100%
2/2 [========================================] 100%
0/0 [========================================] 100%
2/2 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
2/2 [========================================] 100%
2/2 [========================================] 100%
15/15 [========================================] 100%
1/1 [========================================] 100%
1/1 [========================================] 100%
5/7 [============================> ] 71 %<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Blesta</title>
<link rel="stylesheet" href="./app/views/errors/css/application.min.css">
<link rel="stylesheet" href="./app/views/errors/css/font-awesome.min.css">
</head>
<body>
<div class="error-container">
<div class="program-error">
<div class="panel panel-default panel-simple">
<div class="panel-heading">
<h3><i class="fa fa-exclamation-circle"></i> Something went wrong.</h3>
</div>
<div class="panel-body">
<p>
Undefined index: total </p>
</div>
</div>
</div> </div>
</body>
</html>





Install on a KVM VPS and the same happens

Weird is I have installed on an OVZ environment and it installed fine with VestaCP


Now using another CP like CWP Blesta install perfectly in any configuration.


Does somebody has experienced something like this??
 

jmlopez

Member
Registered
Joined
Jul 11, 2016
Messages
24
Points
3
Try to upgrade your Mysql from 5.5.56 to Mysql 5.7+ and reinstall your Blesta

If you can not install the latest version of Blesta, try to install version 3 and after that, upgrade to version 4.

I hope you succeed.
 

cyberpersons

Member
Registered
Joined
Jun 17, 2017
Messages
45
Points
0
If you are not good at CLI, try another free control panel like centos-web panel.

However, vestacp should work out of the box if you copy install command from their site.
 

vpsrus

Well-known member
Hosting Provider
Registered
Joined
Jan 17, 2017
Messages
92
Points
0
vpsrus
Hi,

Thank you for the input but you did not get the point, VestaCP is installed already, what is not installing is Blesta with VestaCP, I did not have the chance to try to upgrade PHP yet and test it
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,501
Points
63
David Beroff
Have you solved the problem?

If yes then which way have you used to solve it?
 

vpsrus

Well-known member
Hosting Provider
Registered
Joined
Jan 17, 2017
Messages
92
Points
0
vpsrus
After some time working on the OS configuration, different versions of PHP and MySQL could not succeed to install Blesta with VestaCP as I don't want to change the OS distro because our servers run in the same distro I decided to install another CP and choose CWP for it and Blesta install like a breeze.
 

vpsrus

Well-known member
Hosting Provider
Registered
Joined
Jan 17, 2017
Messages
92
Points
0
vpsrus
David, after cooling my head I could think better and I was able to solve the problem and install Blesta with VestaCP what you have to do is change php.ini and my.cfn configuration as bellow

vi /etc/my.cnf and add the following lines or modify them if they exist in your installation

wait_timeout=2400
connect_timeout=360


restart mysqld

vi /etc/php.ini and change or add the following lines

memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 60


restart apache

as I have the resources I used but I am sure can be less

and that is it could install, configure and migrate without any problems
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,501
Points
63
Congrats vpsrus! you could solve which more people are getting same problem out there.
I also tried to search on Google to answer your question or on Blesta and VestaCP's forum but didn't have a solution for this.
Thanks for your updates, just curious how you found which causes errors and to fix it?
 

vpsrus

Well-known member
Hosting Provider
Registered
Joined
Jan 17, 2017
Messages
92
Points
0
vpsrus
David as I had mentioned on a post I was giving up to do it then I installed CWP and I was playing with the configurations and saw the PHP configuration and it gave me an idea to try also I had a hint about the mysql, that is it when you are not concerned anymore about the problem the solution is presented to you.
 
Older Threads
Replies
25
Views
11,202
Replies
1
Views
5,456
Latest Threads
Replies
0
Views
24
Replies
1
Views
38
Replies
0
Views
227
Replies
1
Views
49
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top