Difference between revisions of "CentOS 7.x Install ownCloud OnlyOffice Integration App"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Install owncloud onlyoffice integration app">CentOS_7.x_owncloud|Owncloud</yambe:breadcrumb> =CentOS 7.x Install ownCloud OnlyOffice Integration App=...")
 
m
Line 16: Line 16:
# Then go to ownCloud Apps page, click Not Enabled tab and enable the OnlyOffice app.
# 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.
# 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 then try:
#: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
## Edit /opt/owncloud-10.1.0-1/apps/owncloud/htdocs/config/config.php and append
##:<pre>
##:<pre>
Line 24: Line 24:
##::  )
##::  )
## Restart owncloud apache using command similar to '<tt>/opt/owncloud-10.1.0-1/ctlscript.sh restart</tt>'
## Restart owncloud apache using command similar to '<tt>/opt/owncloud-10.1.0-1/ctlscript.sh restart</tt>'
## Edit <tt>/etc/onlyoffice/documentserver/default.json</tt> 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
# After saving the above setting, you should be able to create documents, spreedsheets and presentation files within ownCloud


Line 30: Line 33:
* https://www.linuxbabe.com/ubuntu/integrate-onlyoffice-owncloud-nextcloud
* https://www.linuxbabe.com/ubuntu/integrate-onlyoffice-owncloud-nextcloud
* https://api.onlyoffice.com/editors/owncloud
* 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|Owncloud</yambe:breadcrumb>

Revision as of 12:12, 17 March 2019

<yambe:breadcrumb self="Install owncloud onlyoffice integration app">CentOS_7.x_owncloud|Owncloud</yambe:breadcrumb>

CentOS 7.x Install ownCloud OnlyOffice Integration App

To integrate owncloud with onlyoffice use following steps:

  1. 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/'
  2. Download OwnCloud OnlyOffice integration app from https://marketplace.owncloud.com/apps/onlyoffice and extract it in apps folder.
  3. 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
  4. Then go to ownCloud Apps page, click Not Enabled tab and enable the OnlyOffice app.
  5. 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:
    1. Edit /opt/owncloud-10.1.0-1/apps/owncloud/htdocs/config/config.php and append
      'onlyoffice' =>
      array (
      'verify_peer_off' => TRUE,
      )
    2. Restart owncloud apache using command similar to '/opt/owncloud-10.1.0-1/ctlscript.sh restart'
    3. Edit /etc/onlyoffice/documentserver/default.json and change "rejectUnauthorized": from true to false
    4. Restart onlyoffice machine for new changes to take effect
    5. 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
  6. After saving the above setting, you should be able to create documents, spreedsheets and presentation files within ownCloud


Refer:



<yambe:breadcrumb self="Install owncloud onlyoffice integration app">CentOS_7.x_owncloud|Owncloud</yambe:breadcrumb>