Tôi đang cố gắng cập nhật bằng cách sử dụng drush, với lệnh drush up
, nhưng cốt lõi không cập nhật. Nó nói về đầu ra drush:
Project drupal was updated successfully. Installed version is now 7.27.
Nhưng không phải vậy! báo cáo trạng thái rõ ràng cho biết phiên bản vẫn là 7.26. Ngoài ra, tôi đã thử chạy drush một lần nữa và nó cập nhật thành công từ 26 đến 27 mỗi lần tôi chạy nó ...
CẬP NHẬT
Tôi đã thực hiện lệnh này:
drush up drupal -v
và đây là đầu ra:
Initialized Drupal 7.26 root directory at /www/permalink.hashworld.co/docs
[notice]
Initialized Drupal site default at sites/default [notice]
Loading release_info engine. [notice]
Loading version_control engine. [notice]
Loading package_handler engine. [notice]
Executing: wget --version
/usr/bin/php -d magic_quotes_gpc=Off -d magic_quotes_runtime=Off -d magic_quotes_sybase=Off /usr/share/php/drush/drush.php --php=/usr/bin/php --php-options=' -d magic_quotes_gpc=Off -d [notice]
magic_quotes_runtime=Off -d magic_quotes_sybase=Off' --backend=2 --verbose --root=/www/permalink.hashworld.co/docs --uri=http://default pm-updatestatus drupal 2>&1
Name Installed Version Proposed version Message
Drupal 7.26 7.27 SECURITY UPDATE available
Update information last refreshed: Fri, 04/18/2014 - 20:06
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
Executing: svn info /www/permalink.hashworld.co/docs/drupal-7.27
Executing: bzr root /www/permalink.hashworld.co/docs/drupal-7.27
Executing: wget --version
Executing: wget -q --timeout=30 -O /tmp/download_fileN0AtzR http://ftp.drupal.org/files/projects/drupal-7.27.tar.gz
Downloading drupal-7.27.tar.gz was successful. [notice]
Md5 checksum of drupal-7.27.tar.gz verified. [notice]
Mime type for /www/permalink.hashworld.co/docs/drupal-7.27.tar.gz is application/x-gzip [notice]
Executing: tar -C /www/permalink.hashworld.co/docs -xzf drupal-7.27.tar.gz
Executing: tar -tzf drupal-7.27.tar.gz
Project drupal was updated successfully. Installed version is now 7.27.
Backups were saved into the directory /home/ubuntu/drush-backups/permalink/20140421094219/drupal. [ok]
Command dispatch complete [notice]
/usr/bin/php -d magic_quotes_gpc=Off -d magic_quotes_runtime=Off -d magic_quotes_sybase=Off /usr/share/php/drush/drush.php --php=/usr/bin/php --php-options=' -d magic_quotes_gpc=Off -d [notice]
magic_quotes_runtime=Off -d magic_quotes_sybase=Off' --backend=2 --verbose --root=/www/permalink.hashworld.co/docs --uri=http://default updatedb 2>&1
Initialized Drupal 7.26 root directory at /www/permalink.hashworld.co/docs [notice]
Initialized Drupal site default at sites/default [notice]
No database updates required [success]
/usr/bin/php -d magic_quotes_gpc=Off -d magic_quotes_runtime=Off -d magic_quotes_sybase=Off /usr/share/php/drush/drush.php --php=/usr/bin/php --php-options=' -d magic_quotes_gpc=Off -d [notice]
magic_quotes_runtime=Off -d magic_quotes_sybase=Off' --backend=2 --verbose --yes --root=/www/permalink.hashworld.co/docs --uri=http://default cache-clear all 2>&1
Initialized Drupal 7.26 root directory at /www/permalink.hashworld.co/docs [notice]
Initialized Drupal site default at sites/default [notice]
'all' cache was cleared. [success]
Command dispatch complete [notice]
Finished performing updates. [ok]
Command dispatch complete [notice]
Command dispatch complete
update.php
sau khi cập nhật nó thông qua drush?