Jump to content

Blesta doesn't seem to properly detect installed modules


EidolonHost

Recommended Posts

Hi,

During the install of Blesta to https://awoo.host/billing I have noticed that Blesta via the Web UI installer doesn't seem to properly detect that the various modules that it asks for me to have installed on the server is already available. So obviously, Blesta Beta 4.0 B4 needs to be updated to also check for 5.6 versions on CentOS.

For example:

yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse -y

results in:

[root@helmsgate ~]# yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.org
 * epel: fedora-epel.mirror.lstn.net
 * extras: mirrors.gigenet.com
 * remi-safe: repo1.dal.innoscale.net
 * updates: mirror.team-cymru.org
Package matching php-devel-5.4.16-42.el7.x86_64 already installed. Checking for update.
Package matching php-gd-5.4.16-42.el7.x86_64 already installed. Checking for update.
Package matching php-xmlrpc-5.4.16-42.el7.x86_64 already installed. Checking for update.
Package matching php-xml-5.4.16-42.el7.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-imap-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-imap-5.4.16-7.el7.x86_64
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
---> Package php-mysql.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.16-42.el7 for package: php-mysql-5.4.16-42.el7.x86_64
---> Package php-pecl-mailparse.x86_64 0:2.1.6-6.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
---> Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
---> Package php-pspell.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-pspell-5.4.16-42.el7.x86_64
--> Processing Dependency: libpspell.so.15()(64bit) for package: php-pspell-5.4.16-42.el7.x86_64
--> Processing Dependency: libaspell.so.15()(64bit) for package: php-pspell-5.4.16-42.el7.x86_64
---> Package php-snmp.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-snmp-5.4.16-42.el7.x86_64
--> Processing Dependency: net-snmp for package: php-snmp-5.4.16-42.el7.x86_64
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php-snmp-5.4.16-42.el7.x86_64
--> Running transaction check
---> Package aspell.x86_64 12:0.60.6.1-9.el7 will be installed
---> Package net-snmp.x86_64 1:5.7.2-24.el7_2.1 will be installed
--> Processing Dependency: net-snmp-agent-libs = 1:5.7.2-24.el7_2.1 for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
--> Processing Dependency: libnetsnmptrapd.so.31()(64bit) for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
--> Processing Dependency: libnetsnmpmibs.so.31()(64bit) for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
--> Processing Dependency: libnetsnmpagent.so.31()(64bit) for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
---> Package net-snmp-libs.x86_64 1:5.7.2-24.el7_2.1 will be installed
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-imap-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-imap-5.4.16-7.el7.x86_64
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
---> Package php-mysql.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.16-42.el7 for package: php-mysql-5.4.16-42.el7.x86_64
---> Package php-pecl-mailparse.x86_64 0:2.1.6-6.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
---> Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
---> Package php-pspell.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-pspell-5.4.16-42.el7.x86_64
---> Package php-snmp.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-snmp-5.4.16-42.el7.x86_64
--> Running transaction check
---> Package net-snmp-agent-libs.x86_64 1:5.7.2-24.el7_2.1 will be installed
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-imap-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-imap-5.4.16-7.el7.x86_64
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
---> Package php-mysql.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.16-42.el7 for package: php-mysql-5.4.16-42.el7.x86_64
---> Package php-pecl-mailparse.x86_64 0:2.1.6-6.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
---> Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
---> Package php-pspell.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-pspell-5.4.16-42.el7.x86_64
---> Package php-snmp.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-snmp-5.4.16-42.el7.x86_64
--> Processing Conflict: php-mysql-5.4.16-42.el7.x86_64 conflicts php-mysqlnd
Removing php-mysql.x86_64 0:5.4.16-42.el7 - u due to obsoletes from installed php-mysqlnd-5.6.24-1.el7.remi.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php-imap.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-imap-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-imap-5.4.16-7.el7.x86_64
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-mcrypt-5.4.16-7.el7.x86_64
---> Package php-mysql.x86_64 0:5.4.16-42.el7 will be installed
---> Package php-pecl-mailparse.x86_64 0:2.1.6-6.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-mailparse-2.1.6-6.el7.x86_64
---> Package php-pecl-memcache.x86_64 0:3.0.8-4.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-memcache-3.0.8-4.el7.x86_64
---> Package php-pspell.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-pspell-5.4.16-42.el7.x86_64
---> Package php-snmp.x86_64 0:5.4.16-42.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-snmp-5.4.16-42.el7.x86_64
--> Finished Dependency Resolution
Error: Package: php-snmp-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php-common(x86-64) = 5.6.24-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-pecl-mailparse-2.1.6-6.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(api) = 20100412-64
Error: Package: php-mcrypt-5.4.16-7.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(zend-abi) = 20100525-64
Error: Package: php-imap-5.4.16-7.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(api) = 20100412-64
Error: Package: php-imap-5.4.16-7.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(zend-abi) = 20100525-64
Error: Package: php-pecl-memcache-3.0.8-4.el7.x86_64 (base)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(zend-abi) = 20100525-64
Error: Package: php-pecl-memcache-3.0.8-4.el7.x86_64 (base)
           Requires: php(api) = 20100412-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(api) = 20100412-64
Error: php-mysql conflicts with php-mysqlnd-5.6.24-1.el7.remi.x86_64
Error: Package: php-mysql-5.4.16-42.el7.x86_64 (base)
           Requires: php-pdo(x86-64) = 5.4.16-42.el7
           Installed: php-pdo-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php-pdo(x86-64) = 5.6.24-1.el7.remi
           Available: php-pdo-5.4.16-42.el7.x86_64 (base)
               php-pdo(x86-64) = 5.4.16-42.el7
Error: Package: php-pspell-5.4.16-42.el7.x86_64 (base)
           Requires: php-common(x86-64) = 5.4.16-42.el7
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php-common(x86-64) = 5.6.24-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-mcrypt-5.4.16-7.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(api) = 20100412-64
Error: Package: php-pecl-mailparse-2.1.6-6.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-5.6.24-1.el7.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php(zend-abi) = 20100525-64
 You could try using --skip-broken to work around the problem

Edited by Keiro
Forgot forum BBC code. Whups.
Link to comment
Share on other sites

6 hours ago, Licensecart said:

I'm not sure what you are talking about mate, the one you are trying to install are 5.4, but you have 5.6 stuff installed. so something isn't working on your server side.

PS: Some stuff requires: 


Requires: php(zend-abi) = 20100525-64

That is why I said that it appears Blesta isn't properly detecting that we're using 5.6 variants installed.

I'm not sure if Blesta is currently set up to correctly detect php 5.6, considering that you and I both run on 5.6 because 5.4 is EOL.

Link to comment
Share on other sites

12 minutes ago, Kurogane said:

You need first remove your current php packages and then install php again.


yum remove php-*

 


yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse

 

Ahahah, no. Not on this InterWorx-based server. Out of curiosity, I test-ran the command you provided and it would've removed not only the PHP packages but also InterWorx-specific stuff. Besides, why should I? It works fine on 5.6.

Link to comment
Share on other sites

I not know  InterWorx the only can answer you is Licensecart he is expert in this field.

The problem you have installed php from epel and remi and the normal install you install PHP for the OS version you need active remi repo

Try this

yum-config-manager --enable remi-php56
yum update
yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse

or

yum --enablerepo=remi install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse

 

Link to comment
Share on other sites

12 minutes ago, Kurogane said:

I not know  InterWorx the only can answer you is Licensecart he is expert in this field.

The problem you have installed php from epel and remi and the normal install you install PHP for the OS version you need active remi repo

Try this


yum-config-manager --enable remi-php56

yum update

yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse

or


yum --enablerepo=remi install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse

 

Yep, we use the REMI repo as evidenced in the code I post.

I don't think it's an issue with the server, more of an issue with Blesta detecting modules that're php 5.6-based. It detects some but not all of the modules as installed. Again, looking back at the errors that I get, it's obvious that the 5.4 equivalent of modules that it needs have been installed.

Sidenote, I'm also equally as familiar with InterWorx as @Licensecart is.

Link to comment
Share on other sites

Well the issue I have in this thread is when I've used InterWorx I upgraded php 5.4 to 5.6 and I used the --enablerepo=remi and I do recommend it in some of my tuts to use that flag to ensure you are updated, however saying that something is required for some reason as I quoted. How did you update PHP before mate? did you follow my way or did something else because I've never seen Blesta not being able to detect anything.

Link to comment
Share on other sites

1 hour ago, Licensecart said:

Well the issue I have in this thread is when I've used InterWorx I upgraded php 5.4 to 5.6 and I used the --enablerepo=remi and I do recommend it in some of my tuts to use that flag to ensure you are updated, however saying that something is required for some reason as I quoted. How did you update PHP before mate? did you follow my way or did something else because I've never seen Blesta not being able to detect anything.

Yeah, your way, basically.

That's why I thought it odd that Blesta 4.0 didn't seem to be properly detecting the 5.6 version of the same modules. Every InterWorx server I set up gets upgraded to 5.6 the very moment InterWorx's done installing using your way.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...