https://github.com/elastic/elasticsearch-php | https://packagist.org/packages/elasticsearch/elasticsearch gone missing.
What happened there?
[RuntimeException]
Failed to clone https://github.com/elastic/elasticsearch-php.git via https, ssh protocols, aborting.
- https://github.com/elastic/elasticsearch-php.git
Cloning into bare repository '/composer/cache/vcs/https---github.com-elastic-elasticsearch-php.git'...
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/elastic/elasticsearch-php.git/'
- [email protected]:elastic/elasticsearch-php.git
Cloning into bare repository '/composer/cache/vcs/https---github.com-elastic-elasticsearch-php.git'...
error: cannot run ssh: No such file or directory
fatal: unable to fork ```
4
Answers
As part of an internal change task, some of our public git repositories hosted under Elastic’s GitHub organisation were marked as private. As a result, when attempting to access these repositories an error may be seen. Our teams are working to restore these with urgency.
See https://status.elastic.co/incidents/9mmlp98klxm1
If you urgently need to deploy the project and cannot wait, use the instruction below as a temporary solution:
composer.json
that satisfies your project dependencies. For example:composer.json
:Replace "path-to-local-elasticsearch" with the actual path to the Elasticsearch package in your project.
By following these steps, Composer will install the package from the specified local path instead of from GitHub. This method allows you to maintain the functionality of packages that depend on
elasticsearch/elasticsearch
, such as Monolog.It seems to be there again 🙌
https://github.com/elastic/elasticsearch-php
Thank you for the fast fixing elastic team!
https://status.elastic.co/incidents/9mmlp98klxm1
All repositories except for Kibana have been changed back to public. GitHub is in the process of restoring forks for those repositories. We are awaiting further input from GitHub Support for the Kibana repository.