Following error occurs after updating (I did this with drush).

require_once (~/profiles/commons/modules/contrib/file_entity/plugins/entity/file.inc):[warning]
failed to open stream: No such file or directory plugins.inc:475
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required
'~/profiles/commons/modules/contrib/file_entity/plugins/entity/file.inc'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
~/profiles/commons/modules/contrib/ctools/includes/plugins.inc,
line 475

profiles/commons/modules/contrib/file_entity/plugins/entity was missing
profiles/commons/modules/contrib/file_entity/plugins/tasks was missing

To resolve, I restored these directories from a backup. If there were not updates in those directories I am sure this is fine, but if there were changes I would restore to an earlier version of Commons. On my test site, I am seeing no issues after restoring the directories.

Comments

taw.boston’s picture

Issue summary: View changes
lsolesen’s picture

Status: Active » Fixed

Could you please try again. It seems like all the files were not properly downloaded. If you can replicate, please enclose your exact drush commands.

Status: Fixed » Closed (fixed)

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

kopanda’s picture

We have the same issue updating Drupall Commons with drush. I found that the updating directory is not correct. Drush tries to download the whole Drupal site to /profiles/commons which makes the path not correct.