• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk premium email Kolab

Achim Drees

Basic Pleskian
Hi,
I want to install Plesk Premium email, when I click on Installation it begins to install and then before it will finish this is what I see:
- filemng failed: filemng: Error occurred
during /usr/bin/base64 command.
-------------------
LOG:


[2019-08-22 12:26:19.072] ERR [extension/kolab] Not successfully executed: 'yum -y install kolab-plesk --downloadonly'
[2019-08-22 12:26:19.074] ERR [extension/kolab] stderr:
[2019-08-22 12:26:25.492] ERR [extension/kolab] Not successfully executed: 'yum -y install guam --cacheonly'
[2019-08-22 12:26:25.493] ERR [extension/kolab] stderr:
[2019-08-22 12:26:33.420] ERR [extension/kolab] Not successfully executed: 'yum -y install kolab-plesk --cacheonly'
[2019-08-22 12:26:33.420] ERR [extension/kolab] stderr:
[2019-08-22 12:26:34.152] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/filemng' 'root' 'base64' '/etc/guam/sys.config' '--allow-root'] with exit code [1]
[2019-08-22 12:26:34.152] ERR [1] '/usr/local/psa/admin/bin/filemng' 'root' 'base64' '/etc/guam/sys.config' '--allow-root' failed with code 1.


stdout:
base64: /etc/guam/sys.config: No such file or directory
filemng: Error occurred during /usr/bin/base64 command.


stderr:
filemng: Error occurred during /usr/bin/base64 command.

[2019-08-22 12:26:34.158] ERR [panel] Task failed: id=1477, pid=7490, type=ext-kolab-task_install, error=filemng failed: filemng: Error occurred during /usr/bin/base64 command.

-----------------------
I found this:
Unable to install Kolab software packages: Error occurred during /usr/bin/base64 command

But after doing that, still the same.

Whats wrong?
 
Last edited:
Please state your OS, OS version and Plesk version.

Seeing that you're on a RPM based OS, the command to list currently enabled repositories is:
Code:
yum repolist enabled

The command to list any repositories with the word atomic in their name is:
Code:
yum repolist all | grep -i atomic

Did you have atomic repositories enabled before that are disabled now?

Which OS level PHP version do you currently have installed? Check with:
Code:
php -v
 
CentOS Linux 7.6.1810 (Core)
Plesk Onyx Version 17.8.11 Update #65
PHP 7.2.21 (cli) (built: Jul 30 2019 14:46:08) ( NTS )

found that:
tortix-common/7/x86_64 Atomicorp - 7 - Atomic Secured disabled
tortix-common-testing/7/x86_64 Atomicorp - 7 - Atomic Secured disabled
 
The list of enabled YUM repositories is missing, but looking at your PHP version, I'd venture to guess that you've used Remi's repo to upgrade your OS level PHP and that this is the reason for your Kolab issue.

I'm reluctant to advise you to switch back to the original PHP of the server's OS, as you've given no information about why was it upgraded in the first place. Restoring it back can have various consequences on the web pages and applications on your server, so tread carefully.
 
Yes, totally right. The only reason was to have a newer version of os level php.

How to restoring it back?
Before i will make a snapshot from the server, when there are troubles i can go back.
 
First, I'd look at the server's YUM history. Locate the ID of the transaction when server's original PHP was upgraded to Remy's PHP (or several IDs, if you used more than one yum command to upgrade):
Code:
yum history

Look at the details to see which packages were upgraded:
Code:
yum history info <ID>

Also, use this command to list all currently installed packages from a specific repository, namely Remy's (get the correct repo id with the 'yum repolist enabled', and you might need to install yum-utils first):
Code:
yumdb search from_repo REPOID* |egrep -v '(from_repo|^$)'

The information gathered so far should give you a pretty good idea which packages need to be downgraded.

Next, disable or remove any Remi's PHP YUM repos from your YUM configuration. This is crucial. The repository configuration files are found in /etc/yum.repos.d/ directory. Find the correct file, edit it and change enabled=1 to enabled=0 where appropriate. Once you open the correct file for editing, it should be obvious what to do. Ask, if in doubt.

Then:
Code:
yum downgrade php

At this point, compare what would be downgraded with the packages that should be downgraded.

If anything is missing, abort and specify more packages to the downgrade command (e.g. 'yum downgrade php <package1> <package2> <package3>').

Last, inspect the /etc/php.ini and verify if your sites and applications still work with the original CentOS PHP. If any of them need a newer version of PHP, I suggest using Plesk's PHP packages and individual PHP settings.
 
I did yum downgrade php, it shows:


Error: Package: php-5.4.16-46.el7.x86_64 (base)

Requires: php-common(x86-64) = 5.4.16-46.el7

Installed: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)

php-common(x86-64) = 7.2.21-1.el7.remi

Available: php-common-5.4.16-46.el7.x86_64 (base)

php-common(x86-64) = 5.4.16-46.el7

Error: Package: php-5.4.16-46.el7.x86_64 (base)

Requires: php-cli(x86-64) = 5.4.16-46.el7

Installed: php-cli-7.2.21-1.el7.remi.x86_64 (@Remi-php72)

php-cli(x86-64) = 7.2.21-1.el7.remi

Available: php-cli-5.4.16-46.el7.x86_64 (base)

php-cli(x86-64) = 5.4.16-46.el7
 
Try specifying each of these packages for downgrade (and you'll may need to specify even more):
Code:
yum downgrade php php-common php-cli
 
Error: Package: php-json-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-fpm-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-mbstring-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (@Remi-php72)
Requires: php(zend-abi) = 20170718-64
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php(zend-abi) = 20170718-64
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php(zend-abi) = 20100525-64
Error: Package: php-imap-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-gd-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-xml-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (@Remi-php72)
Requires: php(api) = 20170718-64
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php(api) = 20170718-64
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php(api) = 20100412-64
Error: Package: php-pdo-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
 
Like I said, you'll may need to specify more.

Basically, you need to downgrade each and every package that was replaced with one from Remi's repo.
 
Hi,
I did:

yumdb search from_repo remi-php72* |egrep -v '(from_repo|^$)'
were I saw the needed packages to downgrade,
then:

yum downgrade php php-common php-cli php-json php-fpm php-mbstring php-pecl-mysql php-imap php-gd php-xml php-pdo php-mysqlnd

then this:

Error: Package: php-json-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
Requires: php-common(x86-64) = 7.2.21-1.el7.remi
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php-common(x86-64) = 7.2.21-1.el7.remi
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (@Remi-php72)
Requires: php(zend-abi) = 20170718-64
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php(zend-abi) = 20170718-64
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php(zend-abi) = 20100525-64
Error: Package: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (@Remi-php72)
Requires: php(api) = 20170718-64
Removing: php-common-7.2.21-1.el7.remi.x86_64 (@Remi-php72)
php(api) = 20170718-64
Downgraded By: php-common-5.4.16-46.el7.x86_64 (base)
php(api) = 20100412-64
 
The php-json and php-pecl-mysql packages do not exist on CentOS, only in Remi's repo. Because of this, yum doesn't attempt to downgrade them, they remain installed and cause the error above.

Remove them first:
Code:
yum remove php-json php-pecl-mysql

and then downgrade:
Code:
yum downgrade php php-common php-cli php-fpm php-mbstring php-imap php-gd php-xml php-pdo php-mysqlnd
 
Remove them first:
Code:
yum remove php-json php-pecl-mysql

...and what about the dependent packages, they will also delete, I think that is not so good?
 
Now I did it with :

rpm -ev --nodeps php-json php-pecl-mysql

and then

yum downgrade php php-common php-cli php-fpm php-mbstring php-imap php-gd php-xml php-pdo php-mysqlnd

SUCCESS!
 
Back
Top