When I run "composer update" to update to Varbase 8.7.4 I am getting the fatal error:

Installing drupal/social_auth_google (2.0.0): Downloading (100%)
- Applying patches for drupal/social_auth_google
https://www.drupal.org/files/issues/2019-02-20/3034353-2.patch (Issue #3034353: Change the Google+ logo to Google accounts as Google shutdown Google+)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2019-02-20/3034353-2.patch

[Exception]
Cannot apply patch Issue #3034353: Change the Google+ logo to Google accounts as Google shutdown Google+ (https://www.drupal.org/f
iles/issues/2019-02-20/3034353-2.patch)!

This stops the update process. As a result, I cannot update to Drupal 8.7.11 and apply other necessary security patches. I don't need social_auth_google and any other social_auth on my site. varbase_auth modulse should be optional (not every site needs social links) and varbase distro should not have it mandatory.

Comments

calmforce created an issue. See original summary.

Joachim Namyslo’s picture

It's right some patches currently fail, but this shouldn't break the whole Update Process.

Here are currently failing patches

This file was automatically generated by Varbase Updater (https://github.com/Vardot/varbase-updater)
Patches failed to apply:

Patch: https://www.drupal.org/files/issues/2019-02-20/3034353-2.patch
Reason: Failed to apply patch
Description: Issue #3034353: Change the Google+ logo to Google accounts as Google shutdown Google+
Package Name: drupal/social_auth_google
Package Path: docroot/modules/contrib/social_auth_google

Patch: https://www.drupal.org/files/issues/2019-02-20/3034353-2.patch
Reason: Failed to apply patch
Description: Issue #3034353: Change the Google+ logo to Google accounts as Google shutdown Google+
Package Name: drupal/social_auth_google
Package Path: docroot/modules/contrib/social_auth_google

Patch: https://www.drupal.org/files/issues/2019-02-20/3034353-2.patch
Reason: Failed to apply patch
Description: Issue #3034353: Change the Google+ logo to Google accounts as Google shutdown Google+
Package Name: drupal/social_auth_google
Package Path: docroot/modules/contrib/social_auth_google

The Google + patch is among them but Varbase is running perfect, still

Joachim Namyslo’s picture

If you like to resolve this

1. recover from backup created by varbase updater
2. uninstall the social auth suite.
3. clear cache
4. re run updater
5. Tell me if you are lucky

Rajab Natshah’s picture

Thank you Vladimir for reporting and Joachim for following up
In my opinion, it's better to update the composer.lock
composer build and release a new tag

After we had released
vardot/varbase-updater 1.1.12
https://github.com/Vardot/varbase-updater/releases/tag/1.1.12
which was reported and fixed by Joachim Namyslo

Rajab Natshah’s picture

Rebuild for the composer.lock after the release of vardot/varbase-updater 1.1.12 #67
https://github.com/Vardot/varbase-project/issues/67
To be released as vardot/varbase-project 8.7.4.1

Rajab Natshah’s picture

Rajab Natshah’s picture

Status: Active » Fixed

Released vardot/varbase-project 8.7.4.1
https://packagist.org/packages/vardot/varbase-project#8.7.4.1

This will save developers from doing

composer update

number of times

As they made the release just right after Varbase release

Thanks for helping and following up on this issue

Rajab Natshah’s picture

Status: Fixed » Closed (fixed)