メインコンテンツに移動

Drushでモジュールアップデート失敗する(2)

2018.08.24   2018.09.23

Drushでモジュールアップデートすると、localeでエラー。


$ drush up backup_migrate entity
Update information last refreshed: 金, 08/24/2018 - 17:33
 Name                                 Installed Version  Proposed version  Message
 Backup and Migrate (backup_migrate)  7.x-3.1            7.x-3.5           SECURITY UPDATE available
 Entity API (entity)                  7.x-1.8            7.x-1.9           SECURITY UPDATE available


Security updates will be made to the following projects: Backup and Migrate [backup_migrate-7.x-3.5], Entity API[entity-7.x-1.9]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Source directory /tmp/drush_tmp_1535099909_5b7fc405b4747/tar: Failed to set default locale is not     [error]
readable or does not exist.
Updating project backup_migrate failed. Attempting to roll back to previously installed version.      [error]
Backups were restored successfully.                                                                   [ok]

vi ~/.bash_profileで

export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_COLLATE=C export LC_CTYPE=en_US.UTF-8

source ~/.bash_profileで適用。