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

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

问题描述

我必须升级网站运行的非常旧版本的Drupal(甚至不能找出哪个版本,但我猜这是甚至5以前)到最新的?那可能吗?如果是,如何处理这个问题?

解决方案

Drupal网站表明,在进行版本升级时,不能跳过主要版本。



查看此页面: http://drupal.org/升级/



(它谈到无法从v5跳到v7;甚至没有提到 v4! )



所以如果你设法从v4.x到v7升级你的网站,有一件事是肯定的 - 这将是一个漫长的过程



另一件事将是您的主要问题是,Drupal模块生态系统在v4.x和v7之间的时间空间发生了彻底改变。您将在v4中使用的许多模块将在以后的版本中不受支持,或者没有升级路径,因此您可能需要大量的手动黑客来执行。



<另一方面,可能会有更新的模块可以在最近版本的Drupal中执行这些操作,这在旧版本中是不可能的,或者以不同的方式完成,您可能会发现自己想要使用其中的一些模块而不是您已经到位的模块。再次,我为大家做了大量的手动工作。



总之,我建议从这么长的时间升级到当前版本将是非常困难的。您可能会发现从头开始重新开始重新构建一切都比较容易。我相信你可以从旧站点获取一些数据,以保持连续性。



我还要补充一点是,这不是一个Drupal的问题所以请不要责怪Drupal开发人员,如果您在升级过程中遇到困难,那么如果您不保持最新的安全性,您几乎可以在任何运行的软件中获得此问题。尝试将Windows95机器升级到Windows Vista,您将看到我的意思。


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?

解决方案

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

See this page: http://drupal.org/upgrade/

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

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.

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.

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.

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天全站免登陆