When try to install open social through composer its giving below error
Starting Drupal installation. This takes a while. Consider using the --notify global option. [ok]
Drupal\Core\Extension\MissingDependencyException: Unable to install modules gvbo due to missing modules gvbo. in /opt/init/open_social/public_html/hello/html/core/lib/Drupal/Core/Extension/ModuleInstaller.php:90 [error]
Stack trace:
#0 /opt/init/open_social/public_html/hello/html/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install(Array, true)
#1 /opt/init/open_social/public_html/hello/html/profiles/contrib/social/social.profile(401): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array)
#2 /opt/init/open_social/public_html/hello/html/core/includes/batch.inc(294): _social_install_module_batch(Array, 'gvbo', Array)
#3 /opt/init/open_social/public_html/hello/html/core/includes/form.inc(880): _batch_process()
#4 /opt/init/open_social/public_html/hello/html/core/includes/install.core.inc(666): batch_process(Object(Drupal\Core\Url), Object(Drupal\Core\Url))
#5 /opt/init/open_social/public_html/hello/html/core/includes/install.core.inc(584): install_run_task(Array, Array)
#6 /opt/init/open_social/public_html/hello/html/core/includes/install.core.inc(125): install_run_tasks(Array, NULL)
#7 phar:///usr/local/bin/drush/includes/drush.inc(726): install_drupal(Object(Composer\Autoload\ClassLoader), Array)
#8 phar:///usr/local/bin/drush/includes/drush.inc(711): drush_call_user_func_array('install_drupal', Array)
#9 phar:///usr/local/bin/drush/commands/core/drupal/site_install.inc(80): drush_op('install_drupal', Object(Composer\Autoload\ClassLoader), Array)
#10 phar:///usr/local/bin/drush/commands/core/site_install.drush.inc(247): drush_core_site_install_version('social', Array)
#11 phar:///usr/local/bin/drush/includes/command.inc(366): drush_core_site_install('social')
#12 phar:///usr/local/bin/drush/includes/command.inc(217): _drush_invoke_hooks(Array, Array)
#13 phar:///usr/local/bin/drush/includes/command.inc(185): drush_command('social')
#14 phar:///usr/local/bin/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#15 phar:///usr/local/bin/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#16 phar:///usr/local/bin/drush/includes/startup.inc(325): drush_main()
#17 phar:///usr/local/bin/drush/drush(114): drush_startup(Array)
#18 /usr/local/bin/drush(10): require('phar:///usr/loc...')
#19 {main}
Previously it has failed in applying some patches
Applying patches for drupal/core
https://www.drupal.org/files/issues/color-optional-html-preview-2844190-2.patch (Color module html preview optional)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/color-optional-html-preview-2844190-2.patch
https://www.drupal.org/files/issues/2018-10-26/2528214-47.patch (Restrict images to this site blocks image style derivatives)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-10-26/2528214-47.patch
https://www.drupal.org/files/issues/2018-10-01/2599228-SQL_error_on_content_creation-78_0.patch (Fix SQL error when importing translations)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-10-01/2599228-SQL_error_on_content_creation-78_0.patch
https://www.drupal.org/files/issues/get-commented-entity-2580551.52.patch (Optimize getCommentedEntity())
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/get-commented-entity-2580551.52.patch
https://www.drupal.org/files/issues/drupal-994360-74-states-checkboxes-checked.patch (#states cannot check/uncheck 'radios' and 'checkboxes' elements)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/drupal-994360-74-states-checkboxes-checked.patch
https://www.drupal.org/files/issues/2018-10-17/drupal-3007424-2-Multiple-usages-of-FieldPluginBase-getEntity.patch (Multiple usages of FieldPluginBase::getEntity do not check for NULL, leading to WSOD)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-10-17/drupal-3007424-2-Multiple-usages-of-FieldPluginBase-getEntity.patch
- Installing drupal/url_embed (1.0.0-alpha1): Loading from cache
- Applying patches for drupal/url_embed
https://www.drupal.org/files/issues/url_embed_WSOD_convert_url_to_embed-2871744-5.patch (WSOD if wrong url or network unavailable)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/url_embed_WSOD_convert_url_to_embed-2871744-5.patch
https://www.drupal.org/files/issues/2018-03-16/url_embed-caching-layer-2867668-17.patch (Improve performance for embeds)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-03-16/url_embed-caching-layer-2867668-17.patch
https://www.drupal.org/files/issues/2018-03-16/url_embed_translate_dialog_title-2953591-2.patch (Translate dialog title)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-03-16/url_embed_translate_dialog_title-2953591-2.patch
- Installing drupal/swiftmailer (1.0.0-beta2): Loading from cache
- Applying patches for drupal/swiftmailer
https://www.drupal.org/files/issues/2018-03-26/2948607-fix-filter-format-1.patch (Fix missing filter_format after update to beta2)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-03-26/2948607-fix-filter-format-1.patch
- Installing drupal/private_message (1.2.0): Loading from cache
- Applying patches for drupal/private_message
https://www.drupal.org/files/issues/2018-06-08/2978324-getthreads-sort-order-2.patch (Private message unread messages fix)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-06-08/2978324-getthreads-sort-order-2.patch
https://www.drupal.org/files/issues/2019-02-05/private_message-message_count-2977310-8_0.patch (Own send messages are shown as new messages)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2019-02-05/private_message-message_count-2977310-8_0.patch
- Installing drupal/message (1.0.0-rc2): Loading from cache
- Applying patches for drupal/message
https://www.drupal.org/files/issues/2018-09-16/undefined-index-value-3000026-2.patch (Notice: Undefined index: value in MessageTemplate->getText())
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-09-16/undefined-index-value-3000026-2.patch
- Installing drupal/like_and_dislike (1.0.0-alpha2): Loading from cache
- Applying patches for drupal/like_and_dislike
https://www.drupal.org/files/issues/2848080-2-preview-fails-on-node.patch (Fix preview on node)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2848080-2-preview-fails-on-node.patch
- Installing drupal/crop (1.5.0): Loading from cache
- Applying patches for drupal/crop
https://www.drupal.org/files/issues/2018-12-16/2830768-crop-automated_crop_integration-45.patch (Automated crop integration)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-12-16/2830768-crop-automated_crop_integration-45.patch
- Installing drupal/image_widget_crop (2.2.0): Loading from cache
- Applying patches for drupal/image_widget_crop
https://www.drupal.org/files/issues/2019-02-13/3032584-verticaltabs-theme-override-removal-2.patch (Remove theme function override for verticalTabs)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2019-02-13/3032584-verticaltabs-theme-override-removal-2.patch
- Installing drupal/group (1.0.0-rc2): Loading from cache
- Applying patches for drupal/group
https://www.drupal.org/files/issues/add-computed-field-without-FieldItemListComputedInterface-2718195-34.patch (Add computed field for Group reference)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/add-computed-field-without-FieldItemListComputedInterface-2718195-34.patch
https://www.drupal.org/files/issues/group-2943564-2.patch (Add permission to view group overview)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/group-2943564-2.patch
https://www.drupal.org/files/issues/2018-12-18/vbo-and-group-permission-3020883-5.patch (Use VBO together with group permission)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-12-18/vbo-and-group-permission-3020883-5.patch
https://www.drupal.org/files/issues/2018-12-19/group-2774827-41-gnode-tokens.patch (Ability to use group tokens in node context)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-12-19/group-2774827-41-gnode-tokens.patch
- Installing drupal/flag (4.0.0-alpha3): Loading from cache
- Applying patches for drupal/flag
https://www.drupal.org/files/issues/2723703_31.patch (Add relationship to flagged entities when Flagging is base table)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2723703_31.patch
- Installing drupal/bootstrap (3.17.0): Loading from cache
- Applying patches for drupal/bootstrap
https://www.drupal.org/files/issues/2018-12-19/dropdown-without-default-button-3021413-2.patch (Dropdown toggle variable ignored when using links__dropbutton)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2018-12-19/dropdown-without-default-button-3021413-2.patch
https://www.drupal.org/files/issues/2019-01-24/3027569-8.x-3.x-8.patch (JSDeliver issues unsupported operand types)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2019-01-24/3027569-8.x-3.x-8.patch
Comments
Comment #2
sanoopuio commentedComment #3
sanoopuio commentedEven the manual installation not working , any one tried installing it recently?

Comment #4
ronald1993 commentedYou need to install those modules through composer for it to work.
Try this command and then try again on the bottom of the message:
composer require php-http/curl-client:^1.6 guzzlehttp/psr7 php-http/message:^1.4 happyr/linkedin-api-client:^1.0 facebook/graph-sdk google/apiclient abraham/twitteroauth commerceguys/addressing lsolesen/pel
Comment #5
sanoopuio commented#4 worked for the manual installtion. Thanks very much.
I would like to keep this ticket open till the composer installtion is solved
Comment #6
ronald1993 commentedFor me I also had to copy the libraries folder from the Composer installation into the manual installation in order to resolve some console errors found after the installation. If you get them too, try that.
Comment #7
ronaldtebrake commentedHi guys,
Great you're helping out in here :)
As for the composer installation, we do this on a daily base so I'm fairly sure it's still working.
After checking your logs it looks like your composer installation didn't work because of a missing patch.
This is a module that gets installed by a patch. Without this module Open Social won't work. So make sure you check your composer installation process to see if everything gets a green light.
As per documentation here: https://www.drupal.org/docs/8/distributions/open-social/installing-and-u...
Comment #8
sanoopuio commentedThanks @ronaldtebrake. I agree with you its wokring as required. It was my bad (https://stackoverflow.com/questions/24821431/git-apply-patch-fails-silen...)
Comment #9
ronaldtebrake commentedNo problemo, glad to hear it works and thanks for sharing the article!
Comment #10
orkutmuratyilmazbefore installation, please consider typing the command below:
yum install patchComment #11
bas123 commentedHi, I have been getting similar issues and wonder if ronaldtebrake or someone else could pick through this session and offer some assistance!
Following this I attempted to install via browser "install.php"
Resulting in :
system requirements page for more information.'; exit; } // Initialize the autoloader. $class_loader = require_once $root_path . '/autoload.php'; // If OPCache is in use, ensure opcache.save_comments is enabled. if (OpCodeCache::isEnabled() && !ini_get('opcache.save_comments')) { print 'Systems with OPcache installed must have opcache.save_comments enabled.'; exit(); } // Start the installer. require_once $root_path . '/core/includes/install.core.inc'; install_drupal($class_loader);I should add that I did confirm that "enable-patching": true was in the composer.json
Comment #12
theWasp commentedHi
I have experienced more times, that composer wouldnt install drupal 8 right. Latest I tried to install the varbase distribution. Everything went right, except from the core files.
How can I make that up? Can I via composer make sure, that just the core files are downloaded and gets in their right place?
Regards, Peter
Comment #13
Gwylan Scheeren commentedFor me the issue was solved by making sure
patchwas installed:sudo apt-get update && sudo apt-get install patchafter that composer install and subsequent patching finished with no errors
Comment #14
bas123 commented@Gwylan Scheeren,
Which patch are you referring to and what versions of Drupal and Open Social, please?