页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

问题描述

更新安全补丁文件报:“版本相同”,具体如下截图:

Image RemovedImage Added

从后台日志分析可以看到 \Smartbi-security.patches (拒绝访问。):Image Removed

代码块
linenumberstrue
 
632F14A698771E5CA91C56931EA45995[mbpadmin] 12-10 23:24:58 ERROR doPost(smartbi.security.patch.SecurityPatchUploadServlet:95) - \Smartbi-security.patches (拒绝访问。)

java.io.FileNotFoundException: \Smartbi-security.patches (拒绝访问。)

       at java.io.FileOutputStream.open0(Native Method)

       at java.io.FileOutputStream.open(FileOutputStream.java:270)

...

2、根据对应的版本下载安全补丁工具包ext,如下图

  Image Removed

3、下载好安全补丁工具包后,接下来就是更新替换war包中的同名文件ext :     

smartbi.war包中的扩展包加载路径是smartbi\WEB-INF\extensions\SecurityPatchExt.extImage Removed


移除smartbi.war 中自带的SecurityPatchExt.ext 扩展包。

...

5、这时候再浏览器访问smartbi 进行更新补丁文件操作。

Image Removed

Image Removed


注意:

1、若是访问还是无法更新补丁文件,请尝试使用浏览器【无痕模式】访问smartbi

Image Removed


2、尝试了无痕模式还是无法上传,请确认项目加载的扩展包SecurityPatchExt.ext是否是新的,正常从官网下载下来是2020-10-22 号的。Image Removed


方式二:更新smartbi.war 包,若是采取这种方式,请联系官方渠道获取并说明项目信息以及目前项目使用的版本信息截图。

...