• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved PHP Composer: git clone --mirror 'git@github.com:

JulianDot

Regular Pleskian
In my composer.json i have a line like:
Code:
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/something/zend-expressive-hal"
    }

If i run from Plesk the PHP Composer, i am getting the error :
Code:
Failed to execute git clone --mirror 'git@github.com:somethingl/zend-expressive-hal.git' '/.composer/cache/vcs/git-github.com-something-zend-expressive-hal.git/'

It seem that Plesk is running that command unsing git@ instead of https , which require an exchange of ssh keys.
 
Hello!
As I understand you are trying to install the forked package "zendframework/zend-expressive-hal". Can you provide your "require" section?
Try to use "zendframework/zend-expressive-hal": "~1.3.0" instead of "somethingl/zend-expressive-hal": "~1.3.0" in require section.

Also please read Repositories - Composer
 
Last edited:
We forked that package because is abandoned and we have fixed an issue there ...
That's why we need to call it directly from github

Anyway , it seem that is not a Plesk issue, but the problem is in Composer itself.
If i run composer from command line, is still asking for a github token

Maybe is a good idea of allowing in Plesk's PHP Composer to input a token somewhere, and use it in conjuction with github call ?
 
"We forked that package because is abandoned and we have fixed an issue there ..."
Since you fixed the issue in a separate branch ( your-branch-name for example ) of the forked repository, then this should work: "zendframework/zend-expressive-hal": "dev-your-branch-name" even without editing "repositories" section. You do not need to call the forked repository directly.
Versions and constraints - Composer
 
Last edited:
We managed to solve this one, by running first in CLI composer install,
add the token to github when asked, then rerun it from Plesk

That interactive ' add the token to github" is quite annoying
 
Back
Top