Я пытаюсь обновить с помощью drush, с помощью команды drush up
, но ядро не обновляется. он говорит на выходе drush:
Project drupal was updated successfully. Installed version is now 7.27.
но это не так! отчет о состоянии ясно говорит, что версия все еще 7.26. Кроме того, я снова попытался запустить drush, и он успешно обновляется с 26 до 27 при каждом запуске ...
ОБНОВИТЬ
Я сделал эту команду:
drush up drupal -v
и это был выход:
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
после обновления через drush?