First, it's really a bad idea to use Drupal 8 beta version on production site like me. Because Drupal 8 beta release do not provide a way to upgrade between beta versions. The database and API are not frozen at all.
If you are unlucky like me, you can try following steps:
- Download beta 10 and do a fresh install.
- Download beta 6 database through `mysqldump ----skip-add-drop-table --insert-ignore`.
- compare node* tables. There are new columns in release. We need to change insert statments to ignore new columns. When necessary, specify default value to the columns (I specify "zh-hans" to langcode).
- Import beta 6 database to Drupal 8 rc1 site.
- If you are not able to reach clear cache page, install latest drush. run `drush cr` to rebuild cache
- open the site and monitor php error.log. You will get some syntax issues. About 10 in my case. Hack relative code to ignore syntax errors.
评论3
great
I've successfully upgraded from http://howto.eguidedog.net to http://cto.eguidedog.net with this steps.
先把无用的自定义字段先删除会遇到少一些的问题
先把无用的自定义字段先删除会遇到少一些的问题
从RC1升级到8.1.3完全没有问题,直接覆盖就可以了…
从RC1升级到8.1.3完全没有问题,直接覆盖就可以了,之前写的补丁都不需要了。我开始对Drupal 8充满信心了!