seafile⽆法打开office⽂件
[root@amoyzhu logs]# cat seafevents.log
[2019-04-02 15:21:59,288] [DEBUG] start to fetch task <type: docx, id: 79f7e08712ba22290e133cd2b913d1f088478553>
[2019-04-02 15:21:59,324] [DEBUG] start to convert task <type: docx, id: 79f7e08712ba22290e133cd2b913d1f088478553>
[2019-04-02 15:21:59,567] [WARNING] error when invoking libreoffice: unoconv: Cannot find a suitable office installation on your system. ERROR: Please locate your office installation and send your feedback to:
github/dagwieers/unoconv/issues
[2019-04-02 15:21:59,567] [WARNING] failed to convert <type: docx, id: 79f7e08712ba22290e133cd2b913d1f088478553> to pdf [2019-04-02 15:21:59,568] [DEBUG] removing temporary document /tmp/tmpABl8hG.docx
[2019-04-02 15:22:02,985] [DEBUG] start to fetch task <type: pptx, id: 342607faab5834681cfa303dea33626843a836b6>
[2019-04-02 15:22:03,039] [DEBUG] start to convert task <type: pptx, id: 342607faab5834681cfa303dea33626843a836b6>
[2019-04-02 15:22:03,147] [WARNING] error when invoking libreoffice: unoconv: Cannot find a suitable office installation on your system. ERROR: Please locate your office installation and send your feedback to:
github/dagwieers/unoconv/issues
[2019-04-02 15:22:03,148] [WARNING] failed to convert <type: pptx, id: 342607faab5834681cfa303dea33626843a836b6> to pdf [2019-04-02 15:22:03,148] [DEBUG] removing temporary document /tmp/tmpf_jHCI.pptx
[2019-04-02 15:26:17,819] [DEBUG] start to fetch task <type: docx, id: 79f7e08712ba22290e133cd2b913d1f088478553>
[2019-04-02 15:26:17,833] [DEBUG] start to convert task <type: docx, id: 79f7e08712ba22290e133c
d2b913d1f088478553>
[2019-04-02 15:26:17,944] [WARNING] error when invoking libreoffice: unoconv: Cannot find a suitable office installation on your system. ERROR: Please locate your office installation and send your feedback to:
github/dagwieers/unoconv/issues
无法打开文件
解决办法:
安装[root@amoyzhu ~]# yum install -y libreoffice