是否可以将 Drupal 从非常旧的版本(4)升级到最新的版本(7)? [英] Is it possible to upgrade Drupal from very old version(4) to the newest one(7)?

查看:31
本文介绍了是否可以将 Drupal 从非常旧的版本(4)升级到最新的版本(7)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将运行非常旧版本的 Drupal(甚至无法找出是哪个版本,但我猜它甚至在 5 之前)的网站升级到最新版本?那可能吗?如果是,如何处理?

I have to upgrade website running very old version of Drupal (cannot even find out which version is that, but I guess it is even before 5) to the newest one? Is that possible? If yes, how to approach this?

推荐答案

Drupal 网站明确指出在进行版本升级时不能跳过主要版本.

The Drupal web site makes it clear that you cannot skip major versions when doing version upgrades.

请参阅此页面:http://drupal.org/upgrade/

(它说不能从 v5 跳到 v7;它甚至没有提到 v4!)

(it talks about not being able to skip from v5 to v7; it doesn't even mention v4!)

因此,如果您确实设法将网站从 v4.x 一直升级到 v7,那么可以肯定的是 - 这将是一个漫长的过程.

So if you do manage to upgrade your site all the way from v4.x to v7, one thing is for certain - it's going to be a long-winded process.

另一件对您来说将是主要问题的事情是 Drupal 模块生态系统在 v4.x 和 v7 之间的时间空间中发生了根本性的变化.您将在 v4 中使用的许多模块在更高版本中将不受支持,或者没有升级路径,因此您可能需要进行大量手动黑客攻击.

The other thing that is going to be a major issue for you is that the Drupal module ecosystem has changed radically in the space of time between v4.x and v7. Many modules that you'll be using in v4 will be either unsupported in later versions, or not have an upgrade path, so you may have a lot of manual hacking to do.

另一方面,可能有较新的模块可以在最近版本的 Drupal 中完成在旧版本中无法完成的事情,或者以非常不同的方式完成,您可能会发现自己想要使用一些那些模块而不是你已经准备好的模块.再说一次,我为你准备了很多手工工作.

On the flip side, there are likely to be newer modules that can do things in recent versions of Drupal which were not possible in older version or were done in a very different way, and you may find yourself wanting to use some of those modules instead of ones you've got in place. Again, lots of manual work I forsee for you.

总而言之,我建议从这么远的地方升级到当前版本将是非常困难的.您可能会发现从头开始并重新构建所有内容更容易.我相信您可以从旧站点导入一些数据以保持连续性.

In summary, I would suggest that upgrading from such a long way back to the current version is going to be extremely difficult. You may find it easier to start again from scratch and rebuild everything. I'm sure you could get some data imported from the old site to maintain continuity.

我要补充的另一件事是,这不是 Drupal 特定的问题,所以如果您在升级过程中遇到困难,请不要责怪 Drupal 开发人员 - 您运行的几乎任何软件都会遇到此问题,如果你不让它保持最新.尝试将 Windows95 机器升级到 Windows Vista,您就会明白我的意思.

One further thing I would add is that this isn't a Drupal-specific problem, so please don't blame the Drupal developers if you struggle with this upgrade - you'll get this issue with virtually any software you run if you don't keep it up-to-date. Try upgrading a Windows95 machine to Windows Vista and you'll see what I mean.

这篇关于是否可以将 Drupal 从非常旧的版本(4)升级到最新的版本(7)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆