查看: 2998|回复: 1

onlyoffice JSON配置文件

升级   42.67%

18

主题

29

回帖

114

积分

注册会员

Rank: 2

积分
114
发表于 2021-3-31 17:30:58 | 显示全部楼层 |阅读模式
查看sample
{
"rmi":"false",
"rmiPort":"2099",
"searchRangeCount":"12",
"searchReturnCount":"100",
"storageFolder":"ftp://wwx:wwx@172.16.92.23/app_data",
"storageFolderTemplate":"ftp://wwx:wwx@172.16.92.23/app_template",
"storageFolderIndex":"C:\\applicationServer\\app_data_index",
"storageFolderMark":"C:\\applicationServer\\app_data_mark",
"docbuilderEXEPath":"C:/ONLYOFFICE/DocumentBuilder/docbuilder.exe",
"filesizeMax":"5242880",
"timeout":"120000",
"docserviceViewedDocs":".pdf|.djvu|.xps",
"docserviceEditedDocs":".docx|.xlsx|.csv|.pptx|.txt",
"docserviceConvertDocs":".docm|.dotx|.dotm|.dot|.doc|.odt|.fodt|.ott|.xlsm|.xltx|.xltm|.xlt|.xls|.ods|.fods|.ots|.pptm|.ppt|.ppsx|.ppsm|.pps|.potx|.potm|.pot|.odp|.fodp|.otp|.rtf|.mht|.html|.htm|.epub",
"docserviceConverter":"http://172.16.99.23/ConvertService.ashx",
"docserviceTempstorage":"http://172.16.99.23/ResourceService.ashx",
"docserviceApi":"http://172.16.99.23/web-apps/apps/api/documents/api.js",
"docservicePreloader":"http://172.16.99.23/web-apps/apps/api/documents/cache-scripts.html",
"secret":"",
"header":"Authorization",
"ipWhiteList":"",
"gobackUrl":"http://127.0.0.1/x_desktop/index.html",
"callbackUrl":"http://172.16.99.2:20030/x_program_center/jaxrs/invoke/test1118/execute"
}


里面的
"docbuilderEXEPath":"C:/ONLYOFFICE/DocumentBuilder/docbuilder.exe",
"docserviceConverter":"http://172.16.99.23/ConvertService.ashx",
"docserviceTempstorage":"http://172.16.99.23/ResourceService.ashx",
这3项无文件及转换类,  服务器O2使用集群 内网  0.32服务器,   onlyoffice服务器装在0.23服务器,外网、内网均可以访问,但是json配置后,以上三行不知道怎么填,直接改服务器地址也不行,前台加载不报错,但是页面文件并未进入加载状态。
onlyoffice版本和官方一直6.0.2版本,环境正常。
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37517
发表于 2021-4-2 13:46:42 | 显示全部楼层
您好:
"docserviceConverter":"http://172.16.99.23/ConvertService.ashx",
"docserviceTempstorage":"http://172.16.99.23/ResourceService.ashx",
"docserviceApi":"http://172.16.99.23/web-apps/apps/api/documents/api.js",
"docservicePreloader":"http://172.16.99.23/web-apps/apps/api/documents/cache-scripts.html",


docservice 服务器的 是onlyoffice服务器 ,你修改为onlyoffice即可

请对照https://www.o2oa.net/course/xd4qyh.html?h=onlyOff   检查一下您的配置
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread