• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 Installing extensions

SN1P3S

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian V. 18.0.45
Hi, I have a problem when installing the Grafana/Ruby extension.
When installing, I get the following error message:
  • The execution of post-install.php has failed with the following message:
  • [2022-07-16 18:01:21.624] 152831:62d2fcf197bf1 ERR [panel] Execution installer has failed with exit code 1, stdout: , stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
  • stdout:
  • stderr:E: The repository 'Index of /RUBY_0.0.2 jammy Release' does not have a Release file.
  • W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: http://autoinstall.plesk.com/PMM_0.1.11/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: http://autoinstall.plesk.com/pool/PSA_18.0.45_9186/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: https://mirror.docker.ru/mariadb/repo/10.5/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

  • exit status 1
  • :
  • 0: /opt/psa/admin/plib/pm/ApiCli.php:257
  • pm_ApiCli::filterResult(string 'installer', integer '1', string '', string 'ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zer...', integer '5')
  • 1: /opt/psa/admin/plib/pm/ApiCli.php:247
  • pm_ApiCli::execWithPipes(string 'installer', string ''/opt/psa/admin/bin/modules/ruby/installer' ', integer '5', array)
  • 2: /opt/psa/admin/plib/pm/ApiCli.php:106
  • pm_ApiCli::callSbin(string 'installer')
  • 3: /opt/psa/admin/plib/modules/ruby/scripts/post-install.php:4
  • ERROR: pm_Exception_ResultException: Execution installer has failed with exit code 1, stdout: , stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
  • stdout:
  • stderr:E: The repository 'Index of /RUBY_0.0.2 jammy Release' does not have a Release file.
  • W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: http://autoinstall.plesk.com/PMM_0.1.11/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: http://autoinstall.plesk.com/pool/PSA_18.0.45_9186/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: https://mirror.docker.ru/mariadb/repo/10.5/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

  • exit status 1
  • (ApiCli.php:257)
I tried finding a solution but can't get find a solution, maybe someone here knows one :)
 
The warning message is caused by a missing or corrupted plesk.gpg file in /etc/apt/trusted.gpg.d

It is possible to re-install the key running the following command:

Code:
# curl -s https://autoinstall.plesk.com/plesk.gpg | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/plesk.gpg --import && chown _apt /etc/apt/trusted.gpg.d/plesk.gpg
 
Thank you for your answer,
Installing Grafana worked after running the command! But the Ruby extension is still not installing and getting the following msg:
  • The execution of post-install.php has failed with the following message:
  • [2022-07-18 14:42:33.665] 247355:62d57159a1d1d ERR [panel] Execution installer has failed with exit code 1, stdout: , stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
  • stdout:
  • stderr:E: The repository 'Index of /RUBY_0.0.2 jammy Release' does not have a Release file.
  • W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: https://mirror.docker.ru/mariadb/repo/10.5/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

  • exit status 1
  • :
  • 0: /opt/psa/admin/plib/pm/ApiCli.php:257
  • pm_ApiCli::filterResult(string 'installer', integer '1', string '', string 'ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zer...', integer '5')
  • 1: /opt/psa/admin/plib/pm/ApiCli.php:247
  • pm_ApiCli::execWithPipes(string 'installer', string ''/opt/psa/admin/bin/modules/ruby/installer' ', integer '5', array)
  • 2: /opt/psa/admin/plib/pm/ApiCli.php:106
  • pm_ApiCli::callSbin(string 'installer')
  • 3: /opt/psa/admin/plib/modules/ruby/scripts/post-install.php:4
  • ERROR: pm_Exception_ResultException: Execution installer has failed with exit code 1, stdout: , stderr: ERROR:__main__:Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100
  • stdout:
  • stderr:E: The repository 'Index of /RUBY_0.0.2 jammy Release' does not have a Release file.
  • W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  • W: https://mirror.docker.ru/mariadb/repo/10.5/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

  • exit status 1
  • (ApiCli.php:257)
And when I try to apt update something using SSH, I see the message:
E: The repository 'Index of /RUBY_0.0.2 jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://mirror.docker.ru/mariadb/repo/10.5/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
 
Back
Top