I executed the command:
composer create-project goalgorilla/social_template:dev-master social --no-interaction

After running for a while, I received the following error:

Patches already gathered. Skipping
  - Installing drupal/r4032login (dev-1.x 391f10d) Cloning 391f10d69b from cache

                                                                               
  [RuntimeException]                                                           
  Failed to execute git checkout '391f10d69b9b8c466a2fddac2a6b99f1289e7781' -  
  - && git reset --hard '391f10d69b9b8c466a2fddac2a6b99f1289e7781' --          
  fatal: Not a git repository (or any of the parent directories): .git         
                                                                               

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

Here's the full results:

Installing goalgorilla/social_template (dev-master 1f66a3b01d98b69db1c32312aa3a6bd29f362688)
  - Installing goalgorilla/social_template (dev-master master) Cloning master from cache
Created project in social
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 98 installs, 0 updates, 0 removals
  - Installing drupal-composer/drupal-scaffold (2.2.0) Loading from cache
  - Installing cweagans/composer-patches (1.6.0) Loading from cache
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Installing composer/installers (v1.2.0) Loading from cache
Patches already gathered. Skipping
  - Installing clue/stream-filter (v1.3.0) Loading from cache
Patches already gathered. Skipping
  - Installing psr/http-message (1.0.1) Loading from cache
Patches already gathered. Skipping
  - Installing php-http/message-factory (v1.0.2) Loading from cache
Patches already gathered. Skipping
  - Installing php-http/message (1.5.0) Loading from cache
Patches already gathered. Skipping
  - Installing php-http/discovery (1.2.1) Loading from cache
Patches already gathered. Skipping
  - Installing php-http/promise (v1.0.0) Loading from cache
Patches already gathered. Skipping
  - Installing php-http/httplug (v1.1.0) Loading from cache
Patches already gathered. Skipping
  - Installing php-http/curl-client (v1.7.0) Loading from cache
Patches already gathered. Skipping
  - Installing league/csv (7.2.0) Loading from cache
Patches already gathered. Skipping
  - Installing happyr/linkedin-api-client (1.0.0) Loading from cache
Patches already gathered. Skipping
  - Installing guzzlehttp/psr7 (1.4.1) Loading from cache
Patches already gathered. Skipping
  - Installing guzzlehttp/promises (v1.3.1) Loading from cache
Patches already gathered. Skipping
  - Installing guzzlehttp/guzzle (6.2.3) Loading from cache
Patches already gathered. Skipping
  - Installing phpseclib/phpseclib (2.0.4) Loading from cache
Patches already gathered. Skipping
  - Installing psr/log (1.0.2) Loading from cache
Patches already gathered. Skipping
  - Installing monolog/monolog (1.22.1) Loading from cache
Patches already gathered. Skipping
  - Installing firebase/php-jwt (v4.0.0) Loading from cache
Patches already gathered. Skipping
  - Installing google/apiclient-services (v0.9) Loading from cache
Patches already gathered. Skipping
  - Installing psr/cache (1.0.1) Loading from cache
Patches already gathered. Skipping
  - Installing google/auth (v0.11.1) Loading from cache
Patches already gathered. Skipping
  - Installing google/apiclient (v2.1.2) Loading from cache
Patches already gathered. Skipping
  - Installing facebook/graph-sdk (5.4.4) Loading from cache
Patches already gathered. Skipping
  - Installing zendframework/zend-stdlib (3.1.0) Loading from cache
Patches already gathered. Skipping
  - Installing zendframework/zend-escaper (2.5.2) Loading from cache
Patches already gathered. Skipping
  - Installing zendframework/zend-feed (2.7.0) Loading from cache
Patches already gathered. Skipping
  - Installing zendframework/zend-diactoros (1.3.10) Loading from cache
Patches already gathered. Skipping
  - Installing twig/twig (v1.32.0) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/yaml (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/polyfill-mbstring (v1.3.0) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/translation (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/validator (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing ircmaxell/password-compat (v1.0.4) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/polyfill-php55 (v1.3.0) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/serializer (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/routing (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/polyfill-php54 (v1.3.0) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/http-foundation (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/psr-http-message-bridge (v0.2) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/process (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/polyfill-iconv (v1.3.0) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/debug (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/event-dispatcher (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/http-kernel (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/dependency-injection (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/console (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/polyfill-apcu (v1.3.0) Loading from cache
Patches already gathered. Skipping
  - Installing symfony/class-loader (v2.8.18) Loading from cache
Patches already gathered. Skipping
  - Installing symfony-cmf/routing (1.4.0) Loading from cache
Patches already gathered. Skipping
  - Installing stack/builder (v1.0.4) Loading from cache
Patches already gathered. Skipping
  - Installing paragonie/random_compat (v2.0.10) Loading from cache
Patches already gathered. Skipping
  - Installing masterminds/html5 (2.2.2) Loading from cache
Patches already gathered. Skipping
  - Installing doctrine/lexer (v1.0.1) Loading from cache
Patches already gathered. Skipping
  - Installing egulias/email-validator (1.2.14) Loading from cache
Patches already gathered. Skipping
  - Installing easyrdf/easyrdf (0.9.1) Loading from cache
Patches already gathered. Skipping
  - Installing doctrine/inflector (v1.1.0) Loading from cache
Patches already gathered. Skipping
  - Installing doctrine/collections (v1.4.0) Loading from cache
Patches already gathered. Skipping
  - Installing doctrine/cache (v1.6.1) Loading from cache
Patches already gathered. Skipping
  - Installing doctrine/annotations (v1.2.7) Loading from cache
Patches already gathered. Skipping
  - Installing doctrine/common (v2.5.3) Loading from cache
Patches already gathered. Skipping
  - Installing composer/semver (1.4.2) Loading from cache
Patches already gathered. Skipping
  - Installing asm89/stack-cors (1.0.0) Loading from cache
Patches already gathered. Skipping
  - Installing drupal/core (8.2.7) Loading from cache
  - Applying patches for drupal/core
    https://www.drupal.org/files/issues/2724283-block-22.patch (Fix region string issue)
    https://www.drupal.org/files/issues/2369119-120.patch (Make sure exposed filters work)
    https://www.drupal.org/files/issues/728702-163.patch (Redirect to install.php on empty DB)
    https://www.drupal.org/files/issues/2687773-18-Cleanup-user-input-for-checkboxes-8.2.patch (Clean up user input for exposed checkboxes)
    https://www.drupal.org/files/issues/2744069-5-views-in-queries.patch (views_query_views_alter does not handle IN queries)
    https://www.drupal.org/files/issues/color-optional-html-preview-2844190-2.patch (Color module html preview optional)

Patches already gathered. Skipping
  - Installing drupal/votingapi (3.0.0-alpha2) Loading from cache
Patches already gathered. Skipping
  - Installing drupal/token (1.0.0-rc1) Loading from cache
Patches already gathered. Skipping
  - Installing hybridauth/hybridauth (v2.8.2) Loading from cache
Patches already gathered. Skipping
  - Installing drupal/social_api (1.0.0-beta2) Loading from cache
Patches already gathered. Skipping
  - Installing drupal/social_auth (1.0.0-beta3) Loading from cache
Patches already gathered. Skipping
  - Installing drupal/search_api (1.0.0-beta4) Loading from cache
Patches already gathered. Skipping
  - Installing drupal/r4032login (dev-1.x 391f10d) Cloning 391f10d69b from cache

                                                                               
  [RuntimeException]                                                           
  Failed to execute git checkout '391f10d69b9b8c466a2fddac2a6b99f1289e7781' -  
  - && git reset --hard '391f10d69b9b8c466a2fddac2a6b99f1289e7781' --          
  fatal: Not a git repository (or any of the parent directories): .git         
                                                                               

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

Comments

Logan Bear created an issue. See original summary.

onejam’s picture

This is how i did it. Change directory to home and download the composer.json file:

cd ~
wget https://github.com/goalgorilla/social_template/blob/master/composer.json

Then type and run this command:

composer install

And waited for all the files to be downloaded. During this time, i did get some warning messages such as:

Deprecation Notice: The callback cweagans\Composer\Patches::postInstall declared at /home/username/vendor/cweagans/composer-patches/src/Patches.php accepts a Composer\Script\PackageEvent but post-package-install events use a Composer\Installer\PackageEvent instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in

But it seems to carry on installing anyway.

It installs everything into /public_html folder.

Finally, i created a new DB and just go to my web browser and run the Drupal installation setup to complete the process.

ronaldtebrake’s picture

Sounds like a common composer issue

try running the command with

--prefered-dist

so:

composer create-project goalgorilla/social_template:dev-master kaas --no-interaction --prefer-dist

Also make sure you regularly update your composer with composer self-update

ronaldtebrake’s picture

Category: Bug report » Support request
Priority: Critical » Major

Any luck? Some more information on installation issues that might help you out:

https://www.drupal.org/node/2832097

achikas’s picture

I also tryed to download the project with the latest composer.json file.

I get the same [RuntimeException]
Failed to execute git clone --no-checkout 'https://git.drupal.org/project/r4032login' ...

Also tryed to install is with "drush dl social". but when i try to install it, then some address and social auth modules are missing. using the included composer.json there does not download the missing modules.

Is there a out-of-the box solution to get opensocial easy as described installed on my webserver?

Logan Bear’s picture

I ran a new test, with and without --prefer-dist switch. It was successful both times. So, whatever problem I had, it's be fixed. I even cleared the cache, just in case.

Kingdutch’s picture

Status: Active » Fixed

Marking as fixed as per #6

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.