• 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.

Problem to upgrade Plesk v11.5.30 to 12.0.18

Guillaume

New Pleskian
Hello everyone,

I just tried to upgrade my Plesk to v12.0.18, but it didn't work. I got this error in the log:
FATAL: Could not load /lib/modules/2.6.32-042stab111.11/modules.dep: No such file or directory


Here is the full log :
Code:
Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
pp12.0.18-bootstrapper
0 upgraded, 1 newly installed, 0 to remove and 286 not upgraded.
1 not fully installed or removed.
Need to get 165 kB of archives.
After this operation, 786 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
pp12.0.18-bootstrapper
Authentication warning overridden.
Get:1 http://autoinstall.plesk.com/ubuntu/PSA_12.0.18/ precise/all pp12.0.18-bootstrapper amd64 12.0.18-ubuntu12.04.build1200150817.13 [165 kB]
Fetched 165 kB in 1s (156 kB/s)
Selecting previously unselected package pp12.0.18-bootstrapper.
(Reading database ... 96839 files and directories currently installed.)
Unpacking pp12.0.18-bootstrapper (from .../pp12.0.18-bootstrapper_12.0.18-ubuntu12.04.build1200150817.13_amd64.deb) ...
Setting up iptables-persistent (0.5.3ubuntu2) ...
FATAL: Could not load /lib/modules/2.6.32-042stab111.11/modules.dep: No such file or directory
dpkg: error processing iptables-persistent (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up pp12.0.18-bootstrapper (12.0.18-ubuntu12.04.build1200150817.13) ...
Errors were encountered while processing:
iptables-persistent
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

I had some component to upgrade too. I got the same FATAL line, but now It says that all components are up to date. So I guess it worked for them. But it's not working to upgrade to Plesk 12.0.12.

After the log, I still can login to plesk 11, and all the websites are working correctly, but Plesk is not upgraded.
Is there something to do to avoid this error ?

Thank you very much for your help.
 
File /lib/modules/2.6.32-042stab111.11/modules.dep is a part of Linux kernel and it is not related to Plesk. Check and fix your OS installation.
 
Hello,

Thank you for your fast answer.
I found that the recommended Ubuntu version is 14, so I upgraded from 12 to 14 LTS successfully.
After the upgrade, all the website hosted on the server shows "502 Bad gateway" / nginx, however I can access the Plesk 11 web interface on port 8443.

So I tried to upgrade again, and it's not working again, but with another error :

Code:
Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libboost-iostreams1.46.1 libclass-isa-perl libldns1 libopendkim7
libswitch-perl libsyslog-ng-3.3.4
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
pp12.0.18-bootstrapper
1 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
4 not fully installed or removed.
Need to get 136 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
pp12.0.18-bootstrapper
Authentication warning overridden.
Get:1 http://autoinstall.plesk.com/ubuntu/PSA_12.0.18/ trusty/all pp12.0.18-bootstrapper amd64 12.0.18-ubuntu14.04.build1200150817.13 [136 kB]
Fetched 136 kB in 0s (4666 kB/s)
(Reading database ... 102109 files and directories currently installed.)
Preparing to unpack .../pp12.0.18-bootstrapper_12.0.18-ubuntu14.04.build1200150817.13_amd64.deb ...
Unpacking pp12.0.18-bootstrapper (12.0.18-ubuntu14.04.build1200150817.13) over (12.0.18-ubuntu12.04.build1200150817.13) ...
Setting up iptables-persistent (0.5.3ubuntu2) ...
dpkg: error processing package iptables-persistent (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up apache2 (2.4.7-1ubuntu4.6) ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
php_cgi_wrapper.conf
zz010_psa_httpd.conf
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/aclr.load: API module structure 'aclr_module' in file /usr/lib/apache2/modules/mod_aclr.so is garbled - expected signature 41503234 but saw 41503232 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing package apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2 (= 2.4.7-1ubuntu4.6); however:
Package apache2 is not configured yet.

dpkg: error processing package apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2 (>= 2.4); however:
Package apache2 is not configured yet.

dpkg: error processing package libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
Setting up pp12.0.18-bootstrapper (12.0.18-ubuntu14.04.build1200150817.13) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
iptables-persistent
apache2
apache2-mpm-prefork
libapache2-mod-php5
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

Do you have any idea why I get this error, and how I can fix it ?
And is there any "repair" command in plesk 11 to fix the 502 Bad Gateway error ?

Thank you very much
 
Hello again,

I just found a KB to fix the 502 Bad Gateway : http://kb.odin.com/en/123735
but it's not working.

When I run : /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

I get this :
Code:
root@mail:~# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PHP Fatal error:  Call to a member function deleteAdditionalConfigFiles() on a non-object in /opt/psa/admin/plib/api-common/Httpdmng.php on line 148

ANy idea ?
 
Then I found this KB : http://kb.odin.com/en/122436
that explain how to fix the previous problem with httpdmng --reconfigure-all, but the fix is not working too...

When I follow the KB, at the last step, when I need to rerun the plesk auto installer, I get this error :

Code:
root@mail:/etc/apt# /usr/local/psa/admin/sbin/autoinstaller
Doing restart of Parallels Installer...

BUSY: Update operation was locked by another update process.

Thank you in advance for your help
 
Finally I restarted the server and the autoinstaller is running.
It detected that Plesk is installed and ask me to upgrade it, it downloaded some additional packages, but at the end I have the same kind of error.

Code:
Preparing to unpack .../php5-ioncube-loader_4.6.0-14060919_amd64.deb ...
Unpacking php5-ioncube-loader (4.6.0-14060919) over (4.2.2-13072218) ...
/var/lib/dpkg/info/php5-ioncube-loader.postrm: 3: [: Illegal number: 0upgrade
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up apache2 (2.4.7-1ubuntu4.6) ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
php_cgi_wrapper.conf
zz010_psa_httpd.conf
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/aclr.load: API module structure 'aclr_module' in file /usr/lib/apache2/modules/mod_aclr.so is garbled - expected signature 41503234 but saw 41503232 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing package apache2 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
 libapache2-mod-php5 depends on apache2 (>= 2.4); however:
  Package apache2 is not configured yet.

dpkg: error processing package libapache2-mod-php5 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 apache2
 libapache2-mod-php5
E: Sub-process /usr/bin/dpkg returned an error code (1)

ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

And this time I have no more idea... since I come back at the initial error in another way.

Please help me :)
THank you very much
 
I suggest you upgrade to latest Plesk 12.5 version where powerful self-repair tool has been implemented for fixing different problems.
 
Thank you for your help.
Yesterday I had to reset the server and reinstall the OS and Plesk 12.0.18 from scratch.
Then I restored all the backups and now everything is fine.

I'm happy to know there is a self repair tool for the next version :)
 
Back
Top