Estou tentando atualizar usando drush, com o comando drush up
, mas o core não está atualizando. diz na saída drush:
Project drupal was updated successfully. Installed version is now 7.27.
Mas isso não! o relatório de status diz claramente que a versão ainda é 7.26. Além disso, tentei executar o drush novamente e ele atualiza com êxito de 26 a 27 toda vez que o executo ...
ATUALIZAR
Eu fiz este comando:
drush up drupal -v
e esta foi a saída:
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
depois de atualizá-lo através do drush?Respostas:
Pode ser um problema com as permissões do diretório raiz do Drupal. Tente executá-las como sudo
O comando acima atualiza todos os módulos ativados e o núcleo no Drupal ...
Tente usar
que atualiza apenas o núcleo .. Funcionou para mim .. Atualizei do 7.22 para o 7.27 mais recente ..
Tente com -v para obter mais informações ..
Para depurar, use o comando abaixo com a opção --debug
fonte
Atualize o drush para a última versão estável e tente novamente.
Se não funcionar, faça-o manualmente: (isso é tedioso, mas não difícil);
mais informações
fonte