composer update on Drupal 8 sites

composer update on Drupal 8 sites

6 posts / 0 new
Last post
ultimike's picture
manello
Points: 0
composer update on Drupal 8 sites

Good morning,

I'm working with a fresh Drupal 8 site installed on Acquia Dev Desktop.

I'm working to install the Address (https://www.drupal.org/project/address) module. This module requires the Composer Manager (https://www.drupal.org/project/composer_manager) module as well as some external PHP libraries managed by composer.

As part of the process of installing the Address module, I need to run "composer update" on the root of the Drupal 8 site. When I attempt to do this from within the Acquia Dev Desktop Drush Console window, I consistently get OpenSSL errors.

I had a colleague try the exact same thing with the exact same result.

When I run composer update from outside of the Acquia Dev Desktop Drush Console window, I do not get this error.

Suggestions?

thanks,
-mike

Status: 
Unresolved
akoelewijn@glocalstreet.com's picture
akoelewijn
Points: 0

PHP Warning: readfile(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in Command line code on line 1
PHP Warning: readfile(): Failed to enable crypto in Command line code on line 1
PHP Warning: readfile(https://getcomposer.org/installer): failed to open stream: operation failed in Command line code on line 1

Same here. Errors listed above. Did you work around this? Can I just place the copied libraries in some folder (like I used to do in D7) and what should folder structure be?

paulnevinthomas@gmail.com's picture
paulnevinthomas
Points: 75

1. Install the Composer Manager module
2. Run the module's init.php script on the command line in your Drupal root directory.
(php scripts/init.php from inside the composer_manager module directory).
This registers the module's Composer command for Drupal core.
Example:
username@locahost:/var/www/SITENAME$ php modules/composer_manager/scripts/init.php

3.You should see Composer Manager has been successfully initialized. once initialized properly.
Run composer drupal-update from the the root of your Drupal directory.
Example:
username@locahost:/var/www/SITENAME$ composer drupal-update

Status Change: 
Resolved
corkerton's picture
corkerton
Points: 2

Using composer manager is not recommended for the latest Drupal 8 release, any other suggestions?

Status Change: 
Unresolved
mahe7633@gmail.com's picture
mahe7633
Points: 0

192.168.0.1 is a private IP address that is used by D-link routers

de918297@gmail.com's picture
de918297
Points: 1

Mobdro is just about the fastest streaming service I have come across and I am so glad that I did. The app is a perfect killer of time as it offers tons of TV shows, movies, and even cartoons to watch online from anywhere, anytime you want. Pretty easy to use the app, Mobdro is fast. When I say fast, I really mean fast. If you haven't used it yet, you don't know what you are missing. Mobdro for BlackBerry

Status Change: 
Unresolved