作者: 老葛 亚艾元软件
rm -rf core vendor
cp -rf drupal-8.3.2/. example
1, 备份
mysqldump -uroot -p example> example-2017-5-28.sql
2,卸载 Bootstrap Layouts
3,升级 ctools,page manager, panels
4,发现报错, 删除变体。
https://www.drupal.org/node/2877803, 不行。
5,卸载layout plugin
6,update.php
http://www.example.com/update.php/selection
Page not found.
Nginx配置错误。
修改配置:
server {
listen 80;
server_name www.example.com;
root /var/www/html/example;
index index.php index.html index.htm;
location ~ ^/update.php {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_intercept_errors on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index update.php;
include ./fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/update.php;
fastcgi_param SCRIPT_NAME /update.php;
}
location ~ '\.php$|^/update.php' {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
关键是去掉:
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
break;
}
system module
8300 - Add detailed cron logging configuration.
8301 - Add install profile to core.extension configuration.
Update entity displays to contain the region for each field.
Force caches using hashes to be cleared (Twig, render cache, etc.).
Force plugin definitions to be cleared. @see https:www.drupal.orgnode2802663
block_content module
8300 - Fix the block_content entity type to specify its revision data table.
comment module
8300 - Update status field.
8301 - Set the 'published' entity key.
hal module
8301 - Move 'link_domain' from 'rest.settings' to 'hal.settings'.
image module
8201 - Flush caches as we changed field formatter metadata.
locale module
8300 - Delete translation status data in state.
node module
8300 - Change {node_access}.fallback from an int to a tinyint as it is a boolean.
8301 - Set the 'published' entity key.
panels module
8401 - Uninstalls Layout plugin, then enables Layout Discovery.
serialization module
8301 - @see hal_update_8301()
8302 - Add serialization.settings::bc_primitives_as_strings configuration.
views module
8201 - Rebuild cache to refresh the views config schema.
Rebuild caches to ensure schema changes are read in.
block module
Disable blocks that are placed into the "disabled" region.
user module
Enforce order of role permissions.
最后运行到78%过不去了,可能是node的修改过不去了。
停止运行,检查一切正常。后面再观察一下,重新实现了node/{}的变体,发现系统改进了很多。