Liferay 5.2.3 到 6.0 升级步骤(Windows + Tomcat + MySql)

发布于 2025-01-03 19:20:25 字数 610 浏览 4 评论 0原文

我已经备份了我的实时门户,我想在本地主机中将其升级到较新的版本,然后将升级后的版本移动到我的实时站点。

我按照链接 中的步骤操作http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+5.2+to+6.0。我的步骤是:

1)我已经在我的本地主机上设置了新的liferay 6.0 (成功安装liferay 6.0,内置Hysonic数据库)

2)我已将live系统的MySql数据库导入到本地MySql Server。

3)停止tomcat服务器后,我更改了MySql数据库详细信息的配置文件portal-ext.properties。

4)然后,我启动了start.bat文件。它很好地显示了升级过程,但几分钟后窗口关闭了。

任何人都可以在这方面帮助我,我在升级过程中犯了一些错误,或者我错过了一些东西。如果有人有任何想法,请分享他们的步骤。

提前致谢

I have taken the backup of my live portal and I want to upgrade it to newer version in localhost and then move the upgraded version to my live site.

I followed the steps in the link http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+5.2+to+6.0. and my stpes are :

1) I have setup the new liferay 6.0 on my localhost
(successful installation of liferay 6.0 with inbuilt Hypersonic database )

2) I have imported MySql database of live system to the local MySql Server.

3) After stopping the tomcat server, I have changed the configuration file portal-ext.properties for the MySql database details.

4) Then, I have started the start.bat file. It is showing upgrade process well but after few minutes window is closed

Can anyone help me in this regard where I have done some mistake or am I missing something during the upgration. If anyone has some idea then please share their steps.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

口干舌燥 2025-01-10 19:20:25

您没有提到您还将文档库/图像库文件夹复制到新安装中。这通常(除非另有配置)位于您的“数据”文件夹中。仅导入 MySql 数据库是不够的,因为它仅包含 doclib 和 doclib 的元数据。图片库。

您还必须在备份时考虑到这一点 - 理想情况下,您会阅读有关备份的信息并从备份中设置第二个 5.2.3 实例(并确保其运行),然后开始升级。如果没有人证明他们可以使用它在全新的环境中成功恢复,我通常会禁止将某些东西称为备份。这是您最终测试备份过程的机会。

You don't mention that you also copy your document library / image gallery folder to the new installation. This typically (unless configured otherwise) sits in your "data" folder. Just importing the MySql database isn't enough, as it contains only the metadata for doclib & image gallery.

You'll have to take this into account for backups also - ideally you'd read about backup and set up a second 5.2.3 instance (and make sure it runs) from your backup, then start upgrading. I typically forbid to call something a backup if nobody ever demonstrated, that they can use it to successfully restore in a completely new environment. This is your chance to ultimately test your backup procedure.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文