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

Question Ruby installation failed on Onyx

AlexAlex

New Pleskian
Hi!
Few days ago I upgraded Plesk 12 to Onyx 17.5.3. I tried install Ruby extension for Onyx. But, installation failed with message:

  • Execution of /opt/psa/admin/plib/modules/ruby/scripts/post-install.php failed with exit code 1 and the output:
  • [2017-07-19 20:41:40] ERR [panel] Execution installer has failed with exit code 1, stdout: , stderr: W: Failed to fetch Index of /PSA_12.5.30/dists/etch/all/binary-amd64/Packages 404 Not Found
  • W: Failed to fetch Index of /PSA_12.5.30/dists/etch/all/binary-i386/Packages 404 Not Found
  • E: Some index files failed to download. They have been ignored, or old ones used instead.
  • ERROR:root:Command '['apt-get', '-qq', 'update']' returned non-zero exit status 100
  • exit status 1
  • :
  • 0: /opt/psa/admin/plib/pm/ApiCli.php:150
  • pm_ApiCli::_filterResult(string 'installer', integer '1', string '', string 'W: Failed to fetch Index of /PSA_12.5.30/dists/etch/all/binary-amd64/Packages 404 Not Found
  • W: Failed to fetch Index of /PSA_12.5.30/dists/etch/all/binary-i386/Packages 404 Not Found
  • E: Some index files failed to download. They have been ignored, or old ones used instead.
  • ERROR:root:Command '['apt-get', '-qq', 'update']' returned non-zero exit status 100
  • exit status 1
  • ', integer '5')
  • 1: /opt/psa/admin/plib/pm/ApiCli.php:143
  • pm_ApiCli::_execCommand(string 'installer', string ''/opt/psa/admin/bin/modules/ruby/installer' ', integer '5', array)
  • 2: /opt/psa/admin/plib/pm/ApiCli.php:91
  • 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: W: Failed to fetch Index of /PSA_12.5.30/dists/etch/all/binary-amd64/Packages 404 Not Found
  • W: Failed to fetch Index of /PSA_12.5.30/dists/etch/all/binary-i386/Packages 404 Not Found
  • E: Some index files failed to download. They have been ignored, or old ones used instead.
  • ERROR:root:Command '['apt-get', '-qq', 'update']' returned non-zero exit status 100
  • exit status 1
  • (ApiCli.php:150)

Anyway, I see extension as installed. But in extension I don't see list of Rubies and I don't see extension in domain panel.

Passenger server - installed
Ruby support - installed
OS: Debian 'Jessy'

How to install extension without any errors?
 
Hi AlexAlex,

pls. note, that Plesk Onyx ONLY supports Debian 7 ( wheezy ) and Debian 8 ( jessie ). Did you recently updated/upgraded your Debian operating system, as your log states clear, that the plesk installer is looking for Debian 4 ( etch ) packages?

You are able to use as well the option string "--override-os-version 8" within your "plesk installer" command over the command line, to force it to use the Debian 8 ( jessie ) packages.

Example:
Code:
plesk installer --all-versions --override-os-version 8

Pls. make sure to use "apt-get -f install" BEFORE you use the above command. ;)

... and make sure, that you delete/remove/backup ( possible manual created ) sources.lists at "/etc/apt/sources.list.d".​
 
Back
Top