Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed, reverting ./composer.json to its original content. #246

Open
martinstr opened this issue Mar 11, 2020 · 9 comments
Open

Comments

@martinstr
Copy link

Trying to install this plugin but just get this
Installation failed, reverting ./composer.json to its original content.

Mautic version 2.15.3

@heathdutton
Copy link
Member

That just means something went wrong with composer. Will need more lines of CLI to tell you what happened there.

@martinstr
Copy link
Author

That just means something went wrong with composer. Will need more lines of CLI to tell you what happened there.

Is it possible to just download the files and add it directly to the plugins/MauticContactClientBundle folder without composer?

@heathdutton
Copy link
Member

Theoretically, but you'll have to manually also manually install the dependencies in composer.json of this package.

@martinstr
Copy link
Author

cant really figure out why i get this

`Using version ^2.15 for thedmsgroup/mautic-contact-client-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- thedmsgroup/mautic-contact-client-bundle 2.15.0 requires league/flysystem- dropbox ^1.0 -> satisfiable by league/flysystem-dropbox[1.0.0, 1.0.1, 1.0.2, 1.0 .3, 1.0.4].
- thedmsgroup/mautic-contact-client-bundle 2.15.1 requires league/flysystem- dropbox ^1.0 -> satisfiable by league/flysystem-dropbox[1.0.0, 1.0.1, 1.0.2, 1.0 .3, 1.0.4].
- league/flysystem-dropbox 1.0.0 requires dropbox/dropbox-sdk ~1.1 -> satisf iable by dropbox/dropbox-sdk[v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1. 1.6, v1.1.7].
- league/flysystem-dropbox 1.0.1 requires dropbox/dropbox-sdk ~1.1 -> satisf iable by dropbox/dropbox-sdk[v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1. 1.6, v1.1.7].
- league/flysystem-dropbox 1.0.2 requires dropbox/dropbox-sdk ~1.1 -> satisf iable by dropbox/dropbox-sdk[v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1. 1.6, v1.1.7].
- league/flysystem-dropbox 1.0.3 requires dropbox/dropbox-sdk ~1.1 -> satisf iable by dropbox/dropbox-sdk[v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1. 1.6, v1.1.7].
- league/flysystem-dropbox 1.0.4 requires dropbox/dropbox-sdk ~1.1 -> satisf iable by dropbox/dropbox-sdk[v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1. 1.6, v1.1.7].
- dropbox/dropbox-sdk v1.1.7 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.6 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.5 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.4 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.3 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.2 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.1 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- dropbox/dropbox-sdk v1.1.0 requires ext-curl * -> the requested PHP extens ion curl is missing from your system.
- Installation request for thedmsgroup/mautic-contact-client-bundle ^2.15 -> satisfiable by thedmsgroup/mautic-contact-client-bundle[2.15.0, 2.15.1].

To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
You can also run php --ini inside terminal to see which files are used by PH P in CLI mode.

Installation failed, reverting ./composer.json to its original content.
`

@pavel-janicek
Copy link

 composer require thedmsgroup/mautic-contact-client-bundle
Using version ^2.15 for thedmsgroup/mautic-contact-client-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 15 installs, 0 updates, 0 removals
  - Installing dropbox/dropbox-sdk (v1.1.7): Downloading (failed)    Failed to download dropbox/dropbox-sdk from dist: The "https://api.github.com/repos/dropbox/dropbox-sdk-php/zipball/0f1a178ca9c0271bca6426dde8f5a2241578deae" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing dropbox/dropbox-sdk (v1.1.7): Cloning 0f1a178ca9


  [RuntimeException]
  Failed to clone https://github.com/dropbox/dropbox-sdk-php.git via https, ssh protocols, aborting.

  - https://github.com/dropbox/dropbox-sdk-php.git
    Cloning into 'C:\Users\janicpav\Dropbox\pluginy\pokusny\vendor\dropbox\dropbox-sdk'...
    remote: Repository not found.
    fatal: repository 'https://github.com/dropbox/dropbox-sdk-php.git/' not found

  - [email protected]:dropbox/dropbox-sdk-php.git
    Cloning into 'C:\Users\janicpav\Dropbox\pluginy\pokusny\vendor\dropbox\dropbox-sdk'...
    [email protected]: Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.


require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

@bmiro
Copy link

bmiro commented Apr 22, 2020

 composer require thedmsgroup/mautic-contact-client-bundle
Using version ^2.15 for thedmsgroup/mautic-contact-client-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 15 installs, 0 updates, 0 removals
  - Installing dropbox/dropbox-sdk (v1.1.7): Downloading (failed)    Failed to download dropbox/dropbox-sdk from dist: The "https://api.github.com/repos/dropbox/dropbox-sdk-php/zipball/0f1a178ca9c0271bca6426dde8f5a2241578deae" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing dropbox/dropbox-sdk (v1.1.7): Cloning 0f1a178ca9


  [RuntimeException]
  Failed to clone https://github.com/dropbox/dropbox-sdk-php.git via https, ssh protocols, aborting.

  - https://github.com/dropbox/dropbox-sdk-php.git
    Cloning into 'C:\Users\janicpav\Dropbox\pluginy\pokusny\vendor\dropbox\dropbox-sdk'...
    remote: Repository not found.
    fatal: repository 'https://github.com/dropbox/dropbox-sdk-php.git/' not found

  - [email protected]:dropbox/dropbox-sdk-php.git
    Cloning into 'C:\Users\janicpav\Dropbox\pluginy\pokusny\vendor\dropbox\dropbox-sdk'...
    [email protected]: Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.


require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

I also have the same issue on mautic v2.16.2 freshly installed.

@pavel-janicek
Copy link

Hello @bmiro - I solved the issue by forking this repo and solving dependencies. Try out composer require pavel-janicek/mautic-contact-client-bundle

@thegarty
Copy link

thegarty commented Apr 23, 2020

Hello @bmiro - I solved the issue by forking this repo and solving dependencies. Try out composer require pavel-janicek/mautic-contact-client-bundle

I still get the dropbox SDK issue using this fork, any ideas?

`Package operations: 9 installs, 0 updates, 0 removals

  • Installing phpseclib/phpseclib (2.0.27): Downloading (100%)
  • Installing league/flysystem (1.0.67): Downloading (100%)
  • Installing league/flysystem-sftp (1.0.22): Downloading (100%)
  • Installing dropbox/dropbox-sdk (v1.1.7): Downloading (failed) Failed to download dropbox/dropbox-sdk from dist: The "https://api.github.com/repos/dropbox/dropbox-sdk-php/zipball/0f1a178ca9c0271bca6426dde8f5a2241578deae" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
    Cloning 0f1a178ca9

Installation failed, reverting ./composer.json to its original content.

[RuntimeException]
Failed to execute git clone --no-checkout 'https://:@github.com/dropbox/dropbox-sdk-php.git.git' '/opt/bitnami/apps/mautic/htdocs/vendor/dropbox/dropbox-sdk' && c
d '/opt/bitnami/apps/mautic/htdocs/vendor/dropbox/dropbox-sdk' && git remote add composer 'https://:@github.com/dropbox/dropbox-sdk-php.git.git' && git fetch comp
oser && git remote set-url origin 'https://github.com/dropbox/dropbox-sdk-php.git.git' && git remote set-url composer 'https://github.com/dropbox/dropbox-sdk-php.git.gi
t'

Cloning into '/opt/bitnami/apps/mautic/htdocs/vendor/dropbox/dropbox-sdk'...
git-remote-https: /opt/bitnami/common/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
git-remote-https: /opt/bitnami/common/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
remote: Repository not found.
fatal:***@github.com/dropbox/dropbox-sdk-php.git.git/' not found

require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...
`

@RileySeaburg
Copy link

Has there been any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants