Estoy tratando de actualizar usando drush, con el comando drush up
, pero core no se está actualizando. dice en la salida drush:
Project drupal was updated successfully. Installed version is now 7.27.
¡pero no lo es! El informe de estado dice claramente que la versión sigue siendo 7.26. Además, intenté ejecutar drush nuevamente, y se actualiza con éxito del 26 al 27 cada vez que lo ejecuto ...
ACTUALIZAR
Hice este comando:
drush up drupal -v
y esta fue la salida:
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
después de actualizarlo a través de drush?Respuestas:
Puede haber problemas con los permisos del directorio raíz de Drupal. Intente ejecutarlos como sudo
El comando anterior actualiza todos los módulos y núcleos habilitados en Drupal ...
Intenta usar
que actualiza solo el núcleo ... Funcionó para mí ... Actualicé de 7.22 a la última 7.27 ...
Pruebe con -v para más información.
Para depurar use el siguiente comando con la opción --debug
fuente
Actualice drush a la última versión estable e intente nuevamente.
Si no funciona, hágalo manualmente: (esto es tedioso pero no difícil);
más información
fuente