First, I wanted to highlight that I have seen this issue mentioned recently in another post, but the problem didn't occur on a second server, so it was viewed as a server issue!
The problem I'm seeing is repeatable across installs, and across different servers.
A bit of background - I've been running a modified 4.1.1 Blesta install for months now which has been working flawlessly with three Plesk Onyx Servers. I didn't update because of the modifications made. I decided following the updates to 4.3.2 that I wanted to be able to update my installs so I created some scripts to automate some mods, and phased out some other mods allowing me to upgrade following the normal process with no worries.
I decided to test 4.3.2 on a test server dedicated to Blesta, which is 'connected' to another test server running Plesk Onyx. The test set-up had also been running 4.1.1 without problem. Both servers run Ubuntu 16.04 configured to use PHP 7.0 and do not have issues with NAT IP's, etc.
NOTE: From this point forward I am discussing the test servers and the installs of both 4.1.1 and 4.3.2 are 'Vanilla' installs with no modifications. As such the Plesk Modules are versions 2.4.0 and 2.5.0.
The installs were performed on the same Blesta server and were fresh installs of Ubuntu and Blesta. The installs were performed by a script that has been carefully tuned over a few weeks of use to install Blesta. The only step remaining after the install is to enter the license and staff details in the browser. This script was used to install both versions of Blesta. The only modification to the script is a variable to tell it which Blesta version to pull in for the install. This means that the steps are performed in the same order and PHP modules, etc meet the requirements for Blesta. The Blesta folder included the PHP 7.0 HOT FIX update.
1. The Problem
I installed 4.3.2 as explained above. No problems were observed during the install. I logged into the dashboard, checked that all widgets were loaded, that cron was working and completed a basic set-up e.g company name. Next I installed the 'Plesk Module', set-up a Server Group called 'Plesk Servers' and added my Plesk Test Server - Label, IP address, username, password. No problems were encounter so far.
Next I went into 'Packages' > 'Browse Packages' and selected 'Module' - Plesk, 'Server Group' - Plesk Servers, and 'Standard' account type. Finally, I expected the 'Plesk Service Plan' to be populated but it never was. It just showed '-- please select --'. This was never updated at all following repeated reloads, etc.
No Output was observed, but this has always been the same on the 4.1.1 production servers.
If I altered the 'Plesk Server' password to be wrong I observed the following output in the log indicating that successful communication with the Plesk Server API was occurring.
45.xx.xx.xxx
<?xml version="1.0"?>
<packet version="1.6.9.1">
<system>
<status>error</status>
<errcode>1001</errcode>
<errtext>You have entered incorrect username or password.</errtext>
</system> </packet>
2. What was Checked
Obviously, I assumed that the install was to blame. So I checked;
1. The logs for any errors. None observed.
2. The PHP Extensions were all checked.
3. Checked the CURL SSL CA-Certificate and SSL operation - fine.
4. Checked OpenSSL CA-Certificate settings in php.ini - fine.
5. Checked phpinfo output - PHP 7.0 installed, all extensions ok, IOCube installed.
6. Blesta Logs checked - no errors.
7. Copied Plesk API PHP example code into Blesta directory and ran on the CLI and in browser. Result was correct interaction with Plesk and a list of api versions outputted.
3. Repeated 1. with Blesta 4.1.1
Point one was repeated step-by-step with a Blesta 4.1.1 zip including PHP 7.0 Hot Fix. It was installed on the same server, installed with the same script, and set-up in the same sequence.
The 'Plesk Service Plan' drop-down was instantly populated - no errors observed. Add Packages was fully configured and saved.
This process was repeated with several alternating installs of 4.1.1 and 4.3.2. The results were always the same. 4.1.1 worked every time. 4.3.2 never updated the service plan drop-down.
4. Tested on a New Server
The above was repeated on another server with exactly the same results. The server was with another supplier but still running Ubuntu 16.04 with PHP 7.0. The same install process was used and the same results observed.
Any one have any ideas of where I'm going wrong with 4.3.2? I haven't seen any mention of changes to the set-up process.
Question
HostingforPixels
Hi everyone,
First, I wanted to highlight that I have seen this issue mentioned recently in another post, but the problem didn't occur on a second server, so it was viewed as a server issue!
The problem I'm seeing is repeatable across installs, and across different servers.
A bit of background - I've been running a modified 4.1.1 Blesta install for months now which has been working flawlessly with three Plesk Onyx Servers. I didn't update because of the modifications made. I decided following the updates to 4.3.2 that I wanted to be able to update my installs so I created some scripts to automate some mods, and phased out some other mods allowing me to upgrade following the normal process with no worries.
I decided to test 4.3.2 on a test server dedicated to Blesta, which is 'connected' to another test server running Plesk Onyx. The test set-up had also been running 4.1.1 without problem. Both servers run Ubuntu 16.04 configured to use PHP 7.0 and do not have issues with NAT IP's, etc.
NOTE: From this point forward I am discussing the test servers and the installs of both 4.1.1 and 4.3.2 are 'Vanilla' installs with no modifications. As such the Plesk Modules are versions 2.4.0 and 2.5.0.
The installs were performed on the same Blesta server and were fresh installs of Ubuntu and Blesta. The installs were performed by a script that has been carefully tuned over a few weeks of use to install Blesta. The only step remaining after the install is to enter the license and staff details in the browser. This script was used to install both versions of Blesta. The only modification to the script is a variable to tell it which Blesta version to pull in for the install. This means that the steps are performed in the same order and PHP modules, etc meet the requirements for Blesta. The Blesta folder included the PHP 7.0 HOT FIX update.
1. The Problem
I installed 4.3.2 as explained above. No problems were observed during the install. I logged into the dashboard, checked that all widgets were loaded, that cron was working and completed a basic set-up e.g company name. Next I installed the 'Plesk Module', set-up a Server Group called 'Plesk Servers' and added my Plesk Test Server - Label, IP address, username, password. No problems were encounter so far.
Next I went into 'Packages' > 'Browse Packages' and selected 'Module' - Plesk, 'Server Group' - Plesk Servers, and 'Standard' account type. Finally, I expected the 'Plesk Service Plan' to be populated but it never was. It just showed '-- please select --'. This was never updated at all following repeated reloads, etc.
The Plesk Module Logs showed;
45.xx.xx.xxx|service-plan:get
a:1:{s:6:"filter";a:0:{}}. (Input, Success).
No Output was observed, but this has always been the same on the 4.1.1 production servers.
If I altered the 'Plesk Server' password to be wrong I observed the following output in the log indicating that successful communication with the Plesk Server API was occurring.
45.xx.xx.xxx
<?xml version="1.0"?>
<packet version="1.6.9.1">
<system>
<status>error</status>
<errcode>1001</errcode>
<errtext>You have entered incorrect username or password.</errtext>
</system> </packet>
2. What was Checked
Obviously, I assumed that the install was to blame. So I checked;
1. The logs for any errors. None observed.
2. The PHP Extensions were all checked.
3. Checked the CURL SSL CA-Certificate and SSL operation - fine.
4. Checked OpenSSL CA-Certificate settings in php.ini - fine.
5. Checked phpinfo output - PHP 7.0 installed, all extensions ok, IOCube installed.
6. Blesta Logs checked - no errors.
7. Copied Plesk API PHP example code into Blesta directory and ran on the CLI and in browser. Result was correct interaction with Plesk and a list of api versions outputted.
3. Repeated 1. with Blesta 4.1.1
Point one was repeated step-by-step with a Blesta 4.1.1 zip including PHP 7.0 Hot Fix. It was installed on the same server, installed with the same script, and set-up in the same sequence.
The 'Plesk Service Plan' drop-down was instantly populated - no errors observed. Add Packages was fully configured and saved.
This process was repeated with several alternating installs of 4.1.1 and 4.3.2. The results were always the same. 4.1.1 worked every time. 4.3.2 never updated the service plan drop-down.
4. Tested on a New Server
The above was repeated on another server with exactly the same results. The server was with another supplier but still running Ubuntu 16.04 with PHP 7.0. The same install process was used and the same results observed.
Any one have any ideas of where I'm going wrong with 4.3.2? I haven't seen any mention of changes to the set-up process.
Thanks for your help.
Gary
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.