• 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

Resolved I can't install the extension

Gerzam73

New Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
Plesk Obsidian Versión 18.0.52
My error:

[2023-05-13 21:08:11.767] 10083:6460509bba77a ERR [extension/grafana] Execution package has failed with exit code 1, stdout: , stderr: ERROR:__main__:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'apt-transport-https', 'ca-certificates']' returned non-zero exit status 100.
stdout: Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20211016ubuntu0.22.04.1).
apt-transport-https is already the newest version (2.4.9).
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php8.1-fpm (8.1.2-1ubuntu2.11) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Job for php8.1-fpm.service failed because the control process exited with error code.
See "systemctl status php8.1-fpm.service" and "journalctl -xeu php8.1-fpm.service" for details.
invoke-rc.d: initscript php8.1-fpm, action "start" failed.
* php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.1-fpm.service; enabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/php8.1-fpm.service.d
`-limit_nofile.conf, respawn.conf
Active: activating (auto-restart) (Result: exit-code) since Sat 2023-05-13 21:08:10 CST; 8ms ago
Docs: man:php-fpm8.1(8)
Process: 12046 ExecStart=/usr/sbin/php-fpm8.1 --nodaemonize --fpm-config /etc/php/8.1/fpm/php-fpm.conf (code=exited, status=78)
Process: 12048 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/8.1/fpm/pool.d/www.conf 81 (code=exited, status=0/SUCCESS)



Thanks foy you help.
Main PID: 12046 (code=exited, status=78)
CPU: 100ms

May 13 21:08:10 Server.Zamora systemd[1]: Failed to start The PHP 8.1 FastCGI Process Manager.
dpkg: error processing package php8.1-fpm (--configure):
installed php8.1-fpm package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of php-fpm:
php-fpm depends on php8.1-fpm; however:
Package php8.1-fpm is not configured yet.

dpkg: error processing package php-fpm (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
php8.1-fpm
php-fpm

stderr:No apport report written because the error message indicates its a followup error from a previous failure.
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks for you help.
 
dpkg: error processing package php-fpm (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
php8.1-fpm
php-fpm
"Dependency problems" does not sound good. Did you try to install or uninstall PHP versions beyond Plesk manually?
 
The problem seems with php 8.1. But you also can’t uninstall or reinstall it.
The whole installer of Plesk is not working. Also the Plesk extensions like Acronis are not longer possible to install.
Always an apache error is happening,
All this happend since the last update of plesk.
Migration from plesk to plesk are broken.
Also an error with sql database and the rights to write user in the database
I already have different tickets with the support
 
Support staff will check it on your system if you allowed the to, and they will eventually fix it. Please report the solution that they came up with here so that the community benefits from it.
 
Problem solved.
I had not installed php 8.1. But the last update to 18.0.52 installed a wrong php 8.1. package which caused all the problems and destroyed the installer systems. you cannot remove it via Plesk.

The support told me following solution:

What I did was to disable this php completely with commands:
# systemctl stop php8.1-fpm.service
# systemctl disable php8.1-fpm.service

After that, installation finished successfully:
 
Back
Top