周建军 发表于 2024-11-11 01:59:41

libreoffice预览问题

按照应用市场的流程安装了libreoffice,并重启了服务器,设置了表单里的可预览,预览工具为libreoffice,在预览文件的过程中提示

PDF.js v2.14.305 (build: eaaa8b4ad)

信息:Unexpected server response (500) while retrieving PDF "https://oa.yajian.cc/x_libreoffice_assemble_control/jaxrs/office/doc/to/pdf/processPlatform/0d1215c6-3c08-43af-97ca-0dad54e2c237".


配置了3个端口:20011,20012,20013,但是服务器的opt文件夹里面好像没有libreoffice7.1这个文件夹。
这是怎么回事啊


xadmin 发表于 2024-11-11 10:32:11

您好,直接访问 https://oa.yajian.cc/x_libreoffice_assemble_control/jaxrs/office/doc/to/pdf/processPlatform/0d1215c6-3c08-43af-97ca-0dad54e2c237看看能下载下来文件不
后台日志看看有没有别的报错
也可以尝试换三个端口

周建军 发表于 2024-11-12 16:00:03

xadmin 发表于 2024-11-11 10:32
您好,直接访问 https://oa.yajian.cc/x_libreoffice_assemble_control/jaxrs/office/doc/to/pdf/processPl ...

直接访问也是报错{ "type": "error", "message": "转换失败.", "date": "2024-11-12 15:58:30", "spent": 103, "size": -1, "count": 0, "position": 0, "prompt": "com.x.libreoffice.assemble.control.jaxrs.office.ExceptionConvertError" },换端口的话可以换哪几个?

xadmin 发表于 2024-11-13 09:41:50

一组三个端口,不冲突就可以,比如30011,30012,30013
页: [1]
查看完整版本: libreoffice预览问题