Wiki source code of Connect to an Internal Office Server
Last modified by Eleni Cojocariu-testing account on 2026/08/21 17:04
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | An internally managed office server is an office process that XWiki starts and stops itself; to connect to one you run yourself, [[connect to an external Office Server>>documentation.xs.admin.exports.office-server-properties.connect-external-office-server.WebHome]] instead. To connect your wiki to an internally managed office server: | ||
| 2 | |||
| 3 | 1. Install [[LibreOffice>>https://www.libreoffice.org/]] or [[OpenOffice>>https://www.openoffice.org/]] on the server that runs XWiki. | ||
| 4 | 1. Open ##xwiki/WEB-INF/xwiki.properties## in a text editor and find the [[office server properties>>documentation.xs.admin.exports.office-server-properties.WebHome]]. | ||
| 5 | 1. Uncomment ##openoffice.autoStart## and set it to ##true##. | ||
| 6 | 1. Uncomment ##openoffice.homePath## and ##openoffice.profilePath## and set them to the [[installation and profile directories>>documentation.xs.admin.exports.office-server-properties.WebHome||anchor="office-paths"]] of the office suite you installed. | ||
| 7 | 1. Save the file and restart XWiki. | ||
| 8 | 1. [[Administer the wiki>>documentation.xs.admin.base.content-organization.administer-wiki.WebHome]], select "Content" and then "Office Server". The "Server type" reads "Internally managed (local)" and the "Server state" reads "Connected":((( | ||
| 9 | {{image reference="office-server-internally.png" size="large" alt="The Office Server administration section reporting an internally managed server in the Connected state"/}} | ||
| 10 | ))) |