• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Issue Could not install the Grafana extension

Vorden

New Pleskian
Server operating system version
os_Ubuntu 20.04
Plesk version and microupdate number
Plesk Obsidian v18.0.47_build1800221020.08
Trying to set up Grafana Monitoring seems to have broken something. it gave the message it was broken and to fix installation. When trying to fix it, it kept giving errors. I then removed the extension in Plesk and tried to add it again and now it fails. Any help will be appreciated..

fail.png

Here is the text version of the above.
Could not install the Grafana extension [LIST] [*]The execution of post-install.php has failed with the following message: [*][2022-10-29 11:03:47.142] 3351:635d0893222ea 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 (20211016~20.04.1). [*]apt-transport-https is already the newest version (2.0.9). [*]The following package was automatically installed and is no longer required: [*]grub-pc-bin [*]Use 'apt autoremove' to remove it. [*]0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. [*]1 not fully installed or removed. [*]After this operation, 0 B of additional disk space will be used. [*]Setting up grub-efi-amd64-signed (1.173.2~20.04.1+2.04-1ubuntu47.4) ... [*]Installing grub to /boot/efi. [*]Installing for x86_64-efi platform. [*]grub-install: warning: Internal error. [*]grub-install: error: failed to register the EFI boot entry: Operation not permitted. [*]dpkg: error processing package grub-efi-amd64-signed (--configure): [*]installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1 [*]Errors were encountered while processing: [*]grub-efi-amd64-signed [*] [*]stderr:E: Sub-process /usr/bin/dpkg returned an error code (1) [/LIST] Failed


So now it is showing the extension as installed but when I click on it, it shows this:

2022-10-29_12-09-13.png

If I click on "fix Installation" I get this

2022-10-29_12-09-32.png

Text version of the error is:
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 (20211016~20.04.1). apt-transport-https is already the newest version (2.0.9). The following package was automatically installed and is no longer required: grub-pc-bin Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up grub-efi-amd64-signed (1.173.2~20.04.1+2.04-1ubuntu47.4) ... Installing grub to /boot/efi. Installing for x86_64-efi platform. grub-install: warning: Internal error. grub-install: error: failed to register the EFI boot entry: Operation not permitted. dpkg: error processing package grub-efi-amd64-signed (--configure): installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: grub-efi-amd64-signed stderr:E: Sub-process /usr/bin/dpkg returned an error code (1)
 
From the log, it appears there is something with the OS in general.
The main error here is:

grub-install: error: failed to register the EFI boot entry: Operation not permitted.

It happens while updating the grub package.

Probably, some of these resources might be helpful:

Ubuntu – Grub-install error. failed to register the EFI boot entry: Operation not permitted. mount: /var/lib/grub/esp: mount point does not exist – Unix Server Solutions
Ubuntu Server 20.04 installation fails on grub installation (UEFI mode, Thinkpad X120e)
Ubuntu installer crashes with grub-install /dev/sda failed fatal error

Anyway, I would highly recommend you involve a Linux administrator to investigate this issue further.
 
Back
Top