Giter Site home page Giter Site logo

nextcloud / richdocuments Goto Github PK

View Code? Open in Web Editor NEW
337.0 21.0 115.0 77.3 MB

πŸ“‘ Collabora Online for Nextcloud

Home Page: https://nextcloud.com/collaboraonline

PHP 39.58% CSS 0.02% JavaScript 46.30% Makefile 0.11% HTML 0.02% Shell 0.77% TypeScript 0.50% Vue 7.76% Gherkin 3.51% SCSS 1.42%
libreoffice libreoffice-online nextcloud odt open-source collabora hacktoberfest

richdocuments's Introduction

Nextcloud Office

A Nextcloud app integrating Collabora Online into your Nextcloud!

Nextcloud Office supports editing your documents in real time with multiple other editors, showing high fidelity, WYSIWYG rendering and preserving the layout and formatting of your documents.

Users can insert and reply to comments and invite others without a Nextcloud account for anonymous editing of files with a public link shared folder.

Nextcloud Office supports dozens of document formats including DOC, DOCX, PPT, PPTX, XLS, XLSX + ODF, Import/View Visio, Publisher and many more…

Nextcloud Office is based on the Collabora Online Development Edition (CODE) and is available free and under heavy development, adding features and improvements all the time! Enterprise users have access to the more stable, scalable Collabora Online Enterprise based version through a Nextcloud support subscription.

Installation

Nextcloud Office is built on Collabora Online which requires a dedicated service running next to the Nextcloud webserver stack. There are several ways to run the coolwsd service. For full details, see the related section in the admin manual https://docs.nextcloud.com/server/latest/admin_manual/office/index.html

This repository covers only the Nextcloud integration app which requires a Collabora Online server to connect to.

Note: it is possible to use Collabora Online’s integration with re-compiled and/or re-branded backends. This app may work with other WOPI Edtiors such as LibreOffice Online but it is not tested.

Federated editing / Global Scale

Collaborative editing of federated documents requires richdocuments version 3.4 on all involved servers. Besides that the following conditions must be met:

  • Make sure the remote server is added as a trusted server
  • Allow any domain to embed Collabora Online in a frame: <frame_ancestors>https://*</frame_ancestors> must be set in coolwsd.xml

Note: Due to our content security policy we cannot open a document on a remote instance without reloading the page to allow Nextcloud embedding the remote Collabora Online instance in a frame.

Development setup

Just clone this repo into your apps directory (Nextcloud server installation needed). Additionally, npm and Node.js are needed for installing JavaScript dependencies and building the frontend code.

Once npm and Node.js are installed, this can be done by running:

npm ci
npm run dev

Support

Enterprise users who need a more reliable and scalable solution can take advantage of Nextcloud GmbH's optional support contract for Collabora Online. Find out more about Enterprise support for Collabora Online over here: https://nextcloud.com/enterprise/

richdocuments's People

Contributors

ashod avatar butonic avatar deepdiver1975 avatar dependabot-preview[bot] avatar dependabot[bot] avatar elzody avatar eszkadev avatar github-actions[bot] avatar hcvcastro avatar jancborchardt avatar julien-nc avatar juliushaertl avatar kendy avatar lukasreschke avatar marcelklehr avatar mihai-varga avatar morrisjobke avatar mrkara avatar nextcloud-bot avatar nextcloud-command avatar nickvergessen avatar pranavk avatar pvince81 avatar rakekniven avatar raudius avatar rullzer avatar skjnldsv avatar timar avatar valdnet avatar vicdeo 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

richdocuments's Issues

In beta 12: File panel visible + full-screen not working

Steps to reproduce

  1. Open A document (click on it)
  2. Document opens with the Nextcloud file panel on the left [1st issue]
  3. From the menu View>Fullscreen [doesn't go fullscreen - 2nd issue]

Expected behaviour

The file panel should not be visible

Actual behaviour

File panel is visible when opening a document + Fullscreen doesn't work

Server configuration

Operating system: Linux server-us05.server.plus 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64

Web server: Apache (apache2handler)

Database: mysql 10.1.23

PHP version: 5.6.30
Modules loaded: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, memcache, exif, mcrypt, mysqlnd, mysql, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, SimpleXML, soap, sockets, sqlite3, tokenizer, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader, Zend Guard Loader, Zend OPcache

Nextcloud version: 12.0 beta 4 - 12.0.0.21

Updated from an older Nextcloud/ownCloud or fresh install:
Upgrade
Where did you install Nextcloud from:
Using Updater
Signing status:

Signing status
[]

List of activated apps:

App list ``` Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - admin_notifications: 1.0.0 - bruteforcesettings: 1.0.2 - calendar: 1.5.2 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - deck: 0.1.4 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_accesscontrol: 1.2.3 - files_automatedtagging: 1.2.2 - files_downloadactivity: 1.1.1 - files_markdown: 1.0.1 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - groupfolders: 1.0.2 - impersonate: 1.0.1 - issuetemplate: 0.2.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.1 - notes: 2.2.0 - notifications: 2.0.0 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - rainloop: 4.28.1 - richdocuments: 1.12.27 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - socialsharing_email: 1.0.1 - spreed: 2.0.0 - systemtags: 1.2.0 - tasks: 0.9.5 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0

Disabled:

  • encryption
  • external
  • files_external
  • survey_client
  • user_external
  • user_ldap
</details>

**The content of config/config.php:**
<details>
	<summary>Config report</summary>

{
"instanceid": "ocdzwwwgq2hd",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"nsa.gov"
],
"datadirectory": "/home/hmhazksq/nextclouddata",
"overwrite.cli.url": "http://nsa.gov",
"dbtype": "mysql",
"version": "12.0.0.21",
"dbname": "hmhazksq_next934",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"mail_smtpmode": "smtp",
"mail_from_address": "do_not_reply",
"mail_domain": "nsa.gov",
"mail_smtpauth": 1,
"mail_smtpauthtype": "LOGIN",
"mail_smtphost": "mail.nsa.gov",
"mail_smtpport": "465",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpsecure": "ssl",
"loglevel": 3,
"maintenance": false,
"updater.release.channel": "beta",
"theme": "",
"updater.secret": "REMOVED SENSITIVE VALUE"
}

</details>

**Are you using external storage, if yes which one:** files_external is disabled

**Are you using encryption:** no

**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...

### Client configuration
**Browser:** Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

**Operating system:**

### Logs
#### Web server error log
<details>
	<summary>Web server error log</summary>
	```
	Insert your webserver log here
	```
</details>

#### Nextcloud log (data/nextcloud.log)
<details>
	<summary>Nextcloud log</summary>
	```
	Insert your Nextcloud log here
	```
</details>

#### Browser log
<details>
	<summary>Browser log</summary>
	```
	Insert your browser log here, this could for example include:

	a) The javascript console log
	b) The network log
	c) ...
	```
</details>



![selection_036](https://cloud.githubusercontent.com/assets/6204273/26241295/74f82e42-3c84-11e7-8334-92d45fd3a226.png)

.

Error log:

wsd-00024-00032 17:39:00.279408 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:327
wsd-00024-00034 17:39:00.750445 [ docbroker_001 ] ERR  WOPI::CheckFileInfo is missing JSON payload| wsd/Storage.cpp:475

Can't reopen file where i leave it

Steps to reproduce

  1. Create a spreadsheet with a lot of lines
  2. Put some things inside and close the document at line 122 for exemple, collum G for exemple
  3. Save and close the spreadsheet
  4. Reopen the file

Expected behaviour

On older versions of richdocument, i should restart directly where i leave the doc. In this exemple on line 122 - G

Actual behaviour

Now the app start on the uper left, and i have to scroll down to find where i have to continue to edit my file. Therefore, the line 122 and collum G are in Blue.

Server configuration

Operating system: ubuntu server 16.04

Web server: apache 2.4

Database: MariaDB 10.1

PHP version: php 7.0

Nextcloud version: (see Nextcloud admin page) 11.0.2 happen on older version too

Updated from an older Nextcloud/ownCloud or fresh install: both

Where did you install Nextcloud from: tested for nextcloud.com and updated with the updaterapp.

Signing status:

Signing status

No errors have been found.

List of activated apps:

App list

Enabled:

  • activity: 2.4.1
  • calendar: 1.5.2
  • comments: 1.1.0
  • dav: 1.1.1
  • federatedfilesharing: 1.1.1
  • federation: 1.1.1
  • files: 1.6.1
  • files_pdfviewer: 1.0.1
  • files_sharing: 1.1.1
  • files_texteditor: 2.2
  • files_trashbin: 1.1.0
  • files_versions: 1.4.0
  • files_videoplayer: 1.0.0
  • firstrunwizard: 2.0
  • gallery: 16.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • notifications: 1.0.1
  • password_policy: 1.1.0
  • provisioning_api: 1.1.0
  • richdocuments: 1.1.25
  • serverinfo: 1.1.1
  • sharebymail: 1.0.1
  • survey_client: 0.1.5
  • systemtags: 1.1.3
  • theming: 1.1.1
  • twofactor_backupcodes: 1.0.0
  • twofactor_totp: 1.1.0
  • updatenotification: 1.1.1
  • workflowengine: 1.1.1

The content of config/config.php:

Config report

{
"system": {
"instanceid": "oc9wfqf2th66",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"192.168.10.19",
"REMOVED SENSITIVE VALUE"
],
"datadirectory": "/data",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "11.0.2.7",
"dbname": "cloud",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "Europe/Paris",
"installed": true,
"htaccess.RewriteBase": "/",
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"filelocking.enabled": "true",
"redis": {
"host": "/var/run/redis/redis.sock",
"port": 0,
"timeout": 0
},
"maintenance": false,
"loglevel": 3,
"mail_smtpmode": "smtp",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "587",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpsecure": "tls",
"updater.release.channel": "stable"
}
}

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser: All of them, Safari on OS X, Firefox on OS X / Windows, Chrome OS X / Windows

Operating system: OS X 10.10.5 -> 10.12.4 / Windows 7 -> 10

Logs

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here ```

Browser log

Browser log ``` Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

</details>

Online document is not refreshed

Steps to reproduce

  1. Open the document online
  2. Ask a friend to open the document online
  3. Take a screenshot
  4. Close the document
  5. Refresh the document on the desktop
  6. Open the document online again
  7. Take another screenshot
  8. Compare screenshots

Note: the friend keeps the doc opened the whole time

Expected behaviour

The screenshots should be different

Actual behaviour

The screenshots are the same.

If I download the file instead I get the latest version. Collabora just refuses to show it online.
I suspect this happens because someone is still viewing the old version, but it shouldn't have an impact.

No App icon after install

After installing (tried both current github as well as latest release, on both NC 11.0 as well as current github), no new icon appears in the menu. The (admin) settings page does work, the app is shown as being 'enabled' but it does not work.
Manually navigating to NC_BASE_ADDRESS/index.php/apps/richdocuments/index does not work either ('no app in context' in log, CSRF check failed in UI).

Icons still show after opening doc from Favorites page

Steps to reproduce

  1. Mark an OpenOffice doc as favorite
  2. Go to Favorite page
  3. Open a document

Expected behaviour

Everything visible from the Favorite page should disappear and doc editor shows

Actual behaviour

Filename and Favorite icon (star) disappear but file-type icon remains on top of doc editor

I have found a solution but not sure if it is a proper solution. I edit the file '/apps/richdocuments/js/viewer/viewer.js' on line 105 I added in the style section 'z-index:5'.

I went from this line:

var $iframe = $('<iframe id="richdocumentsframe" style="width:100%;height:100%;display:block;position:absolute;top:0;" src="'+viewer+'" />');

to

var $iframe = $('<iframe id="richdocumentsframe" style="width:100%;height:100%;display:block;position:absolute;top:0;z-index:5;" src="'+viewer+'" />');

This since I noticed that the file-type icons have a z-index of 4.

Server configuration

Operating system: Ubuntu 16.04
Web server: Apache
Database: MySQL
PHP version: 7.0
Nextcloud version: 11,0.3RC2

Updated from an older Nextcloud/ownCloud or fresh install: Clean install

Where did you install Nextcloud from: Original file from nextcloud.com

Signing status:

Signing status

No errors have been found.

List of activated apps:

App list

Enabled:

  • activity: 2.4.1
  • admin_audit: 1.1.0
  • announcementcenter: 3.0.0
  • audioplayer: 1.5.1
  • comments: 1.1.0
  • dav: 1.1.1
  • deck: 0.1.2
  • federatedfilesharing: 1.1.1
  • federation: 1.1.1
  • files: 1.6.1
  • files_accesscontrol: 1.1.2
  • files_external: 1.1.2
  • files_pdfviewer: 1.0.1
  • files_sharing: 1.1.1
  • files_texteditor: 2.2
  • files_trashbin: 1.1.0
  • files_versions: 1.4.0
  • files_videoplayer: 1.0.0
  • firstrunwizard: 2.0
  • gallery: 16.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.0
  • notifications: 1.0.1
  • onlyoffice: 1.0.2
  • passman: 2.1.1
  • password_policy: 1.1.0
  • previewgenerator: 1.0.5
  • provisioning_api: 1.1.0
  • richdocuments: 1.1.25
  • serverinfo: 1.1.1
  • sharebymail: 1.0.1
  • spreedme: 0.3.8
  • survey_client: 0.1.5
  • systemtags: 1.1.3
  • templateeditor: 0.2
  • theming: 1.1.1
  • twofactor_backupcodes: 1.0.0
  • updatenotification: 1.1.1
  • workflowengine: 1.1.1
    Disabled:
  • encryption
  • external
  • files_automatedtagging
  • files_retention
  • user_external
  • user_ldap
  • user_saml

The content of config/config.php:

Config report

{
"system": {
"instanceid": "occ3bgzu13dp",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.wijman.net"
],
"forwarded_for_headers": [
"HTTP_X_FORWARDED",
"HTTP_FORWARDED_FOR"
],
"datadirectory": "/media/nextcloud",
"overwrite.cli.url": "https://cloud.wijman.net",
"dbtype": "mysql",
"version": "11.0.3.1",
"dbname": "nextcloud",
"dbhost": "192.168.7.244",
"dbtableprefix": "nc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"trusted_proxies": [
"192.168.7.241",
"127.0.0.1"
],
"overwriteprotocol": "https",
"overwritewebroot": "/",
"overwritecondaddr": "^192\.168\.7\.241$",
"mail_from_address": "cloud",
"mail_smtpmode": "smtp",
"mail_domain": "wijman.net",
"memcache.local": "\OC\Memcache\Redis",
"filelocking.enabled": true,
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "localhost",
"port": 6379
},
"maintenance": false,
"log_type": "owncloud",
"logfile": "/var/log/nextcloud.log",
"loglevel": "2",
"log_rotate_size": "104857600",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtphost": "smtp.mailarena.net",
"mail_smtpport": "587",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"htaccess.RewriteBase": "/",
"updater.server.url": "https://updates.nextcloud.org/updater_server/",
"filesystem_check_changes": 1,
"enable_previews": true,
"preview_max_x": 640,
"preview_max_y": 640,
"preview_max_scale_factor": 4,
"skeletondirectory": "/media/nextcloud/skeleton",
"appstore.experimental.enabled": true,
"session_keepalive": true,
"activity_expire_days": 365,
"theme": "wijman",
"mail_smtpsecure": "tls",
"enabledPreviewProviders": [
"OC\Preview\PNG",
"OC\Preview\JPEG",
"OC\Preview\GIF",
"OC\Preview\BMP",
"OC\Preview\XBitmap",
"OC\Preview\MP3",
"OC\Preview\TXT",
"OC\Preview\MarkDown",
"OC\Preview\PDF"
],
"asset-pipeline.enabled": true,
"share_folder": "/Shares"
}
}

Are you using external storage, if yes which one: local + smb

Are you using encryption: no

Are you using an external user-backend, if yes which one: local

Client configuration

Browser: Google Chrome

Operating system: Windows 10

Collabora: WRN WOPI host did not pass optional access_token_ttl|

Hello,

I run cloud.domain.nl with nginx reverse prox and apache2. I have Collabora docker on office.domain.nl where i've disabled apache2 for and only use nginx with the config below.

Expected behaviour

Editor should open when opening a .odt doc.

Actual behaviour

Collabora screen opens, keeps initializing and then times out with no error message

Nginx office.domain config

listen       443 ssl;
server_name  office.domain.nl;

ssl_certificate /usr/local/psa/var/modules/letsencrypt/etc/live/office.domain.nl/fullchain.pem;
ssl_certificate_key /usr/local/psa/var/modules/letsencrypt/etc/live/office.domain.nl/privkey.pem;

# static files
location ^~ /loleaflet {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

# WOPI discovery URL
location ^~ /hosting/discovery {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

# Main websocket
location ~ /lool/(.*)/ws$ {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "Upgrade";
	proxy_set_header Host $http_host;
	proxy_read_timeout 36000s;
}

# Admin Console websocket
location ^~ /lool/adminws {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "Upgrade";
	proxy_set_header Host $http_host;
	proxy_read_timeout 36000s;
}

# download, presentation and image upload
location ^~ /lool {
	proxy_pass https://127.0.0.1:9980;
	proxy_set_header Host $http_host;
}

Docker logs

wsd-00026-00034 19:18:51.987142 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:327
wsd-00026-00034 19:18:52.721646 [ websrv_poll ] ERR  #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0
wsd-00026-00034 19:19:52.723134 [ websrv_poll ] ERR  #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0
wsd-00026-00034 19:19:52.961294 [ websrv_poll ] ERR  #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0
wsd-00026-00034 19:20:52.962154 [ websrv_poll ] ERR  #18 Exception while processing incoming request: [GET /lool/https%3A%2F%2Fcloud.domain.nl%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F81%3Facc...]: Invalid or unknown request.| wsd/LOOLWSD.cpp:1665oken_ttl%3D0%26permission%3Dedit/ws HTTP/1.0

Server configuration

Operating system: Linux domain.nl 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64

Web server: Apache (fpm-fcgi)

Database: mysql 5.7.18

PHP version: 7.1.4
Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mcrypt, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 11.0.3 (stable) - 11.0.3.2

Updated from an older Nextcloud/ownCloud or fresh install:
Update from 10

Where did you install Nextcloud from:
nextcloud-setup.php web installer

Signing status:

Signing status
[]

List of activated apps:

App list ``` Enabled: - activity: 2.4.1 - activitylog: 0.0.1 - admin_audit: 1.1.0 - admin_notifications: 1.0.0 - announcementcenter: 3.0.0 - audioplayer: 1.5.1 - calendar: 1.5.2 - checksum: 0.3.4 - comments: 1.1.0 - contacts: 1.5.3 - dav: 1.1.1 - deck: 0.1.4 - defaultgroup: 0.2.0 - external: 1 - federatedfilesharing: 1.1.1 - federation: 1.1.1 - files: 1.6.1 - files_accesscontrol: 1.1.2 - files_automatedtagging: 1.1.1 - files_downloadactivity: 1.0.1 - files_external: 1.1.2 - files_markdown: 1.0.1 - files_pdfviewer: 1.0.1 - files_reader: 1.0.4 - files_retention: 1.0.1 - files_sharing: 1.1.1 - files_texteditor: 2.2 - files_trashbin: 1.1.0 - files_versions: 1.4.0 - files_videoplayer: 1.0.0 - firstrunwizard: 2.0 - gallery: 16.0.0 - githubmergetracker: 0.0.15 - issuetemplate: 0.2.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - mail: 0.6.4 - news: 10.2.0 - nextcloud_announcements: 1.0 - notes: 2.2.0 - notifications: 1.0.1 - ojsxc: 3.1.1 - ownbackup: 17.3.0 - password_policy: 1.1.0 - previewgenerator: 1.0.6 - provisioning_api: 1.1.0 - registration: 0.2.3 - richdocuments: 1.1.24 - serverinfo: 1.1.1 - sharebymail: 1.0.1 - spreed: 1.2.0 - survey_client: 0.1.5 - systemtags: 1.1.3 - tasks: 0.9.5 - templateeditor: 0.2 - theming: 1.1.1 - twofactor_backupcodes: 1.0.0 - twofactor_totp: 1.1.0 - twofactor_u2f: 1.2.0 - updatenotification: 1.1.1 - user_external: 0.4 - weather: 1.3.5 - workflowengine: 1.1.1

Disabled:

  • encryption
  • user_ldap
  • user_saml
</details>

Setting "Use OOXML by default for new files" not working

Steps to reproduce

  1. Enable "Use OOXML by default for new files" in settings
  2. Create a new Spreadsheet or Document

Expected behaviour

New Documents are created as OOXML (docx/xlsx)

Actual behaviour

New Documents are created as ODF (odt/ods)

Server configuration

Operating system: CentOS 7.3

Web server: Apache/2.4.6

Database: mysql 5.5.52

PHP version: 5.6.25

Nextcloud version: 11.0.3 (stable) - 11.0.3.2

Collabora Version: 1.11.27

Updated from an older Nextcloud/ownCloud or fresh install: Updated from NC10.0.5

Where did you install Nextcloud from: zip

cc: @MorrisJobke

Undefined variable: instanceId at /var/www/nextcloud/apps/richdocuments/lib/helper.php#38

Steps to reproduce

  1. Install Collabora on Nextcloud 12

Expected behaviour

No error

Actual behaviour

Undefined variable: instanceId at /var/www/nextcloud/apps/richdocuments/lib/helper.php#38

Server configuration

Operating system: Linux cloud.techandme.se 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64

Web server: Apache/2.4.18 (Ubuntu) (apache2handler)

Database: mysql 5.7.18

PHP version: 7.0.15-0ubuntu0.16.04.4
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache

Nextcloud version: 12.0.0 - 12.0.0.29

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from:

Signing status:

Signing status
[]

List of activated apps:

App list ``` Enabled: - activity: 2.5.2 - admin_notifications: 1.0.0 - bruteforcesettings: 1.0.2 - calendar: 1.5.3 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_downloadactivity: 1.1.1 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - impersonate: 1.0.1 - issuetemplate: 0.2.1 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - mail: 0.6.4 - nextcloud_announcements: 1.1 - notes: 2.2.0 - notifications: 2.0.0 - oauth2: 1.0.5 - ocsms: 1.12.0 - ownnote: 1.08 - password_policy: 1.2.2 - previewgenerator: 1.0.6 - provisioning_api: 1.2.0 - qownnotesapi: 17.5.0 - richdocuments: 1.12.28 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - socialsharing_diaspora: 1.0.1 - socialsharing_email: 1.0.1 - socialsharing_facebook: 1.0.1 - socialsharing_googleplus: 1.0.1 - socialsharing_twitter: 1.0.1 - spreed: 2.0.1 - survey_client: 1.0.0 - systemtags: 1.2.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - twofactor_totp: 1.3.0 - updatenotification: 1.2.0 - workflowengine: 1.2.0

Disabled:

  • admin_audit
  • encryption
  • external
  • files_accesscontrol
  • files_automatedtagging
  • files_retention
  • user_external
  • user_ldap
  • user_saml
</details>

**The content of config/config.php:**
<details>
	<summary>Config report</summary>

{
"updatechecker": false,
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"localhost",
"192.168.4.111",
"cloud.techandme.se",
"office.techandme.se"
],
"datadirectory": "/var/ncdata",
"overwrite.cli.url": "https://cloud.techandme.se/",
"dbtype": "mysql",
"version": "12.0.0.29",
"dbname": "owncloud_db",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "Europe/Stockholm",
"installed": true,
"instanceid": "oc7aii0tkiol",
"appstore.experimental.enabled": "true",
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_smtpport": "587",
"mail_smtphost": "smtp.gmail.com",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "no-reply",
"mail_domain": "techandme.se",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"allowZipDownload": true,
"session_lifetime": 1800,
"forcessl": true,
"logfile": "/var/log/nfs-share/nextcloud.log",
"loglevel": 2,
"preview_libreoffice_path": "/usr/bin/libreoffice",
"memcache.local": "\OC\Memcache\Redis",
"filelocking.enabled": true,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "/var/run/redis/redis.sock",
"port": 0,
"timeout": 0,
"dbindex": 0
},
"trusted_proxies": [
[
"192.168.4.201"
]
],
"forwarded_for_headers": [
"HTTP_X_FORWARDED",
"HTTP_FORWARDED_FOR"
],
"maintenance": false,
"mail_smtpsecure": "tls",
"htaccess.RewriteBase": "/",
"theme": "",
"updater.release.channel": "stable",
"mysql.utf8mb4": true
}

</details>

**Are you using external storage, if yes which one:** Array
(
    [0] => \OC\Files\Storage\Local
    [1] => \OCA\Files_External\Lib\Storage\FTP
    [2] => \OC\Files\Storage\DAV
    [3] => \OCA\Files_External\Lib\Storage\OwnCloud
    [4] => \OCA\Files_External\Lib\Storage\SFTP
    [5] => \OCA\Files_External\Lib\Storage\AmazonS3
    [6] => \OCA\Files_External\Lib\Storage\Dropbox
    [7] => \OCA\Files_External\Lib\Storage\Google
    [8] => \OCA\Files_External\Lib\Storage\Swift
    [9] => \OCA\Files_External\Lib\Storage\SFTP
    [10] => \OCA\Files_External\Lib\Storage\SMB
    [11] => \OCA\Files_External\Lib\Storage\SMB
)


**Are you using encryption:** no

**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...

### Client configuration
**Browser:** Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/58.0.3029.110 Chrome/58.0.3029.110 Safari/537.36

**Operating system:**

### Logs
#### Web server error log
<details>
	<summary>Web server error log</summary>
	```
	Insert your webserver log here
	```
</details>

#### Nextcloud log (data/nextcloud.log)
<details>
	<summary>Nextcloud log</summary>
	```
	Insert your Nextcloud log here
	```
</details>

#### Browser log
<details>
	<summary>Browser log</summary>
	```
	Insert your browser log here, this could for example include:

	a) The javascript console log
	b) The network log
	c) ...
	```
</details>

Collabora fails to load

Steps to reproduce

  1. Navigate to a .ods file
  2. Click on the file
    Collabora opens in a iframe, howing a spinner and "connecting"

Expected result:

-> The document is loaded for editing

Actual result:

-> Nothing, the spinner keeps spinning above the text "connecting" (it still is, so no timeout/error message is shown)

The last modified date of the file is April 26, and I'm fairly certain I edited it through Collabora that time, or at least not much longer ago.
Some time after updating NC to 12 this week I noticed it didn't work anymore.
I only updated the docker image (and my apache config) after I already noticed editing being broken, that didn't help.

Server configuration

Operating system: Linux tubul.net 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64

Web server: Apache (apache2handler)

Database: pgsql PostgreSQL 9.4.11 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit

PHP version: 7.0.18-1~dotdeb+8.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, igbinary, msgpack, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, interbase, intl, json, ldap, exif, mcrypt, memcached, PDO_Firebird, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 12.0 beta 2 - 12.0.0.18

Updated from 12 beta 1 to beta 2 (And 11 before that)

Where did you install Nextcloud from: Beta channel, through the updater

Signing status: No errors have been found.

App list
Enabled:
 - activity: 2.5.2
 - admin_audit: 1.2.0
 - calendar: 1.5.2
 - contacts: 1.5.3
 - dav: 1.3.0
 - federatedfilesharing: 1.2.0
 - federation: 1.2.0
 - files: 1.7.2
 - files_external: 1.3.0
 - files_markdown: 1.0.1
 - files_pdfviewer: 1.1.1
 - files_sharing: 1.4.0
 - files_texteditor: 2.4.1
 - files_trashbin: 1.2.0
 - files_versions: 1.5.0
 - files_videoplayer: 1.1.0
 - firstrunwizard: 2.1
 - issuetemplate: 0.2.1
 - logreader: 2.0.0
 - lookup_server_connector: 1.0.0
 - news: 11.0.0
 - nextcloud_announcements: 1.1
 - notifications: 2.0.0
 - provisioning_api: 1.2.0
 - richdocuments: 1.1.26
 - serverinfo: 1.2.0
 - sharebymail: 1.2.0
 - socialsharing_email: 1.0.1
 - survey_client: 1.0.0
 - tasks: 0.9.5
 - theming: 1.3.0
 - twofactor_backupcodes: 1.1.0
 - twofactor_totp: 1.3.0
 - updatenotification: 1.2.0
 - workflowengine: 1.2.0

Disabled:
 - apporder
 - bookmarks
 - comments
 - deck
 - encryption
 - gallery
 - mail
 - password_policy
 - spreed
 - systemtags
 - user_external
 - user_ldap
config.php
{
    "instanceid": "ocaed749a93a",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "\/var\/www\/nextcloud\/data",
    "dbtype": "pgsql",
    "version": "12.0.0.18",
    "installed": true,
    "forcessl": true,
    "loglevel": 2,
    "theme": "",
    "maintenance": false,
    "defaultapp": "news",
    "enable_previews": true,
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\XBitmap",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\Illustrator",
        "OC\\Preview\\Movie",
        "OC\\Preview\\MSOffice2003",
        "OC\\Preview\\MSOffice2007",
        "OC\\Preview\\MSOfficeDoc",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\PDF",
        "OC\\Preview\\Photoshop",
        "OC\\Preview\\Postscript",
        "OC\\Preview\\StarOffice",
        "OC\\Preview\\SVG",
        "OC\\Preview\\TIFF",
        "OC\\Preview\\Font"
    ],
    "trusted_domains": [
        "fnp.tubul.net",
        "public.tubul.net",
        "tubul.net",
        "webmail.tubul.net",
        "cloud.tubul.net"
    ],
    "dbname": "owncloud",
    "dbhost": "localhost",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "forceSSLforSubdomains": true,
    "mail_from_address": "nextcloud",
    "mail_smtpmode": "php",
    "mail_domain": "tubul.net",
    "updatechecker": true,
    "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
    "updater.release.channel": "beta",
    "apps_paths": [
        {
            "path": "\/var\/www\/nextcloud\/public\/apps",
            "url": "\/apps",
            "writable": true
        }
    ],
    "appstoreenabled": true,
    "appcodechecker": false,
    "appstore.experimental.enabled": true,
    "appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v0",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "trashbin_retention_obligation": "auto",
    "asset-pipeline.enabled": true,
    "overwrite.cli.url": "https:\/\/fnp.tubul.net",
    "htaccess.RewriteBase": "\/",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

External storage/encryption/an external user-backend: no, no, no

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

Operating system:
Devuan:

# uname -a
Linux tubul.net 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux

Apache config

nextcloud.conf
    <VirtualHost *:443>
        ServerName fnp.tubul.net
        ServerAlias cloud.tubul.net
        ServerAlias public.tubul.net
        ServerAdmin [email protected]

        AssignUserID www-nextcloud www-nextcloud

        SSLEngine On

        DocumentRoot /var/www/nextcloud/public
        <Directory /var/www/nextcloud/public>
                Options -Indexes +FollowSymLinks -MultiViews
                AllowOverride All
                Require all granted

                SetEnv HOME /var/www/nextcloud
                SetEnv HTTP_HOME /var/www/nextcloud/public
        </Directory>

        <IfModule mod_dav.c>
                Dav off
        </IfModule>

        ErrorLog ${APACHE_LOG_DIR}/nextcloud/error.log
        CustomLog ${APACHE_LOG_DIR}/nextcloud/access.log combined
    </VirtualHost>
collabora.conf
<VirtualHost *:443>
  ServerName collabora.tubul.net

  # Encoded slashes need to be allowed (added NoDecode in an attempt to fix this issue, didn't help)
  AllowEncodedSlashes NoDecode

  AssignUserID www-nextcloud www-nextcloud

  # Container uses a unique non-signed certificate
  SSLProxyEngine On
  SSLProxyVerify None
  SSLProxyCheckPeerCN Off
  SSLProxyCheckPeerName Off

  # keep the host
  ProxyPreserveHost On

  # static html, js, images, etc. served from loolwsd
  # loleaflet is the client part of LibreOffice Online
  ProxyPass           /loleaflet https://127.0.0.1:9980/loleaflet retry=0
  ProxyPassReverse    /loleaflet https://127.0.0.1:9980/loleaflet

  # WOPI discovery URL
  ProxyPass           /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
  ProxyPassReverse    /hosting/discovery https://127.0.0.1:9980/hosting/discovery

  # Main websocket (added nocanon in an attempt to fix this issue, didn't help)
  ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon

  # Admin Console websocket
  ProxyPass   /lool/adminws wss://127.0.0.1:9980/lool/adminws

  # Download as, Fullscreen presentation and Image upload operations
  ProxyPass           /lool https://127.0.0.1:9980/lool
  ProxyPassReverse    /lool https://127.0.0.1:9980/lool

  Header set X-Frame-Options "ALLOW_FROM https://fnp.tubul.net"
  Header unset Content-Security-Policy
</VirtualHost>

Logs

nextcloud.log
{"reqId":"XXjpd1oxhk70WcayBC6K","level":3,"time":"2017-05-10T20:57:25+00:00","remoteAddr":"212.92.123.232","user":"richard","app":"PHP","method":"GET","url":"\/core\/preview.png?file=%2FDocuments%2Fspreadsheets%2FMaximedia%2Foveruren.ods&c=14fdb702e2210198973a33febae052b4&x=36&y=36&forceIcon=0","message":"unlink(\/tmp\/oc_tmp_RWRPoi-.pdf): No such file or directory at \/var\/www\/nextcloud\/public\/lib\/private\/Preview\/Office.php#61","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.98 Safari\/537.36","version":"12.0.0.18"}
{"reqId":"XXjpd1oxhk70WcayBC6K","level":3,"time":"2017-05-10T20:57:25+00:00","remoteAddr":"212.92.123.232","user":"richard","app":"core","method":"GET","url":"\/core\/preview.png?file=%2FDocuments%2Fspreadsheets%2FMaximedia%2Foveruren.ods&c=14fdb702e2210198973a33febae052b4&x=36&y=36&forceIcon=0","message":"unable to open image `\/tmp\/oc_tmp_RWRPoi-.pdf': No such file or directory @ error\/blob.c\/OpenBlob\/2712","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.98 Safari\/537.36","version":"12.0.0.18"}
{"reqId":"wp0iqqUkZa9wUQrPxsz3","level":3,"time":"2017-05-10T20:57:25+00:00","remoteAddr":"212.92.123.232","user":"richard","app":"PHP","method":"GET","url":"\/core\/preview.png?file=%2FDocuments%2Fspreadsheets%2FMaximedia%2Fvrije+dagen.ods&c=60aa67f65737726b9d9b2726968bbb07&x=36&y=36&forceIcon=0","message":"unlink(\/tmp\/oc_tmp_pRKqkE-.pdf): No such file or directory at \/var\/www\/nextcloud\/public\/lib\/private\/Preview\/Office.php#61","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.98 Safari\/537.36","version":"12.0.0.18"}
{"reqId":"wp0iqqUkZa9wUQrPxsz3","level":3,"time":"2017-05-10T20:57:25+00:00","remoteAddr":"212.92.123.232","user":"richard","app":"core","method":"GET","url":"\/core\/preview.png?file=%2FDocuments%2Fspreadsheets%2FMaximedia%2Fvrije+dagen.ods&c=60aa67f65737726b9d9b2726968bbb07&x=36&y=36&forceIcon=0","message":"unable to open image `\/tmp\/oc_tmp_pRKqkE-.pdf': No such file or directory @ error\/blob.c\/OpenBlob\/2712","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.98 Safari\/537.36","version":"12.0.0.18"}

Docker

started with
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=fnp\\.tubul\\.net' --restart always --cap-add MKNOD collabora/code

# docker logs
Generating RSA private key, 2048 bit long modulus
................................+++
........................................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
...........................+++
..+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.0 - b2e736a3
office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.3", "ProductExtension": ".10.10", "BuildId": "77b0d93c0f6ff6490e909dbd81b1994862a31b3a" }

(Opening document in nextcloud now)

wsd-00025-00033 20:34:45.790185 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:327
wsd-00025-00035 20:34:46.928058 [ docbroker_001 ] ERR  WOPI::CheckFileInfo is missing JSON payload| wsd/Storage.cpp:475
wsd-00025-00035 20:34:46.932977 [ docbroker_001 ] ERR  Invalid fileinfo for URI [https://fnp.tubul.net/apps/richdocuments/wopi/files/101420_ocaed749a93a?access_token=vBQsC8CnMpPSZB0Rp384QwB8gofc72zj&access_token_ttl=0&permission=edit].| wsd/DocumentBroker.cpp:494
wsd-00025-00035 20:34:46.934693 [ docbroker_001 ] ERR  Failed to load document with URI [https://fnp.tubul.net/apps/richdocuments/wopi/files/101420_ocaed749a93a?access_token=vBQsC8CnMpPSZB0Rp384QwB8gofc72zj&access_token_ttl=0&permission=edit].| wsd/DocumentBroker.cpp:814
wsd-00025-00035 20:34:46.938563 [ docbroker_001 ] ERR  Exception while invoking poll [docbroker_001] callback: Failed to load document with URI [https://fnp.tubul.net/apps/richdocuments/wopi/files/101420_ocaed749a93a?access_token=vBQsC8CnMpPSZB0Rp384QwB8gofc72zj&access_token_ttl=0&permission=edit].| ./net/Socket.hpp:382
wsd-00025-00035 20:34:46.940719 [ docbroker_001 ] WRN  Child session [0002] not found to forward message: load url=https://fnp.tubul.net/apps/richdocuments/wopi/files/101420_ocaed749a93a?access_token=vBQsC8CnMpPSZB0Rp384QwB8gofc72zj&access_token_ttl=0&permission=edit readonly=1 lang=en-GB| wsd/DocumentBroker.cpp:1270
wsd-00025-00035 20:34:51.710951 [ docbroker_001 ] WRN  Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:287
wsd-00025-00035 20:34:51.718805 [ docbroker_001 ] ERR  Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00025-00035 20:34:51.722669 [ docbroker_001 ] ERR  Socket #18 SSL BIO error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown (errno: Success)| ./net/SslSocket.hpp:273
wsd-00025-00035 20:34:51.744565 [ docbroker_001 ] WRN  ToClient-0002: Exception while closing socket for docKey [/apps/richdocuments/wopi/files/101420_ocaed749a93a]: error:140D00CF:SSL routines:SSL_write:protocol is shutdown| wsd/ClientSession.cpp:783

Feature request: Collabora Online for shared hosting

While only few people out there have a server with root access many use Nextcloud on a cheaper shared hosting but they can't use Collabora Online, right? How about enhancing it to be used on a shared hosting, like Nextcloud?

show display names instead of UUID in user list

Steps to reproduce

  1. Open a document
  2. look at the list of connected users
  3. see only UUIDs

Expected behaviour

The display name of users should be displayed (maybe the internal username/UUID in parentheses)

Actual behaviour

The internal username/UUID is displayed

Server configuration

Operating system: Debian 8.8

Web server: Apache 2.4.10

Database: PostgreSQL 9.4

PHP version: 5.6.30

Nextcloud version: 11.0.3

Updated from an older Nextcloud/ownCloud or fresh install: updated from older versions

Where did you install Nextcloud from: updater app

Are you using an external user-backend, if yes which one: yes, LDAP

cURL error 3: <url> malformed

Steps to reproduce

  1. Open any document file on my instance

Expected behaviour

I should see my document

Actual behaviour

I see an error on the page and in the error log

Server configuration

Operating system:
Ubuntu 16.04.2

Web server:
Apache 2.2

Database:
MariaDB

PHP version:
7.0.15

Nextcloud version: (see Nextcloud admin page)
12.0 beta 4

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 12.0 beta 2 but same issue existed

Where did you install Nextcloud from:
PHP install script

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - activity: 2.5.2
  - admin_audit: 1.2.0
  - bruteforcesettings: 1.0.2
  - calendar: 1.5.2
  - comments: 1.2.0
  - dav: 1.3.0
  - federatedfilesharing: 1.2.0
  - federation: 1.2.0
  - files: 1.7.2
  - files_external: 1.3.0
  - files_pdfviewer: 1.1.1
  - files_retention: 1.1.2
  - files_sharing: 1.4.0
  - files_texteditor: 2.4.1
  - files_trashbin: 1.2.0
  - files_versions: 1.5.0
  - files_videoplayer: 1.1.0
  - firstrunwizard: 2.1
  - gallery: 17.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.1
  - notifications: 2.0.0
  - password_policy: 1.2.2
  - provisioning_api: 1.2.0
  - richdocuments: 1.12.27
  - serverinfo: 1.2.0
  - sharebymail: 1.2.0
  - survey_client: 1.0.0
  - systemtags: 1.2.0
  - theming: 1.3.0
  - twofactor_backupcodes: 1.1.1
  - updatenotification: 1.2.0
  - workflowengine: 1.2.0
Disabled:
  - documents
  - encryption
  - music
  - user_external
  - user_ldap
</details>

**The content of config/config.php:**
<details>
<summary>Config report</summary>

```json
{
    "system": {
        "instanceid": "ocd4udorn6gg",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "...",
            "....no-ip.org",
            "....ddns.net",
            "....homenet.org"
        ],
        "datadirectory": "\/var\/www\/nextcloud\/data",
        "overwrite.cli.url": "http:\/\/...\/nextcloud",
        "dbtype": "mysql",
        "version": "12.0.0.21",
        "logtimezone": "UTC",
        "installed": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "trashbin_retention_obligation": "auto",
        "appstore.experimental.enabled": true,
        "dbname": "owncloud",
        "dbhost": "127.0.0.1",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "updater.release.channel": "beta",
        "mail_from_address": "...",
        "mail_smtpmode": "php",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "..."
    }
}

Are you using external storage, if yes which one: no

Are you using encryption: Letsencrypt certificate

Are you using an external user-backend, if yes which one: no

Client configuration

Browser:
Chrome 58

Operating system:
Windows 7

Logs

Web server error log

Web server error log None

Nextcloud log (data/nextcloud.log)

(JSON formated and duplicate back-slashes removed)

{
    "reqId": "SB6dWRTt22YYFP6XJwRx",
    "level": 3,
    "time": "2017-05-19T07:41:56+00:00",
    "remoteAddr": "...",
    "user": "...",
    "app": "richdocuments",
    "method": "GET",
    "url": "/nextcloud/index.php/apps/richdocuments/index?fileId=167904&requesttoken=%2F21lU39ibZspQfU6IrTk7MpBSBfR6pPj%2Bdrq2QTM9Iw%3D%3AyiQsF0ZNXqNqN94VScej2YEKCiLk38mNnLGv6kWdrOU%3D",
    "message": "Exception: {\"Exception\":\"GuzzleHttp\Exception\RequestException\",\"Message\":\"cURL error 3: <url> malformed\",\"Code\":0,\"Trace\":\"#0 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php(103): GuzzleHttp\Exception\RequestException::wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\RingException))n#1 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))n#2 /var/www/html/nextcloud/3rdparty/react/promise/src/FulfilledPromise.php(25): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)n#3 /var/www/html/nextcloud/3rdparty/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)n#4 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)n#5 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php(134): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))n#6 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(165): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))n#7 /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(125): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))n#8 /var/www/html/nextcloud/lib/private/Http/Client/Client.php(138): GuzzleHttp\Client->get('/hosting/discov...', Array)n#9 /var/www/html/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php(84): OC\Http\Client\Client->get('/hosting/discov...')n#10 /var/www/html/nextcloud/apps/richdocuments/lib/WOPI/Parser.php(41): OCA\Richdocuments\WOPI\DiscoveryManager->get()n#11 /var/www/html/nextcloud/apps/richdocuments/lib/TokenManager.php(94): OCA\Richdocuments\WOPI\Parser->getUrlSrc('application/vnd...')n#12 /var/www/html/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php(108): OCA\Richdocuments\TokenManager->getToken(*** sensitive parameters replaced ***)n#13 [internal function]: OCA\Richdocuments\Controller\DocumentController->index('167904')n#14 /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(160): call_user_func_array(Array, Array)n#15 /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(90): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Richdocuments\Controller\DocumentController), 'index')n#16 /var/www/html/nextcloud/lib/private/AppFramework/App.php(114): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Richdocuments\Controller\DocumentController), 'index')n#17 /var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('OCA\\Richdocumen...', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)n#18 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)n#19 /var/www/html/nextcloud/lib/private/Route/Router.php(299): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)n#20 /var/www/html/nextcloud/lib/base.php(1000): OC\Route\Router->match('/apps/richdocum...')n#21 /var/www/html/nextcloud/index.php(40): OC::handleRequest()n#22 {main}\",\"File\":\"/var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php\",\"Line\":51}",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36",
    "version": "12.0.0.21"
}

Browser log

Browser log No console error.

Page rendering :
chrome_2017-05-19_10-25-50

Page request :
chrome_2017-05-19_10-27-55

Access forbidden when trying to open document

Steps to reproduce

  1. Creating odt document
  2. Opening it
  3. Getting error "Access forbidden"

Expected behaviour

Collabora Online should load the document and display it

Actual behaviour

"Access forbidden" error message appears

Server configuration

Operating system: ArchLinux x86_64
Web server: Nginx
Database: Mysql
PHP version: 7.1.1
Nextcloud version: 11.0
Updated from an older Nextcloud/ownCloud or fresh install: updated
Where did you install Nextcloud from: AUR

Logs

  • No logging appears in loolwsd (debug mode)
  • At least there is one request on the loolwsd port when opening a document: tcpdump -i ens3 port 9980 -A
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens3, link-type EN10MB (Ethernet), capture size 262144 bytes
07:33:11.197640 IP http-new.51522 > mail1.project-insanity.org.9980: Flags [S], seq 2221071965, win 29200, options [mss 1460,sackOK,TS val 16188932 ecr 0,nop,wscale 7], length 0
E..<.Y@.@...
..r.    c4.B&..b.]......r.r..........
............
07:33:11.197843 IP mail1.project-insanity.org.9980 > http-new.51522: Flags [R.], seq 0, ack 2221071966, win 0, length 0
E..(i.@.@.^F.   c4
..r&..B.....b.^P.......
  • Tried to allow every hostname combination in loolwsd.xml, still no luck

English UI (loleaflet exception) when switching to german formal (FΓΆrmlich - Sie - de_DE)

Steps to reproduce

  1. Switch from "German informal (Du)" to "German formal (Sie)"
  2. Open any document with richdocuments

Expected behaviour

UI should show a german UI

Actual behaviour

English UI is displayed

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache 2.4.18

Database: MySQL 5.7.16

PHP version: 7.0.8

Nextcloud version: 11.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: nextcloud.com tarball

Signing status:

Signing status No errors have been found. ``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ```

List of activated apps:

App list Enabled: - activity: 2.4.1 - comments: 1.1.0 - dav: 1.1.1 - federatedfilesharing: 1.1.1 - federation: 1.1.1 - files: 1.6.1 - files_external: 1.1.2 - files_pdfviewer: 1.0.1 - files_sharing: 1.1.1 - files_texteditor: 2.2 - files_versions: 1.4.0 - files_videoplayer: 1.0.0 - firstrunwizard: 2.0 - gallery: 16.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.0 - notifications: 1.0.1 - password_policy: 1.1.0 - provisioning_api: 1.1.0 - richdocuments: 1.1.25 - serverinfo: 1.1.1 - sharebymail: 1.0.1 - spreed: 1.1.2 - systemtags: 1.1.3 - templateeditor: 0.2 - theming: 1.1.1 - twofactor_backupcodes: 1.0.0 - user_ldap: 1.1.1 - workflowengine: 1.1.1 Disabled: - admin_audit - encryption - external - files_accesscontrol - files_automatedtagging - files_retention - files_trashbin - survey_client - updatenotification - user_external - user_saml ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your Nextcloud installation folder ```

The content of config/config.php:

Config report { "system": { "instanceid": "oc78671032b9", "installed": true, "dbtype": "mysql", "dbname": "nextcloud", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbhost": "localhost", "dbtableprefix": "oc_", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "forcessl": true, "blacklisted_files": [ ".htaccess" ], "htaccess.RewriteBase": "\/", "overwrite.cli.url": "https:\/\/cloud.marum.de\/", "check_for_working_wellknown_setup": true, "check_for_working_webdav": true, "check_for_working_htaccess": true, "trusted_domains": [ "cloud.marum.de" ], "default_language": "en", "defaultapp": "files", "mail_domain": "marum.de", "mail_from_address": "cloud", "mail_smtpdebug": false, "mail_smtpmode": "smtp", "mail_smtphost": "smtp.marum.de", "mail_smtpport": "465", "mail_smtptimeout": 10, "mail_smtpsecure": "ssl", "mail_smtpauth": 1, "mail_smtpauthtype": "PLAIN", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "cron_log": true, "datadirectory": "\/var\/lib\/nextcloud\/data", "secret": "***REMOVED SENSITIVE VALUE***", "loglevel": 2, "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "memcache.local": "\\OC\\Memcache\\APCu", "redis": { "host": "\/var\/run\/redis\/redis.sock", "port": 0, "timeout": 0 }, "version": "11.0.0.10", "maintenance": false, "debug": false } } ``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder

or

Insert your config.php content here
(Without the database password, passwordsalt and secret)

</details>

**Are you using external storage, if yes which one:** smb

**Are you using encryption:** no

**Are you using an external user-backend, if yes which one:** LDAP


### Client configuration
**Browser:** Chrome 55.0.2883.87

**Operating system:** Windows 10 1607

### Logs
#### Web server error log
<details>
<summary>Web server error log</summary>

Insert your webserver log here

</details>

#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>

Insert your Nextcloud log here

</details>

#### Browser log
<details>
<summary>Browser log</summary>

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

loleaflet.html?WOPISrc=https%3A%2F%2Fcloud.marum.de%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F160_oc7…:1 GET https://webapps.marum.de/loleaflet/2.0.2/node_modules/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png 404 ()
bundle.js:5 focus:
bundle.js:5 focus: focussing
toolbar.js:738 Uncaught RangeError: Invalid language tag: de_DE
    at new NumberFormat (native)
    at Number.toLocaleString (native)
    at toLocalePattern (https://webapps.marum.de/loleaflet/2.0.2/toolbar/toolbar.js:738:86)
    at e.<anonymous> (https://webapps.marum.de/loleaflet/2.0.2/toolbar/toolbar.js:1197:11)
    at e.fire (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:4:6417)
    at e._onStateChangedMsg (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:6:29726)
    at e._onMessage (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:6:16053)
    at e._onMessage (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:4:18100)
toLocalePattern @ toolbar.js:738
(anonymous) @ toolbar.js:1197
fire @ bundle.js:4
_onStateChangedMsg @ bundle.js:6
_onMessage @ bundle.js:6
_onMessage @ bundle.js:4
toolbar.js:738 Uncaught RangeError: Invalid language tag: de_DE
    at new NumberFormat (native)
    at Number.toLocaleString (native)
    at toLocalePattern (https://webapps.marum.de/loleaflet/2.0.2/toolbar/toolbar.js:738:86)
    at e.<anonymous> (https://webapps.marum.de/loleaflet/2.0.2/toolbar/toolbar.js:1201:11)
    at e.fire (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:4:6417)
    at e._onStateChangedMsg (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:6:29726)
    at e._onMessage (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:6:16053)
    at e._onMessage (https://webapps.marum.de/loleaflet/2.0.2/bundle.js:4:18100)
</details>

Can't open documents on external smb storage

Steps to reproduce

  1. Connect to external SMB storage (session login)
  2. Edit an odt-document from the smb storage with collabora. Everything is working fine with documents from the nextcloud storage, but not with documents from external smb storage.

Expected behaviour

The document should open in collabora.

Actual behaviour

Collabora opens, but not the document. Instead an error message appears: "Well, this is embarrassing, we cannot connect to your document. Please try again."

Server configuration

Operating system: Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-62-generic x86_64)

Web server: Apache with Config from nextcloud tutorial https://nextcloud.com/collaboraonline/

Database: mysql Ver 15.1 Distrib 10.0.29-MariaDB

PHP version: PHP 7.0.13-0ubuntu0.16.04.1 (cli)

Nextcloud version: Nextcloud 11.0.1 (stable)

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: official installation instructions (https://nextcloud.com/install/#instructions-server)

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list
Enabled:
  - activity: 2.4.1
  - comments: 1.1.0
  - dav: 1.1.1
  - direct_menu: 0.10.0
  - federatedfilesharing: 1.1.1
  - files: 1.6.1
  - files_external: 1.1.2
  - files_pdfviewer: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.0
  - notifications: 1.0.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - richdocuments: 1.1.25
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - spreedme: 0.3.7
  - survey_client: 0.1.5
  - systemtags: 1.1.3
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - user_ldap: 1.1.1
  - workflowengine: 1.1.1
Disabled:
  - admin_audit
  - encryption
  - external
  - federation
  - files_accesscontrol
  - files_automatedtagging
  - files_retention
  - templateeditor
  - user_external
  - user_saml

The content of config/config.php:

Config report
{
    "system": {
        "instanceid": "ocm7fizez2st",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.***REMOVED SENSITIVE VALUE***",
            "office-nextcloud.***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "\/var\/www\/nextcloud\/data",
        "overwrite.cli.url": "http:\/\/nextcloud.***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "11.0.1.2",
        "dbname": "nextcloud",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "mail_smtpmode": "smtp",
        "mail_from_address": "nextcloud",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "maintenance": false
    }
}

Are you using external storage, if yes which one: smb

Are you using encryption: yes

Are you using an external user-backend, if yes which one: ActiveDirectory

LDAP configuration (delete this part if not used)

LDAP config
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration                 | s01                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| hasPagedResultSupport         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| homeFolderNamingRule          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| lastJpegPhotoLookup           | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapAgentName                 | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ldapAgentPassword             | ***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapAttributesForGroupSearch  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapAttributesForUserSearch   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapBackupHost                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapBackupPort                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapBase                      | dc=***REMOVED SENSITIVE VALUE***,dc=de                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ldapBaseGroups                | cn=users,dc=***REMOVED SENSITIVE VALUE***,dc=de                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ldapBaseUsers                 | dc=***REMOVED SENSITIVE VALUE***,dc=de                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ldapCacheTTL                  | 600                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapConfigurationActive       | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapDynamicGroupMemberURL     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapEmailAttribute            | mail                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ldapExperiencedAdmin          | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapExpertUUIDGroupAttr       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapExpertUUIDUserAttr        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapExpertUsernameAttr        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapGroupDisplayName          | cn                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ldapGroupFilter               | (&(|(objectclass=group))***REMOVED SENSITIVE VALUE*** |
| ldapGroupFilterGroups         | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                 |
| ldapGroupFilterMode           | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapGroupFilterObjectclass    | group                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapGroupMemberAssocAttr      | uniqueMember                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ldapHost                      | ldaps://***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ldapIgnoreNamingRules         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapLoginFilter               | (&(&(|(objectclass=organizationalPerson))***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ldapLoginFilterAttributes     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapLoginFilterEmail          | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapLoginFilterMode           | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapLoginFilterUsername       | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapNestedGroups              | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapOverrideMainServer        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapPagingSize                | 500                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapPort                      | 636                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapQuotaAttribute            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapQuotaDefault              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapTLS                       | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapUserDisplayName           | displayname                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ldapUserDisplayName2          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapUserFilter                | (&(|(objectclass=organizationalPerson))***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapUserFilterGroups          | ***REMOVED SENSITIVE VALUE***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ldapUserFilterMode            | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapUserFilterObjectclass     | organizationalPerson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ldapUuidGroupAttribute        | auto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ldapUuidUserAttribute         | auto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| turnOffCertCheck              | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| turnOnPasswordChange          | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| useMemberOfToDetectMembership | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Client configuration

Browser: Chrome 56.0.2924.87 (64-bit)

Operating system: mac OS Sierra 10.12.3 (16D32)

Logs

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` ... {"reqId":"7Hg7QVyOmlkjRIQwIVIR","remoteAddr":"172.18.0.2","app":"PHP","message":"Undefined offset: 0 at \/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php#103","level":3,"time":"2017-02-20T14:42:04+00:00","method":"GET","url":"\/index.php\/apps\/richdocuments\/wopi\/files\/32976_ocm7fizez2st?access_token=d0mYxC0JUBT5czeynVAQcDwdFgiYAXUw&access_token_ttl=0&permission=readonly","user":"--","version":"11.0.1.2"} {"reqId":"34hNUN6LaVvNG6jNShc6","remoteAddr":"172.18.0.2","app":"PHP","message":"Undefined offset: 0 at \/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php#103","level":3,"time":"2017-02-20T14:45:37+00:00","method":"GET","url":"\/index.php\/apps\/richdocuments\/wopi\/files\/32975_ocm7fizez2st?access_token=RUrBwoXnDunrlvHQliGqVq9IHxPasjSV&access_token_ttl=0&permission=edit","user":"--","version":"11.0.1.2"} {"reqId":"EXNv5XwY5HWxjixi3fzz","remoteAddr":"172.18.0.2","app":"PHP","message":"Undefined offset: 0 at \/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php#103","level":3,"time":"2017-02-20T14:45:38+00:00","method":"GET","url":"\/index.php\/apps\/richdocuments\/wopi\/files\/32975_ocm7fizez2st?access_token=RUrBwoXnDunrlvHQliGqVq9IHxPasjSV&access_token_ttl=0&permission=readonly","user":"--","version":"11.0.1.2"} {"reqId":"d9UTqpJETfBVGygY+85H","remoteAddr":"172.18.0.2","app":"PHP","message":"Undefined offset: 0 at \/var\/www\/nextcloud\/apps\/richdocuments\/lib\/Controller\/WopiController.php#103","level":3,"time":"2017-02-20T14:49:39+00:00","method":"GET","url":"\/index.php\/apps\/richdocuments\/wopi\/files\/32975_ocm7fizez2st?access_token=RUrBwoXnDunrlvHQliGqVq9IHxPasjSV&access_token_ttl=0&permission=readonly","user":"--","version":"11.0.1.2"} ```

Browser log

Browser log ``` Javascript Log: JQMIGRATE: Migrate is installed, version 1.4.0 JQMIGRATE: Migrate is installed, version 1.4.0 Deprecation warning: tipsy is deprecated. Use tooltip instead. Waiting for page to render ... Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. focus: focus: VM13295:35 WebSocket connection to 'wss://office-nextcloud.gds.auernet/lool/https%3A%2F%2Fnextcloud.gds.auernet…x60jq0WVaBYBwfeCHJNtC46XxcN2%26access_token_ttl%3D0%26permission%3Dedit/ws' failed: One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 1 WrappedWebSocket @ VM13295:35 initialize @ bundle.js:4 e @ bundle.js:4 s.socket @ bundle.js:4 initialize @ bundle.js:5 e @ bundle.js:4 s.map @ bundle.js:5 (anonymous) @ bundle.js:24 5../dist/errormessages @ bundle.js:25 s @ bundle.js:1 e @ bundle.js:1 (anonymous) @ bundle.js:1 ```

Collabora log (from collabora docker container)

Collabora log ```

wsd-00024-0030 15:10:54.627787 [ client_ws_001e ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00024-0030 15:10:54.628152 [ client_ws_001e ] ERR Invalid fileinfo for URI [https://nextcloud.REMOVED SENSITIVE VALUE /index.php/apps/richdocuments/wopi/files/46482_ocm7fizez2st?access_token=7k1GkWsfKZF4kWnOmNybDL0x1J4dN5lw&access_token_ttl=0&permission=edit].| wsd/DocumentBroker.cpp:314
wsd-00024-0030 15:10:54.628204 [ client_ws_001e ] ERR Failed to load document with URI [https://nextcloud.REMOVED SENSITIVE VALUE /index.php/apps/richdocuments/wopi/files/46482_ocm7fizez2st?access_token=7k1GkWsfKZF4kWnOmNybDL0x1J4dN5lw&access_token_ttl=0&permission=edit].| wsd/DocumentBroker.cpp:556
wsd-00024-0030 15:10:54.628290 [ client_ws_001e ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.REMOVED SENSITIVE VALUE /index.php/apps/richdocuments/wopi/files/46482_ocm7fizez2st?access_token=7k1GkWsfKZF4kWnOmNybDL0x1J4dN5lw&access_token_ttl=0&permission=edit].| wsd/LOOLWSD.cpp:1038
wsd-00024-0030 15:10:54.915306 [ client_ws_001f ] ERR WOPI::CheckFileInfo is missing JSON payload
wsd-00024-0030 15:10:54.915859 [ client_ws_001f ] ERR Invalid fileinfo for URI [https://nextcloud.REMOVED SENSITIVE VALUE /index.php/apps/richdocuments/wopi/files/46482_ocm7fizez2st?access_token=7k1GkWsfKZF4kWnOmNybDL0x1J4dN5lw&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:314
wsd-00024-0030 15:10:54.915988 [ client_ws_001f ] ERR Failed to load document with URI [https://nextcloud.REMOVED SENSITIVE VALUE /index.php/apps/richdocuments/wopi/files/46482_ocm7fizez2st?access_token=7k1GkWsfKZF4kWnOmNybDL0x1J4dN5lw&access_token_ttl=0&permission=readonly].| wsd/DocumentBroker.cpp:556
wsd-00024-0030 15:10:54.916162 [ client_ws_001f ] ERR Error in client request handler: Failed to load document with URI [https://nextcloud.REMOVED SENSITIVE VALUE /index.php/apps/richdocuments/wopi/files/46482_ocm7fizez2st?access_token=7k1GkWsfKZF4kWnOmNybDL0x1J4dN5lw&access_token_ttl=0&permission=readonly].| wsd/LOOLWSD.cpp:1038

</details>

Access forbidden on some public shares for Collabora

Steps to reproduce

  1. Install the latest nextcloud.
  2. Add Collabora to nextcloud, installing it using Docker
  3. Try to open a document using Collabora online from a publicly shared link

Expected behaviour

From my research I'm pretty sure that you're suppposed to be able to open documents using Collabora from public shares.

Actual behaviour

This is where it gets hard. Most of the time I'm not able to access this file, and an "Access forbidden" error gets thrown at me. Thing is, for some folders it does work, and I've not been able to track down what causes these differences.
Only once did I get more details, with the error being completed with a "CSRF check failed".

Server configuration

Operating system: Ubuntu 16.04 LTS running in an HyperV VM with Windows Server 2016.

Web server: Apache 2 - 2.4.18-2ubuntu3.1

Database: MySQL - 5.7.16-0ubuntu0.16.04.1

PHP version: PHP 7.0.8

Nextcloud version: 11.0.0 (stable)

Updated from an older Nextcloud/ownCloud or fresh install: Full fresh 11.0.0 install

Where did you install Nextcloud from: Classic archive install

Signing status: No errors have been found.

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Enabled:

  • activity: 2.4.1
  • announcementcenter: 3.0.0
  • apporder: 0.3.3
  • calendar: 1.4.1
  • comments: 1.1.0
  • dav: 1.1.1
  • external: true
  • federatedfilesharing: 1.1.1
  • federation: 1.1.1
  • files: 1.6.1
  • files_accesscontrol: 1.1.2
  • files_automatedtagging: 1.1.1
  • files_external: 1.1.2
  • files_pdfviewer: 1.0.1
  • files_retention: 1.0.1
  • files_sharing: 1.1.1
  • files_texteditor: 2.2
  • files_trashbin: 1.1.0
  • files_versions: 1.4.0
  • files_videoplayer: 1.0.0
  • firstrunwizard: 2.0
  • gallery: 16.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.0
  • notifications: 1.0.1
  • password_policy: 1.1.0
  • provisioning_api: 1.1.0
  • richdocuments: 1.1.25
  • serverinfo: 1.1.1
  • sharebymail: 1.0.1
  • survey_client: 0.1.5
  • systemtags: 1.1.3
  • theming: 1.1.1
  • twofactor_backupcodes: 1.0.0
  • twofactor_totp: 0.5.0
  • updatenotification: 1.1.1
  • workflowengine: 1.1.1

The content of config/config.php:

Config report { "system": { "instanceid": "ock3f8l0vbal", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.0.50", "example.com" ], "datadirectory": "\/var\/nextcloud\/", "overwrite.cli.url": "http:\/\/192.168.0.50", "dbtype": "mysql", "version": "11.0.0.10", "dbname": "nextcloud", "dbhost": "localhost", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "installed": true } }

Are you using external storage, if yes which one: None

Are you using encryption: no

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Any (tested with latest Google Chrome and Firefox)

Operating system: Windows 10 (tested with Home and Enterprise editions)

Logs

Web server error log

Web server error log Empty (seems weird to me, but it should be properly configured) as access log is in fact working the same : in my virtualhost I have `ErrorLog /var/log/apache2/example.com/error.log`

Nextcloud log (data/nextcloud.log)

Provides no useful information whatsoever to help (I checked, when the error occurs the last edited date isn't changed).
Should I change to verbose log ?

Additional info

Example of path that doesn't work with Collabora: 'Sync/Travail/Anglais/Presentations/01 - Crime and unemployment in South Africa/Others/' (some school work synced with the server).
I know that I am not providing that much information, so please, tell me what info I could add, and what settings I could change to get more logs.

Document opens in the right side of the view, showing the left sidebar

Steps to reproduce

  1. Install Nextcloud 12 beta 1
  2. Open a Writer document

Expected behaviour

Collabora should take the whole width and include scrollbars to be able to navigate through the document

Actual behaviour

Collabora open on the right-hand side, leaving the left sidebar visible
Scrollbars have disappeared. Users are force to navigate through the document using the keypad.

Server configuration

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: 12b1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: master

Latest Nextcloud/Collabora cannot open documents.

I just upgraded my Nextcloud server from 10.3 to 11.0.1, by way of 11.0. All went well, and then I updated the Collabora Office app and pulled down the latest Collabora docker...all following Nextcloud's official instructions.

Now I can't open files in Collabora Office.

Steps to reproduce

  1. Ensure Collabora, Nextcloud, and the Collabora app are up to date. Also ensure Documents is NOT enabled.
  2. Try to open an .odt file via the web interface.

Expected behaviour

The document should open.

Actual behaviour

On Nextcloud, I get ""Well, this is embarrassing, we cannot connect to your document. Please try again."
This is true of any file I open, even a newly created one.

On the docker logs for Collabora (sudo docker logs th3d0ck3rpr0c3ssid), I see multiple copies of the following (with an actual token instead of [SCRUBBED], of course):

wsd-00026-0029 01:21:19.366410 [ client_req_hdl ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:255
wsd-00026-0030 01:21:20.182984 [ client_ws_0019 ] ERR  Unknown resource: /lool/https://nextcloud.mousepawmedia.net/index.php/apps/richdocuments/wopi/files/1694_ock4jvyh706l%3Faccess_token=[SCRUBBED]&access_token_ttl=0&permission=edit/ws| wsd/LOOLWSD.cpp:1223

Server configuration

Operating system:Ubuntu 16.04 LTS 64-bit Server

Web server: LAMP

Database: mysql Ver 14.14 Distrib 5.7.17, for Linux (x86_64)

PHP version: PHP 5.6.30-1+deb.sury.org~xenial+1 (cli)

Nextcloud version: 11.0.1

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 11.0, which itself was a manual update from 10.3.

Where did you install Nextcloud from: Manual install from .ZIP originally, automatic updates to 10.3. (Everything worked to this point.) Manual upgrade from .zip for 10.3 -> 11.0.0. Automatic upgrade tool for 11.0.0 -> 11.0.1.

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - activity: 2.4.1
  - admin_audit: 1.1.0
  - apporder: 0.3.3
  - comments: 1.1.0
  - dav: 1.1.1
  - federatedfilesharing: 1.1.1
  - files: 1.6.1
  - files_accesscontrol: 1.1.2
  - files_pdfviewer: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.0
  - notifications: 1.0.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - richdocuments: 1.1.25
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - survey_client: 0.1.5
  - systemtags: 1.1.3
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - user_ldap: 1.1.1
  - workflowengine: 1.1.1
Disabled:
  - bookmarks
  - encryption
  - external
  - federation
  - files_automatedtagging
  - files_external
  - files_retention
  - templateeditor
  - user_external
  - user_saml

The content of config/config.php:

Config report
{
    "system": {
        "instanceid": "ock4jvyh706l",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.mousepawmedia.net"
        ],
        "datadirectory": "\/opt\/nextcloud\/data",
        "overwrite.cli.url": "https:\/\/nextcloud.mousepawmedia.net",
        "dbtype": "mysql",
        "version": "11.0.1.2",
        "dbname": "nextcloud",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "mail_from_address": "hawksnest",
        "mail_smtpmode": "smtp",
        "mail_domain": "mousepawgames.com",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "gator3102.hostgator.com",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "mail_smtpsecure": "ssl",
        "appstore.experimental.enabled": true,
        "loglevel": 2,
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: NO

Are you using encryption: NO

Are you using an external user-backend, if yes which one: LDAP

LDAP configuration (delete this part if not used)

LDAP config
+-------------------------------+--------------------------------------------------------------------------------------+
| Configuration                 |                                                                                      |
+-------------------------------+--------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      |                                                                                      |
| hasPagedResultSupport         |                                                                                      |
| homeFolderNamingRule          |                                                                                      |
| lastJpegPhotoLookup           | 0                                                                                    |
| ldapAgentName                 |                                                                                      |
| ldapAgentPassword             | ***                                                                                  |
| ldapAttributesForGroupSearch  |                                                                                      |
| ldapAttributesForUserSearch   |                                                                                      |
| ldapBackupHost                |                                                                                      |
| ldapBackupPort                |                                                                                      |
| ldapBase                      | ou=Users, dc=ldap, dc=mousepawmedia, dc=net                                          |
| ldapBaseGroups                | ou=Groups, dc=ldap, dc=mousepawmedia, dc=net                                         |
| ldapBaseUsers                 | ou=Users, dc=ldap, dc=mousepawmedia, dc=net                                          |
| ldapCacheTTL                  | 600                                                                                  |
| ldapConfigurationActive       | 1                                                                                    |
| ldapDynamicGroupMemberURL     |                                                                                      |
| ldapEmailAttribute            | mail                                                                                 |
| ldapExperiencedAdmin          | 0                                                                                    |
| ldapExpertUUIDGroupAttr       |                                                                                      |
| ldapExpertUUIDUserAttr        |                                                                                      |
| ldapExpertUsernameAttr        |                                                                                      |
| ldapGroupDisplayName          | cn                                                                                   |
| ldapGroupFilter               |                                                                                      |
| ldapGroupFilterGroups         |                                                                                      |
| ldapGroupFilterMode           | 0                                                                                    |
| ldapGroupFilterObjectclass    |                                                                                      |
| ldapGroupMemberAssocAttr      | uniqueMember                                                                         |
| ldapHost                      | localhost                                                                            |
| ldapIgnoreNamingRules         |                                                                                      |
| ldapLoginFilter               | (&(|(objectclass=posixAccount))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid)))) |
| ldapLoginFilterAttributes     |                                                                                      |
| ldapLoginFilterEmail          | 1                                                                                    |
| ldapLoginFilterMode           | 0                                                                                    |
| ldapLoginFilterUsername       | 1                                                                                    |
| ldapNestedGroups              | 0                                                                                    |
| ldapOverrideMainServer        |                                                                                      |
| ldapPagingSize                | 500                                                                                  |
| ldapPort                      | 389                                                                                  |
| ldapQuotaAttribute            |                                                                                      |
| ldapQuotaDefault              |                                                                                      |
| ldapTLS                       | 0                                                                                    |
| ldapUserDisplayName           | cn                                                                                   |
| ldapUserDisplayName2          | sn                                                                                   |
| ldapUserFilter                | (|(objectclass=posixAccount))                                                        |
| ldapUserFilterGroups          |                                                                                      |
| ldapUserFilterMode            | 0                                                                                    |
| ldapUserFilterObjectclass     | posixAccount                                                                         |
| ldapUuidGroupAttribute        | auto                                                                                 |
| ldapUuidUserAttribute         | auto                                                                                 |
| turnOffCertCheck              | 0                                                                                    |
| turnOnPasswordChange          | 0                                                                                    |
| useMemberOfToDetectMembership | 1                                                                                    |
+-------------------------------+--------------------------------------------------------------------------------------+

Client configuration

Browser: Vivaldi

Operating system: Ubuntu 16.04 LTS 64-bit

Logs

Web server error log

Web server error log
[Wed Feb 01 17:02:02.195599 2017] [authz_core:error] [pid 2326] [client 192.168.254.15:40636] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:02:09.377073 2017] [authz_core:error] [pid 3984] [client 192.168.254.15:40642] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:07:58.118941 2017] [authz_core:error] [pid 4055] [client 192.168.254.15:40858] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:08:15.404360 2017] [authz_core:error] [pid 2328] [client 192.168.254.15:40872] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:14:04.886810 2017] [proxy:warn] [pid 4013] [client 192.168.254.15:41004] AH01144: No protocol handler was valid for the URL /lool/adminws. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Wed Feb 01 17:14:52.350296 2017] [authz_core:error] [pid 4013] [client 192.168.254.15:41036] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:14:56.437057 2017] [authz_core:error] [pid 2329] [client 192.168.254.15:41030] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:20:35.390297 2017] [authz_core:error] [pid 2330] [client 192.168.254.15:41166] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata
[Wed Feb 01 17:20:39.853842 2017] [authz_core:error] [pid 2326] [client 192.168.254.15:41168] AH01630: client denied by server configuration: /opt/nextcloud/data/.ocdata

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"WJJs6H8AAQEAAHAN2LAAAAAF","remoteAddr":"192.168.254.15","app":"PHP","message":"Class 'OCA\\Richdocuments\\AppInfo\\Application' not found at \/opt\/nextcloud\/apps\/richdocuments\/appinfo\/app.php#28","level":3,"time":"2017-02-01T23:19:04+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJJtA38AAQEAAHAyPKUAAAAK","remoteAddr":"192.168.254.15","app":"PHP","message":"Class 'OCA\\Richdocuments\\AppInfo\\Application' not found at \/opt\/nextcloud\/apps\/richdocuments\/appinfo\/app.php#28","level":3,"time":"2017-02-01T23:19:31+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=organization","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJJtE38AAQEAAHAzOwYAAAAL","remoteAddr":"192.168.254.15","app":"PHP","message":"Class 'OCA\\Richdocuments\\AppInfo\\Application' not found at \/opt\/nextcloud\/apps\/richdocuments\/appinfo\/app.php#28","level":3,"time":"2017-02-01T23:19:47+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=social","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJJtFX8AAQEAAHDCcyIAAAAI","remoteAddr":"192.168.254.15","app":"PHP","message":"Class 'OCA\\Richdocuments\\AppInfo\\Application' not found at \/opt\/nextcloud\/apps\/richdocuments\/appinfo\/app.php#28","level":3,"time":"2017-02-01T23:19:50+00:00","method":"GET","url":"\/index.php\/settings\/apps\/list?category=enabled","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJJtGn8AAQEAAHALfPQAAAAB","remoteAddr":"192.168.254.15","app":"PHP","message":"Class 'OCA\\Richdocuments\\AppInfo\\Application' not found at \/opt\/nextcloud\/apps\/richdocuments\/appinfo\/app.php#28","level":3,"time":"2017-02-01T23:19:55+00:00","method":"GET","url":"\/index.php","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJJtHX8AAQEAAHAO39gAAAAH","remoteAddr":"192.168.254.15","app":"PHP","message":"Class 'OCA\\Richdocuments\\AppInfo\\Application' not found at \/opt\/nextcloud\/apps\/richdocuments\/appinfo\/app.php#28","level":3,"time":"2017-02-01T23:19:57+00:00","method":"GET","url":"\/index.php","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJKCqX8AAQEAABZfU8EAAAAE","remoteAddr":"192.168.254.15","app":"core","message":"Login failed: 'b99b5cd8-35af-1036-9f7c-e1f2a57c2622' (Remote IP: '192.168.254.15')","level":2,"time":"2017-02-02T00:51:54+00:00","method":"POST","url":"\/index.php\/login\/confirm","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}
{"reqId":"WJKGJn8AAQEAAA@up48AAAAL","remoteAddr":"192.168.254.15","app":"core","message":"Login failed: 'b99b5cd8-35af-1036-9f7c-e1f2a57c2622' (Remote IP: '192.168.254.15')","level":2,"time":"2017-02-02T01:06:49+00:00","method":"POST","url":"\/index.php\/login\/confirm","user":"b99b5cd8-35af-1036-9f7c-e1f2a57c2622","version":"11.0.1.2"}

Text files open in Collabora Online instead of text editor

If you simply want to edit a txt or plain text file, the simple text editor is much quicker and more lightweight than loading the full Collabora Online editor. Especially because there’s no formatting anyway.

We should keep using the https://github.com/nextcloud/files_texteditor for .txt and other plain text documents because it’s much quicker and works a bit better on mobile. This as of now provides the superior user experience.

Can we do that @timar @pranavk? :)

As talked about cc @karlitschek @jospoortvliet.

Ref 829b2b7
(Original issue by @guddl at nextcloud/server#4658)

Failed to get LoKitDocument instance support collabora

Steps to reproduce

  1. Start a CoreoOS machine
  2. Try collabora

There is a more detailed report at:
https://help.nextcloud.com/t/failed-to-get-lokitdocument-instance/

Expected behaviour

Collabora should work

Actual behaviour

Collabora js client will hang for ever
on the collabora server side, there is a fatal error.

Server configuration

docker info:

Containers: 103
 Running: 94
 Paused: 0
 Stopped: 9
Images: 194
Server Version: 1.11.2
Storage Driver: overlay
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins: 
 Volume: local
 Network: bridge null host
Kernel Version: 4.7.3-coreos-r2
Operating System: CoreOS 1185.3.0 (MoreOS)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.44 GiB
Name: k5
ID: DMZF:QW5P:LYYA:ELTB:BBK3:LTJK:ADPJ:EAZP:YWSY:EBRV:AFP2:OT4M
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/

Logs

collabora_1  | wsd-00029-07 00:02:45.805964 [ prison_ws_0003 ] Message to admin console: adddoc 53 test.odt 0003 115756
collabora_1  | wsd-00029-07 00:02:45.805988 [ prison_ws_0003 ] SocketProcessor starting.
collabora_1  | kit-00053-04 00:02:45.602043 [ kit_queue_0003 ] Document::DocumentCallback STATUS_INDICATOR_START [].
collabora_1  | kit-00053-04 00:02:45.609742 [ kit_queue_0003 ] Document::DocumentCallback STATUS_INDICATOR_SET_VALUE [33].
collabora_1  | kit-00053-04 00:02:45.614988 [ kit_queue_0003 ] Document::DocumentCallback STATUS_INDICATOR_SET_VALUE [33].
collabora_1  | kit-00053-04 00:02:45.615014 [ kit_queue_0003 ] Document::DocumentCallback STATUS_INDICATOR_SET_VALUE [66].
collabora_1  | kit-00053-04 00:02:45.615488 [ kit_queue_0003 ] Document::DocumentCallback STATUS_INDICATOR_SET_VALUE [100].
collabora_1  | kit-00053-04 00:02:45.616332 [ kit_queue_0003 ] Document::DocumentCallback STATUS_INDICATOR_FINISH [].
collabora_1  | kit-00053-04 00:02:45.631630 [ kit_queue_0003 ] Returned lokit::documentLoad.
collabora_1  | kit-00053-04 00:02:45.631669 [ kit_queue_0003 ] Failed to load: file:///user/docs/53/test.odt, error: loadComponentFromURL returned an empty reference
collabora_1  | kit-00053-04 00:02:45.631679 [ kit_queue_0003 ] Failed to get LoKitDocument instance.
collabora_1  | kit-00053-04 00:02:45.631704 [ kit_queue_0003 ] ToMaster-0003 Send: error: cmd=load kind=faileddocloading
collabora_1  | kit-00053-02 00:02:45.631704 [ kit_callback ] CallbackWorker::callback [ToMaster-0003]: STATUS_INDICATOR_START [(nil)].

What next?

First before solving, I'd like to update the "documentation" to warn CoreOS users like me that this would fail.

then, I'd like to know if CoreOS support would be added?

Thanks a lot!

Support opening encrypted files

Currently the app is not able to open any files when the server-side encryption in enabled. The reason is that the API call made by Collabora Online server doesn't have a real user context => no private key available => no decryption of documents.

View -- Full screen does not work.

Steps to reproduce

  1. Select View -- Full screen from Collabora Online's menu

Expected behaviour

iframe goes full screen. It's convenient on mobile devices.

Actual behaviour

Nothing happens.
Firefox says: Request for fullscreen was denied because at least one of the document’s containing elements is not an iframe or does not have an β€œallowfullscreen” attribute. loleaflet.htm
It works with ownCloud, that's why I think that it's a bug in Nextcloud's richdocuments or in Nextcloud.

Images are beeing cropped when exporting as PDF

Steps to reproduce

  1. Open an existing or new ODT Document with images
  2. Press on File > download as > PDF
  3. PDF is being generated but Cut-off on the left and top corners

Expected behaviour

The PDF File should be generated as the Document which is beiing edited in Collabora

Actual behaviour

The PDF File is generated but ALL Images are cropped on the top and left corners. Exporting as Document and Word Documents works as expected. Side Note: Exporting from an Calculations Sheet works as expected!

01 05

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache 2.4.18

Database: mysql 5.7.8

PHP version: 7.0.15

Nextcloud version: (see Nextcloud admin page) 10.0.3

Collabora Version on Nextcloud : 1.1.18

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install

Side Notes: With Owncloud 11 & the newest Collabora but the same docker Installation it didn't work either.

Error CODE 2.1 with newest App

Steps to reproduce

  1. Upgrade App from 1.1.24 to 1.11.27
  2. Use the newest docker container COLLABORA/CODE 2.1
  3. Open up an existing or new document supported by collabora

Expected behaviour

No errorlogs should be displayed

Actual behaviour

You can find the following errorlog in your logging
Undefined variable: instanceId at /var/www/nextcloud/apps/richdocuments/lib/helper.php#38

Server configuration

Operating system:
Debian 8.8
Web server:
Apache 2.4.10
Database:
MySQL 5.5.55
PHP version:
7.1.5
Nextcloud version: (see Nextcloud admin page)
11.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
Upgraded from 11.0 to 11.0.3 but on the release day of 11.0.3
Where did you install Nextcloud from:
Nextcloud.com
Signing status:

Signing status
Integrity checker has been disabled. Integrity cannot be verified.

List of activated apps:

App list
Enabled:
  - activity: 2.4.1
  - activitylog: 0.0.1
  - dav: 1.1.1
  - direct_menu: 0.10.2
  - federatedfilesharing: 1.1.1
  - files: 1.6.1
  - files_pdfviewer: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - notifications: 1.0.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - richdocuments: 1.11.27
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - templateeditor: 0.2
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - user_ldap: 1.1.2
  - workflowengine: 1.1.1
Disabled:
  - admin_audit
  - admin_notifications
  - comments
  - encryption
  - external
  - federation
  - files_accesscontrol
  - files_automatedtagging
  - files_external
  - files_retention
  - firstrunwizard
  - nextcloud_announcements
  - spreed
  - spreedme
  - survey_client
  - systemtags
  - theming
  - user_external
  - user_saml

The content of config/config.php:

Config report
{
    "system": {
        "instanceid": "ocmgn4ia6qoa",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "owncloud.**.**"
        ],
        "datadirectory": "\/home\/nextcloud",
        "overwrite.cli.url": "https:\/\/owncloud.**.**",
        "dbtype": "mysql",
        "version": "11.0.3.2",
        "dbname": "maxe_db",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "knowledgebaseenabled": false,
        "session_keepalive": true,
        "skeletondirectory": "\/home\/nextcloud\/donttouch\/",
        "trashbin_retention_obligation": "D10, auto",
        "versions_retention_obligation": "auto",
        "ldapUserCleanupInterval": 20,
        "auth.bruteforce.protection.enabled": true,
        "log_rotate_size": 52428800,
        "filesystem_check_changes": 1,
        "loglevel": 2,
        "htaccess.RewriteBase": "\/",
        "theme": "apostel",
        "enable_avatars": true,
        "enable_previews": false,
        "maintenance": false,
        "updater.release.channel": "production",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379
        }
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...
NO
Are you using encryption: yes/no
NO
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Yes, LDAP and some users use Webdav

LDAP configuration (delete this part if not used)

LDAP config
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration                 | s01                                                                                                                                                                     |
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                                                                                       |
| hasPagedResultSupport         |                                                                                                                                                                         |
| homeFolderNamingRule          |                                                                                                                                                                         |
| lastJpegPhotoLookup           | 0                                                                                                                                                                       |
| ldapAgentName                 | ****                                                                                                                                                       |
| ldapAgentPassword             | ***                                                                                                                                                                     |
| ldapAttributesForGroupSearch  |                                                                                                                                                                         |
| ldapAttributesForUserSearch   |                                                                                                                                                                         |
| ldapBackupHost                |                                                                                                                                                                         |
| ldapBackupPort                |                                                                                                                                                                         |
| ldapBase                      | ****                                                                                                                                                       |
| ldapBaseGroups                | ****                                                                                                                                                       |
| ldapBaseUsers                 | ****                                                                                                                                                    |
| ldapCacheTTL                  | 600                                                                                                                                                                     |
| ldapConfigurationActive       | 1                                                                                                                                                                       |
| ldapDynamicGroupMemberURL     |                                                                                                                                                                         |
| ldapEmailAttribute            |                                                                                                                                                                         |
| ldapExperiencedAdmin          | 1                                                                                                                                                                       |
| ldapExpertUUIDGroupAttr       |                                                                                                                                                                         |
| ldapExpertUUIDUserAttr        | cn                                                                                                                                                                      |
| ldapExpertUsernameAttr        | cn                                                                                                                                                                      |
| ldapGroupDisplayName          | cn                                                                                                                                                                      |
| ldapGroupFilter               | (|(cn=GRP_Nextcloud))                                                                                                                                                   |
| ldapGroupFilterGroups         | GRP_Nextcloud                                                                                                                                                           |
| ldapGroupFilterMode           | 0                                                                                                                                                                       |
| ldapGroupFilterObjectclass    |                                                                                                                                                                         |
| ldapGroupMemberAssocAttr      | member                                                                                                                                                                  |
| ldapHost                      | ****                                                                                                                                                            |
| ldapIgnoreNamingRules         |                                                                                                                                                                         |
| ldapLoginFilter               | (&(&(|(objectclass=person)(objectclass=user))(|(|(memberof=CN=GRP_Nextcloud,OU=GRP,OU=**** Global,DC=****,DC=de)(primaryGroupID=24457))))(samaccountname=%uid)) |
| ldapLoginFilterAttributes     |                                                                                                                                                                         |
| ldapLoginFilterEmail          | 0                                                                                                                                                                       |
| ldapLoginFilterMode           | 0                                                                                                                                                                       |
| ldapLoginFilterUsername       | 1                                                                                                                                                                       |
| ldapNestedGroups              | 0                                                                                                                                                                       |
| ldapOverrideMainServer        |                                                                                                                                                                         |
| ldapPagingSize                | 500                                                                                                                                                                     |
| ldapPort                      | 389                                                                                                                                                                     |
| ldapQuotaAttribute            |                                                                                                                                                                         |
| ldapQuotaDefault              |                                                                                                                                                                         |
| ldapTLS                       | 0                                                                                                                                                                       |
| ldapUserDisplayName           | displayname                                                                                                                                                             |
| ldapUserDisplayName2          |                                                                                                                                                                         |
| ldapUserFilter                | (&(|(objectclass=person)(objectclass=user))(|(|(memberof=CN=GRP_Nextcloud,OU=GRP,OU=**** Global,DC=****,DC=de)(primaryGroupID=24457))))                         |
| ldapUserFilterGroups          | GRP_Nextcloud                                                                                                                                                           |
| ldapUserFilterMode            | 0                                                                                                                                                                       |
| ldapUserFilterObjectclass     | person;user                                                                                                                                                             |
| ldapUuidGroupAttribute        | auto                                                                                                                                                                    |
| ldapUuidUserAttribute         | auto                                                                                                                                                                    |
| turnOffCertCheck              | 0                                                                                                                                                                       |
| turnOnPasswordChange          | 0                                                                                                                                                                       |
| useMemberOfToDetectMembership | 1                                                                                                                                                                       |
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Client configuration

Browser:
Firefox 53
Operating system:
Windows 10

Logs

Web server error log

Web server error log ``` [Fri May 19 06:25:20.000353 2017] [mpm_prefork:notice] [pid 1216] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations [Fri May 19 06:25:20.000409 2017] [core:notice] [pid 1216] AH00094: Command line: '/usr/sbin/apache2' [Fri May 19 08:39:22.040441 2017] [php7:error] [pid 20946] [client 10.103.100.209:56644] PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/priva$ [Fri May 19 09:28:16.168230 2017] [php7:error] [pid 23528] [client 219.137.226.86:63609] PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/priva$
</details>

#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>

Undefined variable: instanceId at /var/www/nextcloud/apps/richdocuments/lib/helper.php#38

</details>

RTL

can it support RTL Language?

Feature request: Possibility to add menu item to NC menu

Steps to reproduce

  1. Configure your server e.g. following this guide: https://nextcloud.com/collaboraonline/
  2. Add the collabora app to NC and configure it

Expected behaviour

I've expected at least the possibility to add a Collabora app menu item to the NC menu

Actual behaviour

I just can open the app by clicking on an office document. If I want to create a new file I have to create new file, choose a name and then I have to click on it to open it in the Collabora app. Known usage pattern from desktop office documents is regularly vice versa (click on the app, create new file etc.).

Back button in browser not working

Steps to reproduce

  1. Open a document in collabora online
  2. Hit the back button in your browser

Expected behaviour

Collabora online should close and the files view should be back

Actual behaviour

2017-01-12-134229_142x370_scrot

1.1.26-nc11 is set as unstable in NC Appstore for over a week

Steps to reproduce

look to: https://apps.nextcloud.com/apps/richdocuments

Expected behaviour

set as stable, so versioning is working again and Clients/Server can recieve the update via the repo,
or asking in the forums, for testers who can test it on their installations to get it to the stable branch.

Actual behaviour

Set as unstable, no one is getting the update and in the forums people asking why versioning isn't working.
Probably clients lost data, because they counted that versioning works, but don't.

The latest release is not the latest

In the Nextcloud VM scripts we fetch the latest release with Github API. This means that we currently fecth 1.11.28 when we really should fetch 1.12.28. This causes the script to fail becuase 1.11.28 is not compatible with Nextcloud 12.

Please always release the latest version last. Thanks!

If possible, make a new release that's compatible with Nextcloud 12.

cc @timar

Revision history shows only latest version

Ubuntu 16.04.1, Latest Nextcloud (11), latest Collabora online plugin (1.1.25), latest Collabora container from docker, everything is fresh installed according to manual, but revision history sidebar, despite of any changes in a file, shows only "Just now":

revision_history

Same with other file types and with collaborative file editing with multiple users.
Thanks for looking into!

collabora container must be restarted to open documents from nextcloud

Steps to reproduce

  1. start up a fresh collabora container
  2. have a nextcloud instance already configured to use it
  3. try to open a document
  4. Fail
  5. restart the container
  6. try to open a document
  7. succeed!

Expected behaviour

Step 4 succeeds

Actual behaviour

Error message in nextcloud, and this output from collabora:

collabora | Generating RSA private key, 2048 bit long modulus
collabora | ..........+++
collabora | ...+++
collabora | e is 65537 (0x10001)
collabora | Generating RSA private key, 2048 bit long modulus
collabora | ................+++
collabora | ....................+++
collabora | e is 65537 (0x10001)
collabora | Signature ok
collabora | subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
collabora | Getting CA Private Key
collabora | loolforkit version details: 2.0.4 - 2.0.4
collabora | office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.1", "ProductExtension": ".10.21", "BuildId": "e91d2c2d59b035e40bdefac5fe06fb210180ed86" }
collabora | wsd-00026-0027 20:15:40.553692 [ client_req_hdl ] WRN WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:255
collabora | wsd-00026-0029 20:15:41.550065 [ client_ws_0001 ] WRN Missing JSON property [HidePrintOption]| wsd/Storage.cpp:353
collabora | wsd-00026-0029 20:15:41.550235 [ client_ws_0001 ] WRN Missing JSON property [HideSaveOption]| wsd/Storage.cpp:353
collabora | wsd-00026-0029 20:15:41.550318 [ client_ws_0001 ] WRN Missing JSON property [HideExportOption]| wsd/Storage.cpp:353
collabora | wsd-00026-0029 20:15:41.550423 [ client_ws_0001 ] WRN Missing JSON property [EnableOwnerTermination]| wsd/Storage.cpp:353
collabora | wsd-00026-0029 20:15:41.550506 [ client_ws_0001 ] WRN Missing JSON property [DisablePrint]| wsd/Storage.cpp:353
collabora | wsd-00026-0029 20:15:41.550584 [ client_ws_0001 ] WRN Missing JSON property [DisableExport]| wsd/Storage.cpp:353
collabora | wsd-00026-0029 20:15:41.550656 [ client_ws_0001 ] WRN Missing JSON property [DisableCopy]| wsd/Storage.cpp:353
collabora | kit-00084-0172 20:15:42.194272 [ lok_handler ] ERR Failed to load: file:///user/docs/84/how%20it%20works%201.docx, error: loadComponentFromURL returned an empty reference| kit/Kit.cpp:1149
collabora | kit-00084-0172 20:15:42.194451 [ lok_handler ] ERR Failed to get LoKitDocument instance.| kit/ChildSession.cpp:334
collabora | wsd-00026-0029 20:15:42.290033 [ client_ws_0001 ] WRN SocketProcessor [client_ws_0001]: Connection closed.| common/IoUtil.cpp:100

Server configuration

Operating system:
Debian 8

Web server:
Apache 2,4

Database:
Mariadb 10

PHP version:
5.6.30

Nextcloud version: (see Nextcloud admin page)
11.0.2

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh

Where did you install Nextcloud from:
Tarball

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - calendar: 1.5.2
  - comments: 1.1.0
  - contacts: 1.5.3
  - dav: 1.1.1
  - deck: 0.1.2
  - direct_menu: 0.10.1
  - federatedfilesharing: 1.1.1
  - federation: 1.1.1
  - files: 1.6.1
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_pdfviewer: 1.0.1
  - files_retention: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.0
  - notifications: 1.0.1
  - ojsxc: 3.1.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - richdocuments: 1.1.25
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - spreedme: 0.3.8
  - systemtags: 1.1.3
  - tasks: 0.9.5
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - twofactor_totp: 1.1.0
  - workflowengine: 1.1.1
Disabled:
  - activity
  - admin_audit
  - bookmarks
  - encryption
  - external
  - files_external
  - keeweb
  - onlyoffice
  - rainloop
  - spreed
  - survey_client

The content of config/config.php:

Config report
<?php
$CONFIG = array (
  'passwordsalt' => 'xxxxxxx',
  'secret' => 'xxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'xxxxxxx',
  ),
  'datadirectory' => '/opt/nextcloud/data',
  'overwrite.cli.url' => 'http://localhost',
  'dbtype' => 'mysql',
  'version' => '11.0.2.7',
  'dbname' => 'nextcloud',
  'dbhost' => 'mariadb',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxxxxxx',
  'dbpassword' => 'xxxxxxx',
  'logtimezone' => 'UTC',
  'installed' => true,
  'instanceid' => 'xxxxxxx',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'port' => 6379,
  ),
  'htaccess.RewriteBase' => '/',
  'maintenance' => false,
  'loglevel' => 2,
  'theme' => '',
  'mail_smtpmode' => 'php',
  'mail_from_address' => 'noreply',
  'mail_domain' => 'xxxxxxx',
);

Are you using external storage, if yes which one: no

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser:
Chrome 57.x
Operating system:
Fedora 25

Ca't open .RTF or .TXT files with Collabora Online

Steps to reproduce

  1. Disable the official Text editor 2.2 by Tom Needham, Bjârn Schießle
  2. Upload a .RTF/TXT file
  3. Try to open it

Expected behaviour

Collabora Office OnLine opens the file

Actual behaviour

Nextcloud download the file

Server configuration

Operating system: Ubuntu 16.04.1 LTS

Web server: nginx/1.10.0 (Ubuntu)

Database: Maria DB

PHP version: php 7.0

Nextcloud version: 11

Updated from an older Nextcloud/ownCloud or fresh install: fresh

Where did you install Nextcloud from: manual installation

List of documents won't load on app homepage

Hi,

I'm running version 1.1.17 of the app in NextCloud 10.0.3. When I click on 'Office' in the apps menu, the app's 'homepage' is loaded. There are the buttons for 'New document', plus a list of all compatible documents the user has access to. On a NextCloud installation with many files, this flat list of documents could include thousands of files.

I find that if I click on 'New document' before the list of existing documents has rendered and appeared, I get the rotating circle that doesn't stop and Collabora never fully loads. The new document is created, it just doesn't get loaded.

I am wondering about the UI that presents a flat list of all documents that the user has access to. That list can, in some cases, be very, very long, and the behaviour I'm seeing suggests that some web browsers just don't have the resources to render it quickly. Should there be pagination by default on that screen? Or can we do something else to prevent browsers' getting stuck while trying to render the page?

If I am looking for a document to edit, I will generally do so via the main files web interface, which will allow me to open the file in Collabora. So, I am not sure of the utility of a single flat list of all compatible documents, I don't find it so useful and at the moment it is just giving me lots of 'unresponsive script' errors in Firefox. I've also tested in Chrome and it seems to hang on loading there as well.

How to fix this? Make that list less resource-intensive to render? Or change the interface completely? Other ideas?

Cheers,
-Ian

Opening a federated shared document not working

Steps to reproduce

  1. Install two nextcloud servers.
  2. Run two collabora/code servers via docker. (tested with 2.0.1+2.0.1 and 2.0.1+1.9.8)
  3. Setup collabora app (1.1.25) on both servers.
  4. Create document in one server.
  5. Share document via federated sharing with user from second server.
  6. Open document in the second server.

Expected behaviour

Open document.

Probably by the first code server to allow collaboration. And if there is not any code server running, then in the second one. Or at least by the second code server without collaboration.

Actual behaviour

Internal server error.

Server configuration

Operating system: Ubuntu Server 16.04

Web server: nginx

Database: pgsql 9.6.0

PHP version: 7.0.14

Nextcloud version: 11.0.1 (daily) + 11.0.0 (stable)

Updated from an older Nextcloud/ownCloud or fresh install: fresh docker images (updated via new image from nextcloud 10)

Where did you install Nextcloud from: wonderfall/nextcloud:latest and wonderfall/nextcloud:daily

List of activated apps:

App list Activity, Collaborative tags, Comments, Deteted files, Extenral storage support, Federation, File sharing, First run wizard, Gallery, Log Reader, Mail template editor, Nextcloud announcements, Notifications, Password policy, PDF viewer, Server info, Share by mail, Text editor, Theming Update notification, Usage survey, Versions, Video player, Announcement Center, AppOrder, Audio Player, Bookmakrks, Calendar, Collabora Online (1.1.25), Contacts, Direct Menu, Markdown Editor, News, Nextcloud SMS, Notes, OwnBackup, QOwnNotesAPI, Reader (ebook reader), Tasks, Two Factor TOTP PRovider, Two Factor U2F

The content of config/config.php:

Config report
<?php
$CONFIG = array (
  'datadirectory' => '/data',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/apps2',
      'url' => '/apps2',
      'writable' => true,
    ),
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/tmp/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'instanceid' => '123456',
  'passwordsalt' => '123456',
  'secret' => '123456',
  'trusted_domains' => 
  array (
    0 => 'nc1.com',
    1 => 'nc2.com',
  ),
  'overwrite.cli.url' => 'https://nc1.com',
  'dbtype' => 'pgsql',
  'version' => '11.0.1.0',
  'dbname' => 'nextcloud',
  'dbhost' => 'nc-postgres',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mail_from_address' => 'nc',
  'logtimezone' => 'Europe/Prague',
  'logdateformat' => 'Y-m-d H:i:s',
  'dbuser' => 'dbuser',
  'dbpassword' => '123456',
  'installed' => true,
  'updater.release.channel' => 'daily',
  'maintenance' => false,
  'mail_domain' => 'smtpdomain',
  'mail_smtpmode' => 'smtp',
  'appstore.experimental.enabled' => true,
  'appstoreenabled' => true,
  'appstoreurl' => 'https://apps.nextcloud.com/api/v0',
  'mail_smtpsecure' => 'ssl',
  'mail_smtphost' => 'smtphost',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '465',
  'mail_smtpname' => 'nextcloud',
  'mail_smtppassword' => '123456',
  'loglevel' => 0,
);
<?php
$CONFIG = array (
  'datadirectory' => '/data',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/apps2',
      'url' => '/apps2',
      'writable' => true,
    ),
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/tmp/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'instanceid' => '123465',
  'passwordsalt' => '123456',
  'secret' => '123456',
  'trusted_domains' => 
  array (
    0 => 'nc3.com',
  ),
  'overwrite.cli.url' => 'https://nc3.com',
  'dbtype' => 'pgsql',
  'version' => '11.0.0.10',
  'dbname' => 'nextcloud',
  'dbhost' => 'nextcloud-postgres',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mail_from_address' => 'nc',
  'logtimezone' => 'UTC',
  'logdateformat' => 'Y-m-d H:i:s',
  'dbuser' => 'dbuser',
  'dbpassword' => '12346',
  'installed' => true,
  'maintenance' => false,
  'mail_domain' => 'smtpdomain',
  'mail_smtpmode' => 'smtp',
  'appstore.experimental.enabled' => true,
  'mail_smtphost' => 'smtphost',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpname' => 'nextcloud',
  'mail_smtppassword' => '123465',
  'loglevel' => 1,
);

Are you using external storage, if yes which one: dropbox, google-drive, sftp

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser:

  • Firefox Nightly 53.0a1 (2016-11-25) (64-bit)
  • Firefox 50.1.0
  • Chromium 55.0.2883.87

Operating system: Linux Mint 18.7 64bit

Logs

Nextcloud log (data/nextcloud.log)

Nextcloud log

Error: Call to a member function getUID() on null

    /apps2/richdocuments/lib/Controller/DocumentController.php - line 103: OCA\Richdocuments\TokenManager->getToken(*** sensitive parameters replaced ***)
    [internal function] OCA\Richdocuments\Controller\DocumentController->index('536_/')
    /nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
    /nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Richdocuments\Controller\DocumentController), 'index')
    /nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Richdocuments\Controller\DocumentController), 'index')
    /nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OCA\\Richdocumen...', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
    [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
    /nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
    /nextcloud/lib/base.php - line 1010: OC\Route\Router->match('/apps/richdocum...')
    /nextcloud/index.php - line 40: OC handleRequest()
    {main}

Β 

There can be some mismatch in my setup but it would be nice to make it work.
Thank you for such a great app.

Cannot edit existing doc's or edit new ones.

Steps to reproduce

  1. Attempt to edit or create a new document in the web interface.

Expected behaviour

I should be able to edit a document or create a new document.

Actual behaviour

The editor opens but shows the error below.
image

Server configuration

Operating system: Ubuntu 16.04.1 LTS 64-bit Server

Web server: Apache/2.4.18 (Ubuntu)

Database: Server version: 10.0.29-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04

PHP version: PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )

Nextcloud version: 11.0.1 (stable)

Updated from an older Nextcloud/ownCloud or fresh install: Manual Updated from NC 10.3ish

Where did you install Nextcloud from: .zip from repo.

Signing status:

Signing status

List of activated apps:

App list

Enabled:
  - activity: 2.4.1
  - comments: 1.1.0
  - dav: 1.1.1
  - encryption: 1.4.1
  - external: true
  - federatedfilesharing: 1.1.1
  - federation: 1.1.1
  - files: 1.6.1
  - files_external: 1.1.2
  - files_pdfviewer: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.0
  - notifications: 1.0.1
  - passman: 2.0.2
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - richdocuments: 1.1.25
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - spreedme: 0.3.7
  - survey_client: 0.1.5
  - systemtags: 1.1.3
  - templateeditor: 0.2
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - user_ldap: 1.1.1
  - workflowengine: 1.1.1
Disabled:
  - admin_audit
  - announcementcenter
  - files_accesscontrol
  - files_automatedtagging
  - files_retention
  - user_external
  - user_saml

The content of config/config.php:

Config report
{
    "system": {
        "instanceid": "oc9w6xz1g2vc",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud1.xxxxxxx.com",
            "my.xxxxxxx.com"
        ],
        "datadirectory": "\/var\/nextcloud-data",
        "overwrite.cli.url": "https:\/\/my.xxxxxxx.com",
        "dbtype": "mysql",
        "version": "11.0.1.2",
        "dbname": "NEXTCLOUD",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "asset-pipeline.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": "true",
        "integrity.check.disabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "\/var\/run\/redis\/redis.sock",
            "port": 0,
            "timeout": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "mail_domain": "xxxxxxx.com",
        "mail_from_address": "my",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "smtp.xxxxxxx.com",
        "appstore.experimental.enabled": true,
        "maintenance": false,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtpport": "587",
        "updater.release.channel": "stable",
        "loglevel": 2
    }
}

Are you using external storage, if yes which one: local/smb/sftp/... NO

Are you using encryption: yes

Are you using an external user-backend, if yes which one: LDAP

LDAP configuration (delete this part if not used)

LDAP config
+-------------------------------+-----------------------------------------------------------------------------------------------------------------+
| Configuration                 |                                                                                                                 |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 1                                                                                                               |
| hasPagedResultSupport         |                                                                                                                 |
| homeFolderNamingRule          |                                                                                                                 |
| lastJpegPhotoLookup           | 0                                                                                                               |
| ldapAgentName                 | CN=owncloudsystemuser,....                                                 |
| ldapAgentPassword             | ***                                                                                                             |
| ldapAttributesForGroupSearch  |                                                                                                                 |
| ldapAttributesForUserSearch   |                                                                                                                 |
| ldapBackupHost                |                                                                                                                 |
| ldapBackupPort                |                                                                                                                 |
| ldapBase                      | OU=FamilyUsers,,....                                                |
| ldapBaseGroups                | OU=FamilyUsers,,....                                                |
| ldapBaseUsers                 | OU=FamilyUsers,,....                                              |
| ldapCacheTTL                  | 600                                                                                                             |
| ldapConfigurationActive       | 1                                                                                                               |
| ldapDynamicGroupMemberURL     |                                                                                                                 |
| ldapEmailAttribute            | mail                                                                                                            |
| ldapExperiencedAdmin          | 0                                                                                                               |
| ldapExpertUUIDGroupAttr       |                                                                                                                 |
| ldapExpertUUIDUserAttr        |                                                                                                                 |
| ldapExpertUsernameAttr        | userPrincipalName                                                                                               |
| ldapGroupDisplayName          | cn                                                                                                              |
| ldapGroupFilter               |                                                                                                                 |
| ldapGroupFilterGroups         |                                                                                                                 |
| ldapGroupFilterMode           | 0                                                                                                               |
| ldapGroupFilterObjectclass    |                                                                                                                 |
| ldapGroupMemberAssocAttr      | uniqueMember                                                                                                    |
| ldapHost                      | 10.x.x.20                                                                                                      |
| ldapIgnoreNamingRules         |                                                                                                                 |
| ldapLoginFilter               | (&(&(memberof=CN=OwnCloud Users,.... (objectClass=person))(userPrincipalName=%uid)) |
| ldapLoginFilterAttributes     |                                                                                                                 |
| ldapLoginFilterEmail          | 0                                                                                                               |
| ldapLoginFilterMode           | 0                                                                                                               |
| ldapLoginFilterUsername       | 1                                                                                                               |
| ldapNestedGroups              | 0                                                                                                               |
| ldapOverrideMainServer        |                                                                                                                 |
| ldapPagingSize                | 500                                                                                                             |
| ldapPort                      | 389                                                                                                             |
| ldapQuotaAttribute            |                                                                                                                 |
| ldapQuotaDefault              |                                                                                                                 |
| ldapTLS                       | 0                                                                                                               |
| ldapUserDisplayName           | displayname                                                                                                     |
| ldapUserDisplayName2          |                                                                                                                 |
| ldapUserFilter                | (&(memberof=CN=OwnCloud Users,,.... (objectClass=person))                            |
| ldapUserFilterGroups          |                                                                                                                 |
| ldapUserFilterMode            | 1                                                                                                               |
| ldapUserFilterObjectclass     | person                                                                                                          |
| ldapUuidGroupAttribute        | auto                                                                                                            |
| ldapUuidUserAttribute         | auto                                                                                                            |
| turnOffCertCheck              | 0                                                                                                               |
| turnOnPasswordChange          | 0                                                                                                               |
| useMemberOfToDetectMembership | 1                                                                                                               |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------+
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
| Configuration                 | s01                                                                                                                         |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 0                                                                                                                           |
| hasPagedResultSupport         |                                                                                                                             |
| homeFolderNamingRule          |                                                                                                                             |
| lastJpegPhotoLookup           | 0                                                                                                                           |
| ldapAgentName                 | CN=owncloudsystemuser,,....                                                 |
| ldapAgentPassword             | ***                                                                                                                         |
| ldapAttributesForGroupSearch  |                                                                                                                             |
| ldapAttributesForUserSearch   |                                                                                                                             |
| ldapBackupHost                |                                                                                                                             |
| ldapBackupPort                |                                                                                                                             |
| ldapBase                      | OU=HxxxxUsers,D,....                                    |
| ldapBaseGroups                | OU=HxxxxUsers,D,....                                    |
| ldapBaseUsers                 | OU=HxxxxUsers,D,....                                  |
| ldapCacheTTL                  | 600                                                                                                                         |
| ldapConfigurationActive       | 1                                                                                                                           |
| ldapDynamicGroupMemberURL     |                                                                                                                             |
| ldapEmailAttribute            | mail                                                                                                                        |
| ldapExperiencedAdmin          | 0                                                                                                                           |
| ldapExpertUUIDGroupAttr       |                                                                                                                             |
| ldapExpertUUIDUserAttr        |                                                                                                                             |
| ldapExpertUsernameAttr        | userPrincipalName                                                                                                           |
| ldapGroupDisplayName          | cn                                                                                                                          |
| ldapGroupFilter               |                                                                                                                             |
| ldapGroupFilterGroups         |                                                                                                                             |
| ldapGroupFilterMode           | 0                                                                                                                           |
| ldapGroupFilterObjectclass    |                                                                                                                             |
| ldapGroupMemberAssocAttr      | uniqueMember                                                                                                                |
| ldapHost                      | 10.x.y.20                                                                                                                  |
| ldapIgnoreNamingRules         |                                                                                                                             |
| ldapLoginFilter               | (&(&(memberof=CN=OwnCloud Users,.... (objectClass=person))(userPrincipalName=%uid)) |
| ldapLoginFilterAttributes     |                                                                                                                             |
| ldapLoginFilterEmail          | 0                                                                                                                           |
| ldapLoginFilterMode           | 1                                                                                                                           |
| ldapLoginFilterUsername       | 1                                                                                                                           |
| ldapNestedGroups              | 1                                                                                                                           |
| ldapOverrideMainServer        |                                                                                                                             |
| ldapPagingSize                | 500                                                                                                                         |
| ldapPort                      | 389                                                                                                                         |
| ldapQuotaAttribute            |                                                                                                                             |
| ldapQuotaDefault              |                                                                                                                             |
| ldapTLS                       | 0                                                                                                                           |
| ldapUserDisplayName           | displayName                                                                                                                 |
| ldapUserDisplayName2          |                                                                                                                             |
| ldapUserFilter                | (&(memberof=CN=OwnCloud Users,,.... (objectClass=person))                            |
| ldapUserFilterGroups          |                                                                                                                             |
| ldapUserFilterMode            | 0                                                                                                                           |
| ldapUserFilterObjectclass     |                                                                                                                             |
| ldapUuidGroupAttribute        | auto                                                                                                                        |
| ldapUuidUserAttribute         | auto                                                                                                                        |
| turnOffCertCheck              | 0                                                                                                                           |
| turnOnPasswordChange          | 0                                                                                                                           |
| useMemberOfToDetectMembership | 1                                                                                                                           |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------+
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| Configuration                 | s02                                                                                                                   |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 0                                                                                                                     |
| hasPagedResultSupport         |                                                                                                                       |
| homeFolderNamingRule          |                                                                                                                       |
| lastJpegPhotoLookup           | 0                                                                                                                     |
| ldapAgentName                 | CN=owncloudsystemuser,,....                                             |
| ldapAgentPassword             | ***                                                                                                                   |
| ldapAttributesForGroupSearch  |                                                                                                                       |
| ldapAttributesForUserSearch   |                                                                                                                       |
| ldapBackupHost                |                                                                                                                       |
| ldapBackupPort                |                                                                                                                       |
| ldapBase                      | OU=DexxxUsers,,....                                         |
| ldapBaseGroups                | OU=DexxxUsers,,....                                          |
| ldapBaseUsers                 | OU=DexxxUsers,,....                                          |
| ldapCacheTTL                  | 600                                                                                                                   |
| ldapConfigurationActive       | 1                                                                                                                     |
| ldapDynamicGroupMemberURL     |                                                                                                                       |
| ldapEmailAttribute            | mail                                                                                                                  |
| ldapExperiencedAdmin          | 0                                                                                                                     |
| ldapExpertUUIDGroupAttr       |                                                                                                                       |
| ldapExpertUUIDUserAttr        |                                                                                                                       |
| ldapExpertUsernameAttr        | userPrincipalName                                                                                                     |
| ldapGroupDisplayName          | cn                                                                                                                    |
| ldapGroupFilter               |                                                                                                                       |
| ldapGroupFilterGroups         |                                                                                                                       |
| ldapGroupFilterMode           | 0                                                                                                                     |
| ldapGroupFilterObjectclass    |                                                                                                                       |
| ldapGroupMemberAssocAttr      | uniqueMember                                                                                                          |
| ldapHost                      | 10.x.x.x                                                                                                            |
| ldapIgnoreNamingRules         |                                                                                                                       |
| ldapLoginFilter               | (&(&(memberof=CN=OwnCloud Users,.... (objectClass=person))(userPrincipalName=%uid)) |
| ldapLoginFilterAttributes     |                                                                                                                       |
| ldapLoginFilterEmail          | 0                                                                                                                     |
| ldapLoginFilterMode           | 0                                                                                                                     |
| ldapLoginFilterUsername       | 1                                                                                                                     |
| ldapNestedGroups              | 0                                                                                                                     |
| ldapOverrideMainServer        |                                                                                                                       |
| ldapPagingSize                | 500                                                                                                                   |
| ldapPort                      | 389                                                                                                                   |
| ldapQuotaAttribute            |                                                                                                                       |
| ldapQuotaDefault              |                                                                                                                       |
| ldapTLS                       | 0                                                                                                                     |
| ldapUserDisplayName           | displayName                                                                                                           |
| ldapUserDisplayName2          |                                                                                                                       |
| ldapUserFilter                | (&(memberof=CN=OwnCloud Users,.... (objectClass=person))                            |
| ldapUserFilterGroups          |                                                                                                                       |
| ldapUserFilterMode            | 0                                                                                                                     |
| ldapUserFilterObjectclass     |                                                                                                                       |
| ldapUuidGroupAttribute        | auto                                                                                                                  |
| ldapUuidUserAttribute         | auto                                                                                                                  |
| turnOffCertCheck              | 0                                                                                                                     |
| turnOnPasswordChange          | 0                                                                                                                     |
| useMemberOfToDetectMembership | 1                                                                                                                     |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------+

Client configuration

Browser: Chrome

Operating system: Windows 10

Logs

Web server error log

Web server error log ``` [Thu Feb 16 09:20:25.537521 2017] [mpm_prefork:notice] [pid 1588] AH00169: caught SIGTERM, shutting down [Thu Feb 16 09:20:26.764106 2017] [mpm_prefork:notice] [pid 6218] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Thu Feb 16 09:20:26.764170 2017] [core:notice] [pid 6218] AH00094: Command line: '/usr/sbin/apache2'
</details>

#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>

T15:20:49+00:00","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/331848_oc9w6xz1g2vc/contents?access_token=AlbIqbfI7JscIT9qanhGwKPRwvitHII2&access_token_ttl=0&permission=edit","user":"--","version":"11.0.1.2"}
{"reqId":"UkqkJwBMap2OkYRkPDx0","remoteAddr":"172.17.0.2","app":"no app in context","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.","level":3,"time":"2017-02-16T15:24:45+00:00","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/331797_oc9w6xz1g2vc/contents?access_token=SvfzDeSRflENCj4MFit9mp2pHDUtcPd2&access_token_ttl=0&permission=edit","user":"--","version":"11.0.1.2"}
{"reqId":"YkR5JhF6uMBKKtfp92n9","remoteAddr":"172.17.0.2","app":"no app in context","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.","level":3,"time":"2017-02-16T15:31:10+00:00","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/331797_oc9w6xz1g2vc/contents?access_token=fy7vpJEVn8HDqwr4kzkSmPT0PQINl5f5&access_token_ttl=0&permission=edit","user":"--","version":"11.0.1.2"}
{"reqId":"6duq5H86nFY0iJ6frkoO","remoteAddr":"10.40.2.51","app":"no app in context","message":"Missing expected parameters in change user hook","level":2,"time":"2017-02-16T15:38:30+00:00","method":"POST","url":"/index.php/login","user":"rob@xxxxx","version":"11.0.1.2"}
{"reqId":"6duq5H86nFY0iJ6frkoO","remoteAddr":"10.40.2.51","app":"no app in context","message":"Missing expected parameters in change user hook","level":2,"time":"2017-02-16T15:38:31+00:00","method":"POST","url":"/index.php/login","user":"rob@xxxxx","version":"11.0.1.2"}
{"reqId":"VGuzVkd7sxMx2gJ7acnm","remoteAddr":"172.17.0.2","app":"no app in context","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.","level":3,"time":"2017-02-16T15:38:48+00:00","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/331860_oc9w6xz1g2vc/contents?access_token=CfgvtlJWG8qIqcKfga2mvMNsrY9kZ0M2&access_token_ttl=0&permission=edit","user":"--","version":"11.0.1.2"}
{"reqId":"wJnaSz3AxKGQkGfm9ijT","remoteAddr":"10.40.2.51","app":"no app in context","message":"Missing expected parameters in change user hook","level":2,"time":"2017-02-16T15:39:49+00:00","method":"POST","url":"/index.php/login","user":"rob@xxxxx","version":"11.0.1.2"}
{"reqId":"wJnaSz3AxKGQkGfm9ijT","remoteAddr":"10.40.2.51","app":"no app in context","message":"Missing expected parameters in change user hook","level":2,"time":"2017-02-16T15:39:50+00:00","method":"POST","url":"/index.php/login","user":"rob@xxxxx","version":"11.0.1.2"}
{"reqId":"qS16aR/WGUT4I+oaVK0z","remoteAddr":"172.17.0.2","app":"no app in context","message":"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.","level":3,"time":"2017-02-16T15:39:57+00:00","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/331860_oc9w6xz1g2vc/contents?access_token=ke4jt2vryFEa5kSmd55h1ZH20JUum6Xe&access_token_ttl=0&permission=edit","user":"--","version":"11.0.1.2"}

</details>

#### Browser log
<details>
<summary>Browser log</summary>

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

</details>

Feature request: open files in new tab/window

Currently files open within the Nextcloud tab. This is usefull when editing a single file, but much less so when editing or working with multiple files simultaniously. The Google Docs behavior which opens each file in a new tab works far better for that usecase.
Currently opening a document in a new tab will just download the file, instead of opening a new Nextcloud tab with the file opened.

Would it be possible to allow for this? And in addition to possibly to either change the default behavior (add a setting to open in tab by default) and/or allow opening in same-tab and new-tab from the ... icon after the file. And supporting opening the file in a new tab within Nextcloud/Collabora.

problem vhost with virtualname including subdomain with dot / reproducible problem

For nextcloud v11.x or v12.x and last app collabora online 1.1x.27

It's ok πŸ‘ with :

  • collabora online image docker deploy on vhost test.office.toto.fr

sudo docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.toto\\.fr' --restart always --cap-add MKNOD collabora/code

It's ko πŸ‘Ž with :

  • collabora online image docker deploy on vhost test.office.toto.fr

sudo docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=test\\.cloud\\.toto\\.fr' --restart always --cap-add MKNOD collabora/code

Error log:

wsd-00024-00032 17:39:00.279408 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:327
wsd-00024-00034 17:39:00.750445 [ docbroker_001 ] ERR  WOPI::CheckFileInfo is missing JSON payload| wsd/Storage.cpp:475

Fix code check errors

  • Invalid language file found: l10n/zh_CN.json: Control character error, possibly incorrectly encoded
  • Database schema error: Name of index richdocuments_wopi_token_idx on table dbprefixrichdocuments_wopi is too long (18), max. 27 characters + dbprefix allowed

cc @nickvergessen

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.