2016-11-18 7 views
1

내가 드루팔 8.2.2 달리기를 새로 설치했고 drush로 업데이트 할 https://www.drupal.org/node/2550801을 따라 실패,하지만 난 가지고 :

$ drush pm-update drupal 
Update information last refreshed: Fri, 11/18/2016 - 22:02 
Name Installed Version Proposed version Message     
Drupal 8.2.2    8.2.3    SECURITY UPDATE available 


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 
Drupal root path is not writable.                         [error] 
/var/www/html $ drush pm-update drupal 
Update information last refreshed: Fri, 11/18/2016 - 22:02 
Name Installed Version Proposed version Message     
Drupal 8.2.2    8.2.3    SECURITY UPDATE available 


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 8.2.3. 
Backups were saved into the directory /home/www-data/drush-backups/drupal/20161118222811/drupal.          [ok] 
[18-Nov-2016 22:28:41 UTC] Error: Call to undefined function drupal_get_installed_schema_version() in /var/www/html/core/includes/install.inc on line 80 #0 phar:///usr/local/bin/drush/commands/core/drupal/update.inc(111): drupal_load_updates() 
#1 phar:///usr/local/bin/drush/commands/core/core.drush.inc(462): update_main() 
#2 phar:///usr/local/bin/drush/includes/command.inc(422): drush_core_updatedb() 
#3 phar:///usr/local/bin/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array) 
#4 phar:///usr/local/bin/drush/includes/command.inc(199): drush_command() 
#5 phar:///usr/local/bin/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array) 
#6 phar:///usr/local/bin/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch() 
#7 phar:///usr/local/bin/drush/includes/startup.inc(458): drush_main() 
#8 phar:///usr/local/bin/drush/includes/startup.inc(365): drush_run_main(false, '/', 'Phar detected. ...') 
#9 phar:///usr/local/bin/drush/drush(114): drush_startup(Array) 
#10 /usr/local/bin/drush(10): require('phar:///usr/loc...') 
#11 {main} 
Error: Call to undefined function drupal_get_installed_schema_version() in drupal_load_updates() (line 80 of /var/www/html/core/includes/install.inc). 
Drush command terminated abnormally due to an unrecoverable error. 

내가 뭔가를 놓치고 있습니까?

답변

0

drupal 8.2.2를 새 버전 8.2.3으로 성공적으로 업데이트했습니다. 최신 버전으로

$ drush pm-update drupal 
Update information last refreshed: Mon, 11/21/2016 - 12:05 
Name Installed Version Proposed version Message     
Drupal 8.2.2    8.2.3    SECURITY UPDATE available 


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 8.2.3. 
Backups were saved into the directory /home/drush-backups/d8_dbupdate_nov21/20161121110543/drupal.         [ok] 

The following updates are pending: 

system module : 
    8202 - Clear caches due to behavior change in MachineName element. 

Do you wish to run all pending updates? (y/n): y 

Performing system_update_8202                            [ok] 

Cache rebuild complete.                              [ok] 

Finished performing updates.                            [ok] 

업데이트 drush이 문제를 해결하는 데 도움이 될 수있는 단계를 찾아주세요.

$ drush version 

Drush 버전 :

8.1.7는 또한 PHP 버전을 비교합니다.

0

웹 서버에서 파일을 읽을 수 있는지 확인하십시오. core/includes/schema.inc는 읽을 수 없습니다 (drupal_get_installed_schema_version이있는 위치).