TheDMSGroup / mautic-contact-client

Create custom integrations without writing code, like having your own Zapier.
GNU General Public License v3.0
95 stars 33 forks source link

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

Open martinstr opened 4 years ago

martinstr commented 4 years ago

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

Mautic version 2.15.3

heathdutton commented 4 years ago

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

martinstr commented 4 years ago

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 commented 4 years ago

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

martinstr commented 4 years ago

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

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

pavel-janicek commented 4 years ago
 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

  - git@github.com:dropbox/dropbox-sdk-php.git
    Cloning into 'C:\Users\janicpav\Dropbox\pluginy\pokusny\vendor\dropbox\dropbox-sdk'...
    git@github.com: 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 commented 4 years ago
 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

  - git@github.com:dropbox/dropbox-sdk-php.git
    Cloning into 'C:\Users\janicpav\Dropbox\pluginy\pokusny\vendor\dropbox\dropbox-sdk'...
    git@github.com: 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 commented 4 years ago

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

thegarty commented 4 years ago

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

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 commented 4 years ago

Has there been any progress on this?