• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Upgrade do Plesk Panel 12 failed : centOS 6.6

KLuser

New Pleskian
Hello,
It has been for hours that i'm desperately trying to upgrade my Plesk version but I have no idea on how to resolve my issues.
Any help wanted ...

Thanks

Here's the installation log :

Code:
***** upgrade problem report *****
ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP psa-horde-5.2.1-cos6.build1200140821.13 upgrading AT Fri Nov 21 15:12:50 CET 2014
START psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Fri Nov 21 15:12:50 CET 2014
Checking for the system groups and users necessary for Qmail...
Checking for the group 'qmail'...

ERROR: It seems there is a group with GID=2520
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package psa-qmail scriptlet completed successfully.

STOP psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Fri Nov 21 15:12:51 CET 2014
START psa-mail-driver-common-12.0.18-cos6.build1200140606.15 upgrading AT Fri Nov 21 16:03:52 CET 2014
Create Mail accounts
Checking for the group 'popuser'...

ERROR: It seems there is a group with GID=31
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package psa-mail-driver-common scriptlet completed successfully.

STOP psa-mail-driver-common-12.0.18-cos6.build1200140606.15 upgrading AT Fri Nov 21 16:03:53 CET 2014
START plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18 installing AT Fri Nov 21 16:03:54 CET 2014
Checking for the group 'popuser'...

ERROR: It seems there is a group with GID=31
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package plesk-courier-imap-driver scriptlet completed successfully.

STOP plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18 installing AT Fri Nov 21 16:03:54 CET 2014
START psa-horde-5.2.1-cos6.build1200140821.13 upgrading AT Fri Nov 21 16:03:55 CET 2014
Checking for the group 'horde_sysgroup'...
Trying to add group 'horde_sysgroup'... groupadd: cannot lock /etc/group; try again later.

ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again


**** Package psa-horde scriptlet failed.

***** upgrade problem report *****
ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP psa-horde-5.2.1-cos6.build1200140821.13 upgrading AT Fri Nov 21 16:03:56 CET 2014
START psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Fri Nov 21 16:03:56 CET 2014
Checking for the system groups and users necessary for Qmail...
Checking for the group 'qmail'...

ERROR: It seems there is a group with GID=2520
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package psa-qmail scriptlet completed successfully.

STOP psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Fri Nov 21 16:03:57 CET 2014
 
I launched the update thru the
command : /usr/local/psa/admin/bin/autoinstaller --select-release-latest --upgrade-installed-components

Code:
Doing restart of Parallels Installer...
Fichier en cours de téléchargement products.inf3: 100% a été terminé.
Fichier en cours de téléchargement plesk.inf3: 11%..20%..30%..40%..50%..61%..71%..80%..90%..100% a été terminé.
Fichier en cours de téléchargement ppsmbe.inf3: 30%..71%..100% a été terminé.
Fichier en cours de téléchargement sitebuilder.inf3: 12%..100% a été terminé.
Fichier en cours de téléchargement sso.inf3: 13%..100% a été terminé.
Fichier en cours de téléchargement setemplates.inf3: 24%..100% a été terminé.
Fichier en cours de téléchargement pp-sitebuilder.inf3: 10%..22%..31%..41%..50%..62%..71%..81%..93%..100% a été terminé.
Fichier en cours de téléchargement billing.inf3: 14%..20%..30%..43%..53%..64%..73%..83%..90%..100% a été terminé.
Fichier en cours de téléchargement mysql.inf3: 100% a été terminé.
Fichier en cours de téléchargement apache.inf3: 100% a été terminé.
Fichier en cours de téléchargement nginx.inf3: 14%..73%..100% a été terminé.
Vérification des packages installés ...
Fichier en cours de téléchargement PSA_12.0.18/plesk-12.0.18-cos6-x86_64.inf3: 12%..20%..30%..49%..57%..63%..71%..80%..92%..100% a été terminé.
Fichier en cours de téléchargement PSA_12.0.18/plesk-patches-12.0.18-cos6-x86_64.inf3: 14%..24%..32%..42%..54%..65%..71%..81%..95%..100% a été terminé.
Fichier en cours de téléchargement SITEBUILDER_12.0.6/sitebuilder-12.0.6-rhall-all.inf3: 62%..100% a été terminé.
Fichier en cours de téléchargement BILLING_12.0.18/billing-12.0.18-rhall-all.inf3: 100% a été terminé.
Fichier en cours de téléchargement NGINX_1.6.0/nginx-1.6.0-cos6-x86_64.inf3: 100% a été terminé.
Loaded plugins: fastestmirror, priorities


Détection des composants de produits installés en cours.
Collecte des informations sur la clé de licence installée...
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mirror1.34sp.com
* base: miroir.univ-paris13.fr
* epel: epel.mirrors.ovh.net
* extras: centos.mirrors.ovh.net
* updates: mirror-fr2.bbln.org
* webtatic: uk.repo.webtatic.com
PPB_12_0_18-dist                                         |  951 B     00:00    
PPB_12_0_18-thirdparty                                   |  951 B     00:00    
PSA_12_0_18-dist                                         | 2.9 kB     00:00    
PSA_12_0_18-thirdparty                                   | 2.9 kB     00:00    
SITEBUILDER_12_0_6-dist                                  |  951 B     00:00    
SITEBUILDER_12_0_6-thirdparty                            |  951 B     00:00    
431 packages excluded due to repository priority protections
+ psa-qmail
+ psa-horde
+ plesk-courier-imap-driver
+ psa-mail-driver-common

Le montant d'espace disque suivant est requis dans les répertoires :
/usr/local : 1200.00 Mo.
Total requis : 1200.00 Mo, disponible : 12812.00 Mo.

Packages en cours d'installation
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mirror1.34sp.com
* base: miroir.univ-paris13.fr
* epel: epel.mirrors.ovh.net
* extras: centos.mirrors.ovh.net
* updates: mirror-fr2.bbln.org
* webtatic: uk.repo.webtatic.com
431 packages excluded due to repository priority protections
(1/4): plesk-courier-imap-driver-12.0.18-cos6.build12001 | 220 kB     00:00    
(2/4): psa-horde-5.2.1-cos6.build1200140821.13.noarch.rp |  17 MB     00:00    
(3/4): psa-mail-driver-common-12.0.18-cos6.build12001406 | 821 kB     00:00    
(4/4): psa-qmail-1.03-cos6.build1200140526.11.x86_64.rpm | 580 kB     00:00    
Running rpm_check_debug
Error in PREIN scriptlet in rpm package psa-mail-driver-common-12.0.18-cos6.build1200140606.15.x86_64
Error in PREIN scriptlet in rpm package plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18.x86_64
Error in PREIN scriptlet in rpm package psa-horde-5.2.1-cos6.build1200140821.13.noarch
Error in PREIN scriptlet in rpm package 3:psa-qmail-1.03-cos6.build1200140526.11.x86_64
psa-horde-3.3.10-cos6.build1013111101.14.noarch was supposed to be removed but is not!
2:psa-qmail-1.03-cos6.build1013111101.14.x86_64 was supposed to be removed but is not!
psa-mail-driver-common-10.13.4-cos6.build1013111102.18.x86_64 was supposed to be removed but is not!
Exception: Scriptlet or other non-fatal errors occurred during transaction.
error: %pre(psa-mail-driver-common-12.0.18-cos6.build1200140606.15.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-mail-driver-common-12.0.18-cos6.build1200140606.15
error: %pre(plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18
Checking for the group 'horde_sysgroup'...
Trying to add group 'horde_sysgroup'... groupadd: cannot lock /etc/group; try again later.

ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again

***** upgrade problem report *****
ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
error: %pre(psa-horde-5.2.1-cos6.build1200140821.13.noarch) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-horde-5.2.1-cos6.build1200140821.13
error: %pre(psa-qmail-3:1.03-cos6.build1200140526.11.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-qmail-3:1.03-cos6.build1200140526.11
Verify: 1/7: psa-qmail.x86_64 3:1.03-cos6.build1200140526.11 - u
Verify: 2/7: psa-horde.noarch 0:5.2.1-cos6.build1200140821.13 - u
Verify: 3/7: psa-horde.noarch 0:3.3.10-cos6.build1013111101.14 - ud
Verify: 4/7: plesk-courier-imap-driver.x86_64 0:12.0.18-cos6.build1200140617.18 - u
Verify: 5/7: psa-qmail.x86_64 2:1.03-cos6.build1013111101.14 - ud
Verify: 6/7: psa-mail-driver-common.x86_64 0:10.13.4-cos6.build1013111102.18 - ud
Verify: 7/7: psa-mail-driver-common.x86_64 0:12.0.18-cos6.build1200140606.15 - u

ERROR: Echec de l'exécution de l'utilitaire yum.
L'utilitaire yum n'a pas réussi à installer les packs requis.
Attention ! Votre logiciel risque de ne pas fonctionner.
Veuillez contacter l'assistance technique du produit.
 
Have you considered updating your Linux server with Yum Update and restarting your linux server, before upgrading Plesk?
 
Post the log file from your first post: /var/log/plesk/install/plesk_12.0.18_installation.log
 
Did you try to temporairly enable SElinux

in the log-file line 3 it said
WARNING: genhomedircon is disabled. See /etc/selinux/semanage.conf if you need to enable it.
 
You will need to reboot your system if the semanage.conf has been altered.
After you have updated Plesk, dont forget to return your semanage.conf settings again and reboot the server, again.
 
rebooted and try to reinstall but nothing changed ...
Seems to be some errors on GID but i don't know how to fix it ...
Code:
**** Package psa-qmail scriptlet completed successfully.

STOP psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Sat Nov 22 15:23:48 CET 2014
START psa-mail-driver-common-12.0.18-cos6.build1200140606.15 upgrading AT Sat Nov 22 15:48:19 CET 2014
Create Mail accounts
Checking for the group 'popuser'...

ERROR: It seems there is a group with GID=31
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package psa-mail-driver-common scriptlet completed successfully.

STOP psa-mail-driver-common-12.0.18-cos6.build1200140606.15 upgrading AT Sat Nov 22 15:48:21 CET 2014
START plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18 installing AT Sat Nov 22 15:48:21 CET 2014
Checking for the group 'popuser'...

ERROR: It seems there is a group with GID=31
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package plesk-courier-imap-driver scriptlet completed successfully.

STOP plesk-courier-imap-driver-12.0.18-cos6.build1200140617.18 installing AT Sat Nov 22 15:48:22 CET 2014
START psa-horde-5.2.1-cos6.build1200140821.13 upgrading AT Sat Nov 22 15:48:22 CET 2014
Checking for the group 'horde_sysgroup'...
Trying to add group 'horde_sysgroup'... groupadd: cannot lock /etc/group; try again later.

ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again


**** Package psa-horde scriptlet failed.

***** upgrade problem report *****
ERROR while trying to add group 'horde_sysgroup'
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP psa-horde-5.2.1-cos6.build1200140821.13 upgrading AT Sat Nov 22 15:48:23 CET 2014
START psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Sat Nov 22 15:48:24 CET 2014
Checking for the system groups and users necessary for Qmail...
Checking for the group 'qmail'...

ERROR: It seems there is a group with GID=2520
       in this system, but psa needs the same GID
       for its operation.
       Unfortunately, this situation has not yet been
       resolved.
       Please, visit http://www.parallels.com/support for assistance.

Exiting...


**** Package psa-qmail scriptlet completed successfully.

STOP psa-qmail-1.03-cos6.build1200140526.11 upgrading AT Sat Nov 22 15:48:25 CET 2014
 
Your installation log shows that you use quite a few 3rd party repos. Would suggest to temporarily disable all of them (as many as you can), run an update (not an upgrade yet) of plesk only on the official plesk repos. It is known that other repos can cause issues when upgrading.
After Plesk is up-to-date using only Plesk repos, try the upgrade to 12 again.
After that re-enable the other repos.

Assuming you're coming from Plesk 10, 11, or 11.5

Hope it helps :)
 
Having had another look at your logs, the problem seems to be related to only the mail-related programs.
Should previous post not help you, in addition to that one, try temporarily disabling anything to do with mail (horde, courier/imap, qmail) in current Plesk and try the upgrade without them.
Enable all the mail-related programs aferwards again. Than enable other repos.

Cheers,

Tom
 
Last edited:
Thanks for your help Tom ! One last question, Where can i change the repos and disable mail related programs ?

Regards
 
Log in to your servers shell as root user , go to /etc/yum.repos.d
You'll see the repository files that your server checks for updates listed. In my case it is 5x CentOS-xyz.repo
In your case you should see (according to your log files) others including atomic, epel, webtatic.
Those ones, just rename them from xxx.repo to xxx.repoorig - anything so plesk doesn't see them as repo files.

run "yum update" from the shell to make sure plesk is on the latest version.
run the upgrade.
log back in again and rename the xxx.repoorig files back to xxx.repo so that plesk in the future is aware again of your old/original extra repositories.

--
mail services/programs: two options:
1) you can go to "tools & settings" - "services management" in the server panel and disable the services.
2) a bit more far reaching - if you can afford 10 minutes without any mail service at all (also check mail queue) - "tools & settings" - "updates & upgrades" - "add/remove components" - "mail hosting features" - and uninstall what's causing trouble.
Reinstall after the upgrade;

I don't think the second step (disabling/uninstalling mail programs) is needed; but just in case :)

-----------------------
appologies for the mistakes in my "phrasing" in earlier messages! Of course it's not Plesk repo, it's CentOS repo. -- Plesk sits "on top" of CentOS and uses some of the OSes functionalities; PHP for example. -- So extra repos are not (in a way) extensions of plesk, they are extensions of the underlying OS. When you do an upgrade, Plesk of course needs the underlying OS. But with extra repos for the OS enabled/existing, it may find configurations it's not been tested on/ is not happy with...
 
Last edited:
I'm wrestling with this same issue. Tried to do fresh install of qmail after removal and install postfix, and it broke all sorts of things including my CBM integration.

Error in PREIN scriptlet in rpm package 3 psa-qmail-1.03-cos6.build1200140526.11.x86_64
 

Attachments

  • parallels-installation-log (2).txt
    10.2 KB · Views: 1
Last edited:
Anyone have a fix for this? I think it got screwed up tgrying to install Atomic Rocket Turtle Qmail-Scanner and hasn't been the same since.

Can install postfix (but insists on using qmail-inject) but when I try to go back to qmail I get the prein scriptlet error.
 
error: %pre(psa-qmail-3:1.03-cos6.build1200140526.11.x86_64) scriptlet failed, exit status 1

Anyone know how to fix this so i can reinstall qmail?
 
Back
Top