Confluence升级是一项很细致的工作,也是一件专业的工作,着手升级需要做充分的准备。
以下重点说明升级的步骤方法
这种方法适用于Confluence数据量(页面及版本数)较少的情况
操作前请进行数据库备份
系统管理员登录到Confluence后台,进入到备份与还原菜单,进行如下操作
通过成备份包后,可以将此备份包进行迁出以备后续导入使用
这种方法适用于Confluence数据量较大的情况
操作前请进行数据库备份,应用备份
停掉旧Confluence应用
进入到安装程序所在目录,执行安装命令]# ./atlassian-confluence-7.x.x-x64.bin
This will install Confluence 7.15.1 on your computer. OK [o, Enter], Cancel [c] |
Choose the appropriate installation or upgrade option. Please choose one of the following: Express Install (uses default settings) [1], Custom Install (recommended for advanced users) [2], Upgrade an existing Confluence installation [3, Enter] |
Existing installation directory: [/opt/atlassian/confluence] |
一般会识别出原来旧版本的目录
Back Up Confluence Home We strongly recommend choosing this option in the unlikely event that you If you have many attachments in your Confluence Home Directory, the zip |
一般情况下,文件目录存放大量附件 ,在进行备份会占用较多资源和时间,建议提前进行备份,在这里选择不备份
Checking for local modifications. List of modifications made within Confluence directories. The following provides a list of file modifications within the confluence Modified files: [Enter] |
Checking if your instance of Confluence is running Upgrade Checklist Please refer to the following URL for back up guidelines: Check app compatibility For more information see our documentation at the following URL:
|
Your instance of Confluence is currently being upgraded. Extracting files ... Please wait a few moments while we configure Confluence. Installation of Confluence 7.15.1 is complete |
一般安装完成后,并不马上启动,此时需要调整setenv.sh文件的配置,比如内存大小等相关信息,以及对需要修改的涉及到文件检查 列表中所列文件修改。
启动Confluence过程是一个漫长的过程,首先需要Confluence正常启动
在启动起来后期,Confluence会自动链接到数据库,执行升级程序将数据库进行版本升级
这些启动和升级过程的日志可以在Confluence的文件目录下找 logs/atlassian-confluence.log中查看到。
注意:
升级是采用整个站点的导入,在导入整个站点的数据将全部以导入备份的数据,原数据将全部丢失,包括附件
在升级过程中如果中途失败,那么整个站点将无法正常工作,数据清掉数据库重新进行初始化工作
恢复过程中可能出现很多过程,可以到https://confluence.atlassian.com/confkb 来进行检查
有其它的升级方案,但本次提供的升级方案更安全、影响更小,如使用其它方案,请到官网进行查询