Code Monkey home page Code Monkey logo

onlyoffice-owncloud's Introduction

onlyoffice icon ownCloud ONLYOFFICE integration app

This app allows users to edit office documents from ownCloud using ONLYOFFICE Docs packaged as Document Server - Community or Enterprise Edition.

Features

The app allows to:

  • Create and edit text documents, spreadsheets, and presentations.
  • Share files with different permission types - viewing/editing, commenting, reviewing, filling forms. It's also possible to restrict downloading (in all editors) and modifying filters (in spreadshhets). Sharing via public link is also available.
  • Co-edit documents in real-time: use two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat. Co-editing is also available several federated ownCloud instances connected to one Document Server.
  • Work with documents, spreadsheets, and presentations within ownCloud Web.

Supported formats:

  • For editing: DOCM, DOCX, DOCXF, DOTM, DOTX, EPUB, FB2, HTML, ODT, OTT, RTF, TXT, CSV, ODS, OTS, XLSM, XLSX, XLTM, XLTX, ODP, OTP, POTM, POTX, PPSM, PPSX, PPTM, PPTX.
  • For viewing only: DJVU, DOC, DOT, FODT, HTM, MHT, MHTML, OFORM, PDF, STW, SXW, WPS, WPT, XML, XPS, ET, ETT, FODS, SXC, XLS, XLSB, XLT, DPS, DPT, FODP, POT, PPS, PPT, SXI.

ODT, ODS, and ODP is also available for instant conversion. After you enable the corresponding option in the admin settings, ODF-formatted documents are immediately converted in the editor and opened after you click on it.

Installing ONLYOFFICE Docs

You will need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from ownCloud and any end clients. ONLYOFFICE Document Server must also be able to POST to ownCloud directly.

ONLYOFFICE Document Server and ownCloud can be installed either on different computers, or on the same machine. If you use one machine, set up a custom port for Document Server as by default both ONLYOFFICE Document Server and ownCloud work on port 80.

You can install free Community version of ONLYOFFICE Docs or scalable Enterprise Edition with pro features.

To install free Community version, use Docker (recommended) or follow these instructions for Debian, Ubuntu, or derivatives.

To install Enterprise Edition, follow instructions here.

Community Edition vs Enterprise Edition comparison can be found here.

To use ONLYOFFICE behind a proxy, please refer to this article.

You can also use our Docker installation to install pre-configured Document Server (free version) and ownCloud with a couple of commands.

Installing ownCloud ONLYOFFICE integration app

The ownCloud administrator can install the integration app from the in-built application market. For that click the upper-left hamburger menu and select Market. After that find ONLYOFFICE in the list of available applications and install it.

If the server with the ownCloud installed does not have an Internet access, or if you need it for some other reason, the administrator can install the application manually:

  1. Go to the ownCloud server apps/ directory (or some other directory used):

    cd apps/
  2. Get the ownCloud ONLYOFFICE integration app. There are several ways to do that:

    a. Download the latest signed version from the official store for ownCloud.

    b. Or you can download the latest signed version from the application release page on GitHub.

    c. Or you can clone the application source code and compile it yourself:

    git clone https://github.com/ONLYOFFICE/onlyoffice-owncloud.git onlyoffice
    cd onlyoffice
    git submodule update --init --recursive

    ownCloud does not work with unsigned applications giving an alert, so you will need to use either option a or b to get the application.

  3. Change the owner to update the application right from ownCloud web interface:

    chown -R www-data:www-data onlyoffice
  4. In ownCloud open the ~/settings/admin?sectionid=apps&category=disabled page with Not enabled apps by administrator and click Enable for the ONLYOFFICE application.

Configuring ownCloud ONLYOFFICE integration app

In ownCloud open the ~/settings/admin?sectionid=additional#onlyoffice page with administrative settings for ONLYOFFICE section. Enter the following address to connect ONLYOFFICE Document Server:

https://<documentserver>/

Where the documentserver is the name of the server with the ONLYOFFICE Document Server installed. The address must be accessible for the user browser and from the ownCloud server. The ownCloud server address must also be accessible from ONLYOFFICE Document Server for correct work.

Sometimes your network configuration might not allow the requests between installed ownCloud and ONLYOFFICE Document Server using the public addresses. The Advanced server settings allows to set the ONLYOFFICE Document Server address for internal requests from ownCloud server and the returning ownCloud address for the internal requests from ONLYOFFICE Document Server. You need to enter them in the appropriate fields.

Starting from version 7.2, JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs and for security reasons and data integrity. Specify your own Secret key in the ownCloud administrative configuration. In the ONLYOFFICE Docs config file, specify the same secret key and enable the validation.

Enable or disable the Open file in the same tab setting.

The Open in ONLYOFFICE action will be added to the file context menu. You can specify this action as default and it will be used when the file name is clicked for the selected file types.

Checking the connection

You can check the connection to ONLYOFFICE Document Server by using the following occ command:

occ onlyoffice:documentserver --check

You will see a text either with information about the successful connection or the cause of the error.

Enabling editing for ownCloud Web

To enable work within ownCloud web, register the connector in the ownCloud Web config.json:

  • If you installed ownCloud Web from the official marketplace, the path is <owncloud-root-catalog>/config/config.json
  • If you compiled it from source code yourself using this instruction, the path is <owncloud-web-root-catalog>/config/config.json.

To register the connector, use these lines:

"external_apps": [
    {
        "id": "onlyoffice",
        "path": "http(s)://<owncloud-10-server-address>/index.php/apps/onlyoffice/js/onlyoffice.js",
    }
]

Depending on your webserver configuration you can drop the index.php segment from the url path.

How it works

The ONLYOFFICE integration follows the API documented here:

  • When creating a new file, the user navigates to a document folder within ownCloud and clicks the Document, Spreadsheet or Presentation item in the new (+) menu.

  • The browser invokes the create method in the /lib/Controller/EditorController.php controller. This method adds the copy of the file from the assets folder to the folder the user is currently in.

  • Or, when opening an existing file, the user navigates to it within ownCloud and selects the Open in ONLYOFFICE menu option.

  • A new browser tab is opened and the index method of the /lib/Controller/EditorController.php controller is invoked.

  • The app prepares a JSON object with the following properties:

    • url - the URL that ONLYOFFICE Document Server uses to download the document;
    • callbackUrl - the URL that ONLYOFFICE Document Server informs about status of the document editing;
    • documentServerUrl - the URL that the client needs to respond to ONLYOFFICE Document Server (can be set at the administrative settings page);
    • key - the etag to instruct ONLYOFFICE Document Server whether to download the document again or not;
  • ownCloud takes this object and constructs a page from templates/editor.php template, filling in all of those values so that the client browser can load up the editor.

  • The client browser makes a request for the javascript library from ONLYOFFICE Document Server and sends ONLYOFFICE Document Server the DocEditor configuration with the above properties.

  • Then ONLYOFFICE Document Server downloads the document from ownCloud and the user begins editing.

  • ONLYOFFICE Document Server sends a POST request to the callbackUrl to inform ownCloud that a user is editing the document.

  • When all users and client browsers are done with editing, they close the editing window.

  • After 10 seconds of inactivity, ONLYOFFICE Document Server sends a POST to the callbackUrl letting ownCloud know that the clients have finished editing the document and closed it.

  • ownCloud downloads the new version of the document, replacing the old one.

Known issues

  • Adding the storage using the External storages app has issues with the co-editing in some cases. If the connection is made using the same authorization keys (the Username and password or Global credentials authentication type is selected), then the co-editing is available for the users. If different authorization keys are used (Log-in credentials, save in database or User entered, store in database authentication options), the co-editing is not available. When the Log-in credentials, save in session authentication type is used, the files cannot be opened in the editor.

  • ownCloud provides an option to encrypt the file storage. But if the encryption with the per-user encryption keys (used by default in ownCloud Default encryption module app) is enabled, ONLYOFFICE Document Server cannot open the encrypted files for editing and save them after the editing. The ONLYOFFICE section of the administrative settings page will display a notification about it. However if you set the encryption with the master key, ONLYOFFICE application will work as intended. The instruction on enabling master key based encryption is available in the official documentation on ownCloud websites.

  • If you are using a self-signed certificate for your Document Server, ownCloud will not validate such a certificate and will not allow connection to/from Document Server. This issue can be solved in two ways.

    You can check the 'Disable certificate verification (insecure)' box on the ONLYOFFICE administration page, Server settings section, within your ownCloud.

    Another option is to change the ownCloud config file manually. Locate the ownCloud config file (/owncloud/config/config.php) and open it. Insert the following section to it:

    'onlyoffice' => array (
        'verify_peer_off' => true
    )

    This will disable the certificate verification and allow ownCloud to establish connection with Document Server.

    Please remember that this is a temporary insecure solution and we strongly recommend that you replace the certificate with the one issued by some CA. Once you do that, do not forget to uncheck the corresponding setting box or remove the above section from the ownCloud config file.

  • If the editors don't open or save documents after a period of proper functioning, the reason can be a problem in changing network settings or disabling any relevant services, or issues with the SSL certificate.

    To solve this, we added an asynchronous background task which runs on the server to check availability of the editors. It allows testing the connection between your ownCloud instance and ONLYOFFICE Document Server, namely availability of server addresses and the validity of the JWT secret are being checked.

    If any issue is detected, the ONLYOFFICE integration connector (consequently, the ability to create and open files) will be disabled. As an ownCloud admin, you will get the corresponding notification.

    This option allows you to avoid issues when the server settings become incorrect and require changes.

    By default, this background task runs once a day. If necessary, you can change the frequency. To do so, open the ownCloud config file (/owncloud/config/config.php). Insert the following section and enter the required value in minutes:

    'onlyoffice' => array (
        'editors_check_interval' => 3624
    )

    To disable this check running, enter 0 value.

  • When accessing a document without download permission, file printing and using the system clipboard are not available. Copying and pasting within the editor is available via buttons in the editor toolbar and in the context menu.

ONLYOFFICE Docs editions

ONLYOFFICE offers different versions of its online document editors that can be deployed on your own servers.

  • Community Edition (onlyoffice-documentserver package)
  • Enterprise Edition (onlyoffice-documentserver-ee package)

The table below will help you to make the right choice.

Pricing and licensing Community Edition Enterprise Edition
Get it now Start Free Trial
Cost FREE Go to the pricing page
Simultaneous connections up to 20 maximum As in chosen pricing plan
Number of users up to 20 recommended As in chosen pricing plan
License GNU AGPL v.3 Proprietary
Support Community Edition Enterprise Edition
Documentation Help Center Help Center
Standard support GitHub or paid One year support included
Premium support Contact us Contact us
Services Community Edition Enterprise Edition
Conversion Service + +
Document Builder Service + +
Interface Community Edition Enterprise Edition
Tabbed interface + +
Dark theme + +
125%, 150%, 175%, 200% scaling + +
White Label - -
Integrated test example (node.js) + +
Mobile web editors - +*
Plugins & Macros Community Edition Enterprise Edition
Plugins + +
Macros + +
Collaborative capabilities Community Edition Enterprise Edition
Two co-editing modes + +
Comments + +
Built-in chat + +
Review and tracking changes + +
Display modes of tracking changes + +
Version history + +
Document Editor features Community Edition Enterprise Edition
Font and paragraph formatting + +
Object insertion + +
Adding Content control + +
Editing Content control + +
Layout tools + +
Table of contents + +
Navigation panel + +
Mail Merge + +
Comparing Documents + +
Spreadsheet Editor features Community Edition Enterprise Edition
Font and paragraph formatting + +
Object insertion + +
Functions, formulas, equations + +
Table templates + +
Pivot tables + +
Data validation + +
Conditional formatting + +
Sparklines + +
Sheet Views + +
Presentation Editor features Community Edition Enterprise Edition
Font and paragraph formatting + +
Object insertion + +
Transitions + +
Animations + +
Presenter mode + +
Notes + +
Form creator features Community Edition Enterprise Edition
Adding form fields + +
Form preview + +
Saving as PDF + +
Working with PDF Community Edition Enterprise Edition
Text annotations (highlight, underline, cross out) + +
Comments + +
Freehand drawings + +
Form filling + +
Get it now Start Free Trial

* If supported by DMS.

onlyoffice-owncloud's People

Contributors

alexeybannov avatar antipkin-a avatar hellonadya avatar kseniafedoruk avatar kulmann avatar linneys avatar maria-sukhova avatar nsenz avatar ovchinnikova-natalya avatar rivexe avatar shockwavenn avatar svetlana81 avatar tavinus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onlyoffice-owncloud's Issues

Error logged when document in OnlyOffice not changed

Nextcloud 11.0.2 (stable), running on Ubuntu server 16.04.2
OnlyOffice integration app 1.0.2
OnlyOffice Document Server 4.3, running on Ubuntu server 16.04.2, installed via APT package

OnlyOffice integration with Nextcloud is working, however when a document is opened and no changes are made to the document the error message noted below is logged when the browser tab displaying the document is closed. Is this expected and can be ignored or is there some error condition that needs to be resolved?

From /var/log/onlyoffice/documentserver/docservice/out.log on the OnlyOffice server.
[2017-04-21 09:40:15.885] [ERROR] nodeJS - postData error: docId = 112111492789271;url = https://192.168.1.178:12443/index.php/apps/ onlyoffice/track?doc=WmhTd1Y2NFM2bEFnK3htMlZFR2N1L0NJQ2kzbGtycHkvdE1pK2xrampydz0/eyJmaWxlSWQiOjExMjExLCJvd25lcklkIjoibmNwdXNlciIsImF jdGlvbiI6InRyYWNrIn0%3D;data = {"key":"112111492789271","status":4,"actions":[{"type":0,"userid":"user"}]} Error: Error response: statusCode:400 ;body: {"error":1} at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:260:18) at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12) at IncomingMessage.g (events.js:291:16) at emitNone (events.js:91:20)

Error occurred in the document service: Error convertation unknown

Nextcloud 11.0.2 (stable)

PHP
Version: 7.1.3
Memory Limit: 512.0 MB
Max Execution Time: 3600
Upload max size: 10.0 GB

Database
Type: mysql
Version: 10.1.15
Size: 344.1 MB

APP Onlyoffice 1.0.1

OnlyOffice Document Server in Docker

All Last version!

Error:
Sample File ABC.doc to convertation.

screen0
screen1
screen2

Error occurred in the document service: Error convertation unknown

ownCloud 9.1.4 (stable) and OnlyOffice 1.0.2 plugin issue

Hello,

I have a weird issue with OnlyOffice app.

To be more specific: I can create documents(Document/Spreadsheet/Presentation) and after creation the document auto-opens just fine. After that there is no option to open it in OnlyOfFice in menu, but in the same time option is presented in menu of *.txt files.

Here are some example shots:
screen shot 2017-04-13 at 02 29 09
screen shot 2017-04-13 at 02 32 36

I'm using Apache/2.4.25 and php7.0 + redis for the ownCloud installation and OnlyOffice 4.3.1.4 installed over Debian.
I can provide whatever info You may need.

Shared document to open in ONLYOFFICE

Hi,
I am using ONLYOFFICE in NextCloud and everything works so far. Thanks for the great product.
Only issue i came across is when i share a shared link for document where the user is not part of the NC system. It shows download link for the document.

Expected behavior: open the shared link with others(not NC users) in read only mode in ONLYOFFICE instead of download action.

Is it there and i am missing something?

Owncloud and onlyoffice not behaving

I have onlyoffice running on HTTPS on port 5510, port forwarded. When I go to onlyoffice.mydomain.com:5510, I get the green check mark and "Document server is running".

If I do wget onlyoffice.mydomain.com:5510 this happens:

ERROR: The certificate of ‘onlyoffice.mydomain.com’ is not trusted.
ERROR: The certificate of ‘onlyoffice.mydomain.com’ is not yet activated.

Attempting to convert a file results in "Failed download converted file" and attempting to open an already converted files results in "The document could not be saved. Please check connection settings or contact your administrator. When you click the 'OK' button, you will be prompted to download the document."

I assume these issues are related, but I'm not sure how to fix them.

Apache Reverse Proxy; Connector wont load

I'm having trouble with getting NC to load the connector. My setup is: Docker -->Apache Reverse Proxy (Handles HTTPS certs as well) --> Outside world. When going to https://onlyoffice.mydomain.com the page loads and says everything is well and good. Now when putting that direct address into NC, the connector never loads, doesn't give any error message or anything. It shows up with a blank white page. One other thing to note, when I go to NC on the internal IP address and then put the Docker internal IP address into the NC connector admin page, everything loads and works 100% as it should. That makes me believe it is something to do with my reverse proxy setup. Here is that code:

<IfModule mod_ssl.c>
<VirtualHost *:80>
    ServerName onlyoffice.mydomain.com
    ServerAdmin [email protected]
    RewriteEngine on
    RewriteCond %{SERVER_NAME} =onlyoffice.mydomain.com
    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
</VirtualHost>
<VirtualHost *:443>
    ServerName onlyoffice.mydomain.com
    ServerAdmin [email protected]
    <proxy *>
    AddDefaultCharset off
    Order Allow,Deny
    Allow from all
    </proxy>
    ProxyRequests     Off
    ProxyPreserveHost On
    <location />
    RequestHeader unset Accept-Encoding
    ProxyPass http://192.168.0.22:78/
    ProxyPassReverse http://192.168.0.22:78/
    Order allow,deny
    Allow from All
    </location>
    ProxyPass "/websocket" "wss://192.168.0.22:78/websocket"
    ProxyPassReverse "/websocket" "wss://192.168.0.22:78/websocket"
    SSLCertificateFile /usr/local/etc/letsencrypt/live/onlyoffice.mydomain.com/fullchain.pem
    SSLCertificateKeyFile /usr/local/etc/letsencrypt/live/onlyoffice.mydomain.com/privkey.pem
</VirtualHost>
</IfModule>

Change default document language

Hi,
when I open a new OO-document in nextcloud the document language (also spellchecker) is by default English.
Is ist possible to change it e.g. to German? - Or even better:
Is it possible to set it automatically according to peronal settings in nextcloud?

Thanks in advance!

Failed to load " 302 found"

Hello only-office team.
I'have both owncloud and only office document server installed in docker container on the same machine.
My owncloud is directly mapped on 80:80 port and my document server is mapped on another port here "8980"
Both instance are working.
Owncloud:
screenshot_1

Only office document server :

screenshot_2
I followed the tutorial to connect owncloud and only office.
https://api.onlyoffice.com/editors/owncloud
finally when i'tried the application it sends me à "302 found - nginx error"

screenshot_3

No idea where it comes from, and no solution around this problem on the net.
Would you please give me a hand up.
Thanks
best regards.

By the way only-office is a great suite.

Nextcloud 11.0.2 (stable) - Для файла с ограничением доступа по тегам получаем "Download failed"

Интеграция c Nextcloud не работает для случая, когда для папки Nextcloud применен File access control.
Есть правило, ограничивающее доступ групп пользователей к папке Nextcloud с тегом. Если права для доступа к файлу в папке все же хватает, то ONLYOFFICE уже не сможет его редактировать, получим ошибку "Download failed".

Changing the language of the GUI

Hi,
is it possible to change the language of the DocumentServer (and the default Spellchecker language) e.g. to German?
I can't find any hints...

I'd also like to change the default behaviour of opening a document with right-click (like in previous owncloud app). Is this possible?

Thanks in advance!

Problem with Onlyoffice and Nextcloud

hey there.
i've setup OnlyOffice as Docker Container. behind a reverseproxy (https)

thats the error message i get, when i try to open files.
unbenannt2

thats my automated proxy/https setup compose file

version: '2'


services:
  proxy:
    image: jwilder/nginx-proxy
    container_name: proxy
    ports:
      - 80:80
      - 443:443
    volumes:
      - /home/hannes/configs/.nginx/conf.d:/etc/nginx/conf.d
      - /home/hannes/configs/.nginx/vhost.d:/etc/nginx/vhost.d
      - /home/hannes/configs/.nginx/html:/usr/share/nginx/html
      - /home/hannes/configs/.nginx/certs:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
    networks:
      - proxy-tier
    restart: always

  letsencrypt-companion:
    image: alastaircoote/docker-letsencrypt-nginx-proxy-companion
    container_name: letsencrypt-companion
    volumes_from:
      - proxy
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /home/hannes/configs/.nginx/certs:/etc/nginx/certs:rw
    restart: always


  app:
    image: wonderfall/nextcloud
    container_name: nextcloud
    privileged: true
    links:
      - db
      - onlyoffice
      - redis
      - solr
    environment:
      - UID=1000
      - GID=1000
      - UPLOAD_MAX_SIZE=20G
      - APC_SHM_SIZE=128M
      - OPCACHE_MEM_SIZE=128
      - CRON_PERIOD=15m
      - TZ=Europe/Berlin
      - ADMIN_USER=Hannes
      - ADMIN_PASSWORD=supersecret
      - DB_TYPE=mysql
      - DB_NAME=nextcloud
      - DB_USER=nextcloud
      - DB_PASSWORD=supersecret
      - DB_HOST=db
      - VIRTUAL_HOST=cloud.domain.com
      - VIRTUAL_NETWORK=nginx-proxy
      - VIRTUAL_PORT=8888
      - LETSENCRYPT_HOST=cloud.domain.com
      - [email protected]
    volumes:
      - /media/Backup/Cloud/data:/data
      - /media/Backup/Cloud/config:/config
      - /media/Backup/Cloud/apps:/apps2
    networks:
      - proxy-tier
    restart: always

  db:
    image: mariadb
    container_name: db
    volumes:
      - /media/Backup/Cloud/db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=supersecret
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=supersecret
    networks:
      - proxy-tier
    restart: always

  redis:
    image: redis
    container_name: redis
    networks:
      - proxy-tier
    restart: always

  solr:
    image: solr:6-alpine
    container_name: solr
    volumes:
      - /media/Backup/Cloud/solr:/opt/solr/server/solr/mycores
    entrypoint:
      - docker-entrypoint.sh
      - solr-precreate
      - nextant
    networks:
      - proxy-tier
    restart: always

  onlyoffice:
    image: onlyoffice/documentserver
    container_name: onlyoffice
    environment:
      - VIRTUAL_HOST=office.domain.com
      - VIRTUAL_NETWORK=nginx-proxy
      - LETSENCRYPT_HOST=office.domain.com
      - [email protected]
    networks:
      - proxy-tier
    restart: always

networks:
  proxy-tier:
    external:
      name: nginx-proxy

some collaboration features missing (NextCloud 11.0.2)

Unable to see, in the activity feed, any editing activity done by people other than the primary owner of the file.

When the document is open, and clicking the 'person' tab on the left hand side, can only see an icon representing the person currently opening the file, and none of the other collaborators.

Editors always are 'anonymous' in Onlyoffice

it's great that collaborative editing works, but it's a problem that OO doesn't know the name of the editing user. The commenting feature and the track changes feature list all concurrent users equally as "Anonymous" with a random color.

Do you have any plans to work on that? Because this flaw IMHO makes the OC-OO connector less functional in comparison to just linking the OC into the OO file manager.

Can't open documents in owncloud - conversion always fails

Every document I try to open via owncloud just gives the error:

"Error occurred in the document server: Conversion error"

Is there any way I can get at the debugging logs so I can find out what's actually going wrong? The error message isn't very helpful.

Ability to connect ownCloud with OnlyOffice without using WebDAV

For instance the only way to connect ownCloud with OnlyOffice is with WebDAV.
Many Web Hosting service DO NOT provide a WebDAV support ...
... so it could be very useful to have a connection mode similar than the ones used by ownCloud client (for Mac, Linux, Window ... iPhone, ....)

RESOLVED: Saved Changes Not Being Written to the Physical Files

When using OnlyOffice app in NextCloud, I can view, open, edit the documents just fine, but the changes aren't saved to the actual files. It seems that when it comes time to write the actual changes (by copying the cached OnlyOffice file over the original after ten seconds) this isn't happening. I can tell by looking at the modification dates of the physical files.

I'm running NextCloud 11.0.2, with the OnlyOffice app enabled. I have the document server running under that latest docker image on a separate server. Both servers are on ports 443, using GoDaddy certs. Both servers are running Debian Jessie, all packages up to date. The logs point to an SSL problem but the certs are functioning fine inside the browsers.

Any thoughts or help would be appreciated, here is the log output:

{"reqId":"h4kkJ09pGK5JP3NU7Dn3","remoteAddr":"X.X.X.X","app":"PHP","message":"file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed at \/var\/www\/nextcloud\/apps\/onlyoffice\/controller\/callbackcontroller.php#240","level":3,"time":"2017-03-22T11:22:06-05:00","method":"POST","url":"\/index.php\/apps\/onlyoffice\/track?doc=TG9UbG1odDBUWmZlRHdoa0x4TXliaGVmMzlxNzNGUVVneXBjV3JzUnUvOD0\/eyJmaWxlSWQiOjExOTg3ODQsIm93bmVySWQiOiJicmV0cCIsImFjdGlvbiI6InRyYWNrIn0%3D","user":"--","version":"11.0.2.7"} {"reqId":"h4kkJ09pGK5JP3NU7Dn3","remoteAddr":"X.X.X.X","app":"PHP","message":"file_get_contents(): Failed to enable crypto at \/var\/www\/nextcloud\/apps\/onlyoffice\/controller\/callbackcontroller.php#240","level":3,"time":"2017-03-22T11:22:06-05:00","method":"POST","url":"\/index.php\/apps\/onlyoffice\/track?doc=TG9UbG1odDBUWmZlRHdoa0x4TXliaGVmMzlxNzNGUVVneXBjV3JzUnUvOD0\/eyJmaWxlSWQiOjExOTg3ODQsIm93bmVySWQiOiJicmV0cCIsImFjdGlvbiI6InRyYWNrIn0%3D","user":"--","version":"11.0.2.7"} {"reqId":"h4kkJ09pGK5JP3NU7Dn3","remoteAddr":"X.X.X.X","app":"PHP","message":"file_get_contents(https:\/\/office.mydomain.com\/cache\/files\/11987841488824127_7393\/output.docx\/output.docx?md5=sYs8idjwoEDD7YQZFtVvLg==&amp;expires=1490804531&amp;disposition=attachment&amp;ooname=output.docx): failed to open stream: operation failed at \/var\/www\/nextcloud\/apps\/onlyoffice\/controller\/callbackcontroller.php#240","level":3,"time":"2017-03-22T11:22:06-05:00","method":"POST","url":"\/index.php\/apps\/onlyoffice\/track?doc=TG9UbG1odDBUWmZlRHdoa0x4TXliaGVmMzlxNzNGUVVneXBjV3JzUnUvOD0\/eyJmaWxlSWQiOjExOTg3ODQsIm93bmVySWQiOiJicmV0cCIsImFjdGlvbiI6InRyYWNrIn0%3D","user":"--","version":"11.0.2.7"}

Inside the docker image the nginx.log is empty and the docservice out.log just shows this:

[2017-03-22 16:20:36.174] [WARN] nodeJS - update cluster with 1 workers [2017-03-22 16:20:36.196] [WARN] nodeJS - worker 433 started. [2017-03-22 16:20:36.196] [WARN] nodeJS - update cluster with 1 workers [2017-03-22 16:20:37.446] [WARN] nodeJS - Express server starting... [2017-03-22 16:20:37.553] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode [2017-03-22 16:20:46.781] [WARN] nodeJS - update cluster with 1 workers [2017-03-22 16:20:46.791] [WARN] nodeJS - worker 472 started. [2017-03-22 16:20:46.791] [WARN] nodeJS - update cluster with 1 workers [2017-03-22 16:20:47.572] [WARN] nodeJS - Express server starting... [2017-03-22 16:20:47.786] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode

Applications folder already exists

Hi,
I have this issue when I enable ONLYOFFICE .... this notice show me below button ENABLE

Applications folder already exists

I am using owncloud 9.1.4 (stable). I have downloaded app to folder /owncloud/apps/onlyoffice

Many errors in the logs

Все работает, но в логах постоянно это:

Nextcloud 11.0.2
ONLYOFFICE 1.0.1

image

{"reqId":"pxCvEjy6cF8n0wBOwPzN","remoteAddr":"","app":"PHP","message":"Undefined index: REQUEST_URI at \/***\/cloud\/apps\/onlyoffice\/appinfo\/application.
php#65","level":3,"time":"03 March 2017 09:49:31","method":"--","url":"--","user":"--","version":"11.0.2.7"}

Cron: Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65

Nextcloud 11.0.2 (stable)

PHP
Version: 7.1.3
Memory Limit: 512.0 MB
Max Execution Time: 3600
Upload max size: 10.0 GB

Database
Type: mysql
Version: 10.1.15
Size: 344.1 MB

APP Onlyoffice 1.0.1

OnlyOffice Document Server in Docker

All Last version!

Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T07:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T07:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T07:15:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T07:00:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T07:00:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T06:45:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T06:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T06:15:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T06:00:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T05:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T05:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T05:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T05:15:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T05:00:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T04:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T04:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T04:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T04:15:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T04:00:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T03:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T03:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T03:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T03:15:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T03:00:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T02:45:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T02:30:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T02:15:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T02:15:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T02:00:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:45:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:30:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:15:17+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:15:01+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:04:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:04:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T01:00:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T00:45:02+0600
Error PHP Undefined index: REQUEST_URI at /var/www/cloud/apps/onlyoffice/appinfo/application.php#65 2017-03-30T00:30:02+0600

Showing up as experimental on server?

Hi,

When I added this app to my ownCloud server a few days ago, it wasn't showing up as "Experimental" but today it is. Has something changed in the last few days? Please let me know. Thanks.
owncloud experimental

Nextcloud 11 compatibility?

Please make sure this also works with Nextcloud11. Normally the Owncloud apps work, but Nextcloud 11 as it's own app store and some other small changes.

Best would be if this could be published for Nextcloud as well.

Nextcloud 11.0.2 (stable) - "ONLYOFFICE app not configured. Please contact admin"

Okay. So this is an issue that I have googled a bunch, and have found zero results for that actually fix my issue. I don't know what types of logs you would want me to provide to help you fix this issue. But I'll be happy to provide them if you tell me. This is the error I get when I try to access a file outside of my network.

2017-03-30-204837_3840x4080_scrot

Some stuff up front
Ubuntu 16.04
Nginx 1.10.0 (Ubuntu)
Node v6.10.1
I installed all the packages that are necessary to install this, per your documentation.

Please let me know what logs/configs/whatever you want. Thanks!

OnlyOffice Server Running, OwnCloud can't connect

I have my ownCloud server running, and on a separate server I have OnlyOffice. When I access the OnlyOffice server by IP it says it is running. I added the IP address to my owncloud server for the address for the OnlyOffice server and it saved successfully. But when I try and open a document with Owncloud/OnlyOffice I get
"ONLYOFFICE not reached. Please contact admin"

Is it possibly because my onlyonly office is not using SSL, while my OwnCloud Server has a SSL from lets encrypt?

Nextcloud Plugin

Error PHP Undefined index: REQUEST_URI at /home/getddo/public_html/apps/onlyoffice/appinfo/application.php#65

I getting this error with cron

Disable plugins

Hi,

Is it possible to disable DocumentServer plugins, when we activate Onlyoffice-owncloud plugin ?

Thanks in advance for your answer ! :)

Support custom ports

When adding a server with a custom port in the settings, OnlyOffice simply ignores it and makes a request to a non-existent server.

It would be great if you could fix this and not filter out the port entered in the settings.

"Save" doesnt save

When editing collaboratively in fast mode (using nextcloud), it appears the file is never written back to nextcloud until everyone ends their editing session.

Hitting the "save" button in the file menu pane does not seem to change that.
That mean that if everyone keeps all their browser tabs open, then the file never gets saved to nextcloud... until something blows up.

For example, when the file becomes no longer accessible e.g. because the sharing link timed out etc, then all of the edits can't be written back and we've lost two peoples work at once.

At other times, we've had an issue when A had shared a file with B and C, then A was temporarily locked out of the LDAP server because of a few false logins on the mail account... meanwhile B and C kept working, and didn't notice that OO now failed to save the file... boom! two days worth of data entry gone.

Can you specify how the writeback behaviour is intended to be? Why doesn't "Save" seem to save the file on Nextcloud/Owncloud?

"Unknown Error."

I've installed OnlyOffice from the official repository on Ubuntu 16.04 and have it running via nginx on port 81 in a VM. I also have the latest Nextcloud 11 with the latest OnlyOffice-App.

The link between the app and the OnlyOffice-Server seems to work as I can create spreadsheets, word files and presentation files via Nextclouds File-App. I can also open the OnlyOffice app by clicking on one of these files which opens a new browser tab the the OnlyOffice UI. However, it brings up the error message "Unknown Error.". Is this a known issue? What can I do to track down the problem?

Onlyoffice in Nextcloud opens new Tab

When using Onlyoffice in Nextcloud opening a document always opens a new tab in the browser. I am pretty sure that this is intended. It would be nice to have a configuration option to change that...

Owncloud integration does not work for me.

I have two containers running on the same machine one for owncloud and one for the document server.

I started the document server with -p 8085:80. If I visit the document server via webbrowser http://ipAdress:8085 it says the service is running. But when I try to access the document server (v.4.3) via owncloud (onlyoffice integration app v. 1.0.1) I get the error "onlyoffice app not configured, please contact..."

Am I doing something wrong? From ownloud container I can ping the document server, but can not use it from owncloud.

Embed links for documents

in Onlyoffice, it's possible to get an embed link for a document so that i can for example embed an (editable) spreadsheet in a webpage. This is super useful for our internal team wiki. I can simply use the URL of an editor with a document open and use that in an iframe on our wiki.

Apparently, that's not easily possible with the OO-OC connector? why can't i embed a link like
"https://myocserver.net/index.php/apps/onlyoffice/331" in a wiki and have it editable there? Some Cross-Site-Scripting issue?

The problem is that if we combine the two access methods - editing directly from within OC via the OO-OC integration AND embedding OC files via the WebDAV access from OC - then we tend to have two versions of the file which are not in sync! Concurrent editing only works from one of the two access paths, not from both at the same time.

Getting "Error, download failed" message

Hey Onlyoffice-Team,
I was getting quite far in setting up onlyoffice with my Nextcloud instance.
2017-03-01-155916_swaygrab
But somehow the onlyoffice app is unable to load the document :/
Here are some crucial parts of the Firefox network log:

Websocket get:

Host: office.example.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: https://office.example.com
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: PQOr/14uoy5wJdOp0rYxMQ==
DNT: 1
Connection: keep-alive, Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket

Webscoket Response

Server: nginx
Date: Wed, 01 Mar 2017 15:01:44 GMT
Connection: upgrade
Upgrade: websocket
Sec-WebSocket-Accept: P92tKIk4jJ9h48XUTymOd15lCTk=

Thats it, nothing further in this case.

Querying the info file works, as far as I can see:

Host: office.example.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://office.example.com/2017-02-17-15-53/web-apps/apps/documenteditor/main/index.html?_dc=2017-02-17-15-53&lang=en-US&customer=ONLYOFFICE&frameEditorId=iframeEditor
DNT: 1
Connection: keep-alive

Response header

Access-Control-Allow-Origin: *
Cache-Control: no-store, no-cache, no-transform, must-revalidate, max-age=0
Content-Encoding: gzip
Content-Type: application/json; charset=UTF-8
Date: Wed, 01 Mar 2017 15:01:44 GMT
Server: Caddy
Vary: Accept-Encoding, Origin, Accept-Encoding
Content-Length: 102
X-Firefox-Spdy: h2

Response content (JSON)

origins: {
0: "*.*"
}
cookie_needed: false
entropy: 54859483

If you could get me any hint to further debug this issue, I would be really happy :)

Best regards,
Jonas

Running Onlyoffice on Port 8080 via HTTP

Hello,

i have installed OnlyOffice and want to use ist with Owncloud. After configuring ip:8080 at the Owncloud admin Page i get the Error:
ONLYOFFICE app not configured. Please contact admin

I can creat documents but i cannot edit them.
Is it not Possible to run OnlyOffice via port 8080?

Unable to open documents in read-only folders in Nextcloud

Nextcloud 11.0.2 (stable), running on Ubuntu server 16.04.2
OnlyOffice integration app 1.0.2
OnlyOffice Document Server 4.3, running on Ubuntu server 16.04.2, installed via APT package

We have many documents that are shared in folders that are designated as "read-only" in Nextcloud (You don't have permission to upload or create files here). There is no option within the OnlyOffice integration to open office documents in these folders. Currently a user would have to download the read-only document and then start an office program on their desktop to view the document. It would be a huge improvement for the user to be able to view the office document within Nextcloud through the OnlyOffice interface.

This may be related to the enhancement discussed in issue #20.

Menu inconsistency (in NextCloud directory listing)

When clicking on the '3-dot' menu to the right of an '.odt' Libre/OpenOffice document shown in NextCloud 11 directory listing, the resulting drop-down menu includes 'Open in OnlyOffice' (as well as 'Details', 'Rename', "Delete' etc.). OnlyOffice only offers to convert the file into something like .docx which is fine, but...

when clicking the same '3-dot' menu to the right of a '.docx' document, there is no 'Open in OnlyOffice' option! Clicking on the filename itself opens the document in OnlyOffice, which is great, but inconsistent.

OnlyOffice App not configured

I installed only office on a separate server using docker and am able to access onlyoffice through that server. I enabled the app in Owncloud and cloned the dir as instructed, I then entered the ip address of the server that hosts my OnlyOffice on the admin page of owncloud. however when I try to open a doc from within owncloud it gives me a blank page with the message "ONLYOFFICE app not configured. Please contact admin"
onlyoffice

File download error with SMB/CIFS External storage

Environment:
oc 9.1.5
onlyoffice document server 4.3.2
onlyoffice integration app 1.0.2
External Storage app 0.6.0

Issue:
When you open a file from a SMB/CIFS external storage defined by the oc admin with authentication option "Session User" onlyoffice get "Download Error" message.
Same file, same external storage with "fixed user authentication" option, it works.

It seems that the app is not able to get session user credentials (using LDAP against active directory).

Here the ownCloud log when you try to open a file on SMB/CIFS external storage with session authentication (note that user is "--"):

{"reqId":"faCyDYYvWRFpwAN7bU+L","remoteAddr":"172.17.0.1","app":"onlyoffice","message":"Files for download not found: 2485058","level":1,"time":"Wed, 26 Apr 2017 22:12:54 +0200","method":"GET","url":"/index.php/apps/onlyoffice/download?doc=bzNsZjFpbzg4SGw1aDFXWFV2eERkR0NScWJNZTVLNUpJRldTSGlBNmt0UT0/eyJmaWxlSWQiOjI0ODUwNTgsIm93bmVySWQiOiJwcmMiLCJhY3Rpb24iOiJkb3dubG9hZCJ9","user":"--"}

Below the log in Onlyoffice converter/out.log:

[2017-04-25 12:21:22.887] [ERROR] nodeJS - error downloadFile:url=https://xxx.xxxxx.xx/index.php/apps/onlyoffice/download?doc=dk5GYjNDdS9YK2hmWkFQWnZMbGVlWFNoSkJBajBsTG55OHpIUnBKTTZnWT0/eyJmaWxlSWQiOjExMTE5ODYsIm93bmVySWQiOiJwcmMiLCJhY3Rpb24iOiJkb3dubG9hZCJ9;attempt=1;code:undefined;connect:undefined;(id=111198614931201232)
Error: Error response: statusCode:404 ;body:
{"message":"Files not found"}
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:234:20)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)
[2017-04-25 12:21:24.188] [ERROR] nodeJS - error downloadFile:url=https://xxx.xxxxx.xx/index.php/apps/onlyoffice/download?doc=dk5GYjNDdS9YK2hmWkFQWnZMbGVlWFNoSkJBajBsTG55OHpIUnBKTTZnWT0/eyJmaWxlSWQiOjExMTE5ODYsIm93bmVySWQiOiJwcmMiLCJhY3Rpb24iOiJkb3dubG9hZCJ9;attempt=2;code:undefined;connect:undefined;(id=111198614931201232)
Error: Error response: statusCode:404 ;body:
{"message":"Files not found"}
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:234:20)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)
[2017-04-25 12:21:25.468] [ERROR] nodeJS - error downloadFile:url=https://xxx.xxxxx.xx/index.php/apps/onlyoffice/download?doc=dk5GYjNDdS9YK2hmWkFQWnZMbGVlWFNoSkJBajBsTG55OHpIUnBKTTZnWT0/eyJmaWxlSWQiOjExMTE5ODYsIm93bmVySWQiOiJwcmMiLCJhY3Rpb24iOiJkb3dubG9hZCJ9;attempt=3;code:undefined;connect:undefined;(id=111198614931201232)
Error: Error response: statusCode:404 ;body:
{"message":"Files not found"}
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:234:20)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)

Signature Data not found

Hi, I have "Signature data not found" after I updated the onlyoffice app to the latest version.
What am I suppose to do ?
Thanks

@LinneyS

ownCloud missing entries for Activities and Versions

While everything else (ownCloud 9.1.4 to OnlyOffice 4.2.11 integration, online collaborative document editing, etc.) working as expected I do not see any entries in the details section of the ownCloud documents showing me new file versions or user activities. Not even sure if this is behavior by design, a bug or should go to the wish list for future improvements.

Guest view and edit

I'd love to see possibilities for guests viewing and editing through Nextcloud

Much like how you can share an document on Google Drive, where you can let people either just view it or edit.

Nextcloud 11.0.2 (stable) - "Error Download Failed"

Okay. So this is an issue that I have googled a bunch, and have found zero results for that actually fix my issue. I don't know what types of logs you would want me to provide to help you fix this issue. But I'll be happy to provide them if you tell me. I am accessing this internally, and this is the error I get when I open a document.

2017-03-30-204120_3840x4080_scrot

Some stuff up front
Ubuntu 16.04
Nginx 1.10.0 (Ubuntu)
Node v6.10.1
I installed all the packages that are necessary to install this, per your documentation.

Please let me know what logs/configs/whatever you want. Thanks!

Error 400 - WebSockets for Bad Request

Hi,

I am getting this error, what is the cause of this error?
Can you help me with this?

192.168.1.99 : Server
192.168.1.101 : OnlyOffice

vHost file for ofis.domain.com

# vhost_start ofis.domain.com
<VirtualHost 192.168.1.99:443>
 ServerName ofis.domain.com
 ServerAdmin [email protected]
 SSLEngine on
 SSLProxyEngine On
 SSLCertificateFile /etc/letsencrypt/live/ofis.domain.com/cert.pem
 SSLCertificateKeyFile /etc/letsencrypt/live/ofis.domain.com/privkey.pem
 SSLCertificateChainFile /etc/letsencrypt/live/ofis.domain.com/fullchain.pem
 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<IfModule mod_suexec.c>
    SuexecUserGroup domain domain
</IfModule>

<IfModule mod_suphp.c>
    suPHP_UserGroup domain domain
    suPHP_ConfigPath /home/domain
</IfModule>

# OnlyOffice
	RequestHeader unset Accept-Encoding
	ProxyPass / http://192.168.1.101/
	ProxyPassReverse / http://192.168.1.101/
	
ProxyPass "/websocket" "wss://192.168.1.101/websocket"
ProxyPassReverse "/websocket" "wss://192.168.1.101/websocket"

</VirtualHost>
# vhost_end ofis.domain.com

cloudhatasi

ddo-hatalar

Nextcloud 11.0.2.7 (stable) - OnlyOffice Plugin 1.0.2

Server configuration

Operating system:
CentOS 7.3
Web server:
Apache 2.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.