Skip to content

Owncloud integration - Error while downloading the document file to be converted.) (version 6.3.0.111) #343

@gitqud

Description

@gitqud

Hello,

I am trying to integrate onlyoffice on my owncloud instance, however I have an error that persists despite the services running correctly.

Is there a manipulation I missed?

OS : Debian 10
Owncloud version : 10.7
Onlyoffice version : 6.3.0.111

Configuration file local.json

{
  "services": {
    "CoAuthoring": {
      "sql": {
        "type": "postgres",
        "dbHost": "localhost",
        "dbPort": "5432",
        "dbName": "onlyoffice",
        "dbUser": "onlyoffice",
        "dbPass": "StronPassword"
      },
      "token": {
        "enable": {
          "request": {
            "inbox": false,
            "outbox": false
          },
          "browser": false
        },
        "inbox": {
          "header": "Authorization"
        },
        "outbox": {
          "header": "Authorization"
        }
      },
      "secret": {
        "inbox": {
          "string": "StronPassword"
        },
        "outbox": {
          "string": "StronPassword"
        },
        "session": {
          "string": "StronPassword"
        }
      }
    }
  },
  "rabbitmq": {
    "url": "amqp://guest:guest@localhost"
  }
}

apache2 configuration files :

<VirtualHost *:443>
    ServerName xxx.com
    ServerAlias www.xxx.com

    ServerAdmin ok@domain.com

    DirectoryIndex index.php
    
    LogLevel warn

    DocumentRoot /var/www/onlyoffice/documentserver/
    
    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/xxx/fullchain-privkey.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/xxx/fullchain-privkey.pem
    SSLCACertificateFile /etc/letsencrypt/live/xxx/fullchain-privkey.pem

    SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
    SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
    SSLHonorCipherOrder Off

    <Directory "/var/www/onlyoffice/documentserver/">
        Options -Indexes +FollowSymLinks -MultiViews
        Require all granted
        AllowOverride All
    </Directory>
    
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
    <FilesMatch "\.php$">
       SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/"
    </FilesMatch>
    <Proxy "fcgi://localhost/">
    </Proxy>

    LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" MatomoFormat
    ErrorLog ${APACHE_LOG_DIR}/xxx_error.log
    CustomLog ${APACHE_LOG_DIR}/xxx_access.log MatomoFormat
    Protocols h2 http/1.1
    SSLSessionTickets off
    Header always set Strict-Transport-Security "max-age=63072000"
    ProxyPreserveHost On
    #SSLProxyEngine on
    ProxyPass         / http://127.0.0.1:8800/ retry=1 acquire=5000 timeout=5000
    ProxyPassReverse  / http://127.0.0.1:8800/
    RequestHeader set X-Forwarded-Port "443"
    RequestHeader set X-Forwarded-Proto "https"
    Timeout 3000
    ProxyTimeout 3000
</VirtualHost>

nginx configuration file :

include /etc/nginx/includes/http-common.conf;
server {
  listen 0.0.0.0:8800;
  listen [::]:8800 default_server;
  server_tokens off;
  server_name _;
  ## Redirects all traffic to the HTTPS host
  root /nowhere; ## root doesn't have to be a valid path since we are redirecting
  #rewrite ^ https://$host$request_uri? permanent;
  include /etc/nginx/includes/ds-*.conf;
}
#HTTP host for internal services
server {
  listen 127.0.0.1:8800;
  listen [::1]:8800;
  server_name localhost;
  server_tokens off;
  
  include /etc/nginx/includes/ds-common.conf;
  include /etc/nginx/includes/ds-docservice.conf;
}

rabbitmq service : ok
apache2 service : ok
nginx service : ok
supervisor service : ok
curl healthcheck : ok

curl  https://xxx.com/healthcheck 
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions