CentOS 7.x Install ownCloud OnlyOffice Integration App
From Notes_Wiki
<yambe:breadcrumb self="Install owncloud onlyoffice integration app">CentOS_7.x_Owncloud_app_installation|Owncloud app installation</yambe:breadcrumb>
CentOS 7.x Install ownCloud OnlyOffice Integration App
To integrate owncloud with onlyoffice use following steps:
- Change directory to the ownCloud apps directory.
- For example in case of bitnami stack use 'cd /opt/owncloud-10.1.0-1/apps/owncloud/htdocs/apps/'
- Download OwnCloud OnlyOffice integration app from https://marketplace.owncloud.com/apps/onlyoffice and extract it in apps folder.
- Set daemon:daemon ownership (in case of bitnami)
- chown -R daemon:daemon onlyoffice
- In case of source based installation apache:apache ownership might be required
- chown -R apache:apache onlyoffice
- Then go to ownCloud Apps page, click Not Enabled tab and enable the OnlyOffice app.
- After that, go to ownCloud admin page, select ONLYOFFICE tab on the left pane and enter your domain name in Document Editing Service Address field. Then click save. Ideally "settings saved successfully" message should come.
- In case save is failing with timeout or other errors specially in case of self-signed certificates try:
- Edit /opt/owncloud-10.1.0-1/apps/owncloud/htdocs/config/config.php and append
- 'onlyoffice' =>
- array (
- 'verify_peer_off' => TRUE,
- )
- Restart owncloud apache using command similar to '/opt/owncloud-10.1.0-1/ctlscript.sh restart'
- Edit /etc/onlyoffice/documentserver/default.json and change "rejectUnauthorized": from true to false
- Restart onlyoffice machine for new changes to take effect
- If still errors are shown refer CentOS 7.x add ca or host certificate as trusted certificate at OS level and ensure that onlyoffice and owncloud hosts trust each other
- After saving the above setting, you should be able to create documents, spreedsheets and presentation files within ownCloud
Refer:
- https://www.linuxbabe.com/ubuntu/integrate-onlyoffice-owncloud-nextcloud
- https://api.onlyoffice.com/editors/owncloud
- https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues/181
<yambe:breadcrumb self="Install owncloud onlyoffice integration app">CentOS_7.x_Owncloud_app_installation|Owncloud app installation</yambe:breadcrumb>