web-dev-qa-db-ja.com

Drushはコアを7.32に正常に更新しますが、7.31のままです。

Drupal 7でサイトを開発していて、コアとモジュールを最新の状態に保つためにdrush 7.0-devを使用しています。drush pm-updateを実行しましたDrupalコアバージョン7.32が出るまで、過去に何度か成功しました。すべてがうまくいくようで、drushはエラーを報告しませんが、バージョンはそのままです- 7.31更新後。

2つの連続した実行の出力は次のとおりです。

me@mybox:/var/www/customer$ drush pm-update
 Name    Installed Version  Proposed version  Message
 Drupal  7.31               7.32              SECURITY UPDATE available


Update information last refreshed: Thu, 10/23/2014 - 20:21
Code updates will be made to drupal core.
WARNING:  Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt.  If you have made any modifications 
to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.

Do you really want to continue? (y/n): y
Project drupal was updated successfully. Installed version is now 7.32.
Backups were saved into the directory /home/me/drush-backups/customer/20141023172524/drupal.                                                                                           [ok]
No database updates required                                                                                                                                                           [success]
'all' cache was cleared.                                                                                                                                                               [success]
Finished performing updates.                                                                                                                                                           [ok]
me@mybox:/var/www/customer$ drush pm-update
 Name    Installed Version  Proposed version  Message
 Drupal  7.31               7.32              SECURITY UPDATE available


Update information last refreshed: Thu, 10/23/2014 - 20:25
Code updates will be made to drupal core.
WARNING:  Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt.  If you have made any modifications 
to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.

Do you really want to continue? (y/n):

私は何か間違ったことをしていますか?コアが更新されないのはなぜですか?トラブルシューティングはどこから始めればよいですか?私はまだ手動での更新を試していません。というのも、drushが再び機能するようにするためです。サーバーはDebian 7とPHP 5.4。

4
Kaivosukeltaja

私はついにそれを理解しました-それは許可の問題でした。 Drushが更新しようとしているディレクトリの一部が別のユーザーのものであることに気づきませんでした。 Drushには書き込み権限がありませんでしたが、エラーは報告されませんでした。クイックchownの後で、アップデートは正常に完了しました。

0
Kaivosukeltaja

drush up drupalをお試しください。それでうまくいくかもしれません。

0
Nathan L.

7.27から7.45へのアップデートで同様の問題が発生しており、/ etc/Apache2/site-availableを変更し、000-default.confファイルを編集してDocumentRoot/var/www

私は元々/ var/www/htmlに向けていました。 Drupalは、Drushを使用して行った更新を認識しますが、AJAX HTTPエラーが発生しました... Drupalは初めてなので、ご不明な点はご容赦ください。それ。これにより、私のような他のユーザーが権限を変更しても問題が解決しないことを願っています。

0
ITedInnovator