Applicable to:
- Plesk for Linux
Symptoms
Note: The article is applicable only to Plesk servers with Ubuntu operating system.
-
Plesk update or upgrade fails with one of the following errors:
CONFIG_TEXT: E: Fatal, conflicts violated plesk-control-panel:amd64
OR
CONFIG_TEXT: The following components will be removed because they conflict with the components you selected to install or require the components you selected to remove:ModSecurity (modsecurity)
Installing packages
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. -
No CSS or JS files are loaded on the Plesk login page with the below error in the log file
/var/log/sw-cp-server/error_log
:CONFIG_TEXT: [error] 985#0: *3 open() "/opt/psa/admin/htdocs/cp/theme/css/main.css" failed (2: No such file or directory), client: 203.0.113.2, server: , request: "GET /cp/theme/css/main.css?1581674967 HTTP/1.1", host: "203.0.113.3:8443", referrer: "https://203.0.113.3:8443/login_up.php"
[error] 20525#0: *3 open() "/opt/psa/admin/htdocs/cp/javascript/main.js" failed (2: No such file or directory), client: 203.0.113.2, server: , request: "GET /cp/javascript/main.js?1581674967 HTTP/1.1", host: "203.0.113.3:8443", referrer: "https://203.0.113.3:8443/login_up.php"
[error] 20525#0: *18 open() "/opt/psa/admin/htdocs/ui-library/plesk-ui-library.min.js" failed (2: No such file or directory) -
There are a number of not configured Plesk packages:
# dpkg -l | grep -v "ii" | egrep "plesk|psa" | wc -l
43 -
The command
dpkg --configure -a
stucks at the stepSetting up plesk-dovecot-imap-driver
:# dpkg --configure -a
Setting up psa-locale-base-en-us (17.8.11-ubuntu16.04.build1708181211.16) ...
Setting up libgs9-common (9.26~dfsg+0-0ubuntu0.16.04.12) ...
Setting up cloud-guest-utils (0.27-0ubuntu25.1) ...
Setting up plesk-php70 (7.0.33-ubuntu16.04.18120713) ...
Setting up plesk-dovecot-imap-driver (17.8.11-ubuntu16.04.build1708190903.21)In the process tree, it can be seen that the process is stuck at the command
/usr/bin/python3 /usr/sbin/aa-status --enabled
:# ps -ef ww
21390 pts/2 S+ 0:00 | \_ dpkg --configure -a
21396 pts/2 S+ 0:00 | \_ /bin/bash -hB /var/lib/dpkg/info/plesk-dovecot-imap-driver.postinst configure 17.8.11-ubuntu16.04.build1708180920.18
21423 pts/2 S+ 0:00 | \_ /bin/bash -hB /var/lib/dpkg/info/plesk-dovecot-imap-driver.postinst configure 17.8.11-ubuntu16.04.build1708180920.18
21434 pts/2 D+ 0:00 | \_ /usr/bin/python3 /usr/sbin/aa-status --enabled
Cause
Update stucks on the AppArmor-related operation.
Comments
0 comments
Please sign in to leave a comment.