-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open documents on external smb storage #23
Comments
I'm having this exact same issue with NextCloud 11.0.2 and Docker running the latest CODE on Ubuntu 16.04.2. Are there any workarounds or is a fix being worked on? Thanks! |
I am having this problem as well, also running 11.0.2 with the latest CODE Docker Collabora setup. There is a similar issue logged on the OwnCloud repository (owncloud/richdocuments#83) so it appears that potentially a code fix is needed to address this? Thanks! |
I have a workaround for this. THS-on |
Switching to the log-in credentials saved in the database worked for me as well, but it does leave me concerned about storing this password information in the database, even if it is encrypted it is still a bit of a potential security issue. Would really love to see this addressed. |
Also had the issue today. The workaround works fine but I don't like that these credentials are saved in the database. |
I'm currently looking into it. Maybe i can just apply the patch for owncloud here. |
@velrest know it is already quite some time ago, since you wrote it. But did you had/have any time to look into it? Which patch are you referring too? |
We are having similar issue with our WebDAV mounts (Shared from another Nextcloud instance - both versions 13.0.6). You can edit a document located OUTSIDE the shared folder, but those files within the shared folder throw an error when you attempt to open them. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any chance on getting this issue resolved? It seems to be a problem for a number of folks. |
I can confirm this issue with an external SFTP storage, configured globally, and using a globally configured SSH key. |
I have a similar problem. Software versions are up-to-date, installation is fresh and clean. |
I can confirm this issue too. Software versions are up-to-date EDIT: And yes, saving passwords in the database is a very bad workaround |
Given that Nextcloud seems to want to put a lot of emphasis on the security of their system, it is a bit ridiculous that this bug has been out there for three years, and the only work around involves opening a big security hole! If you truly value system security, please make addressing this issue a priority |
This can never work due to a technical limitation. Since Collabora does an anonymous request to Nextcloud, the session login data is not available then and therefore access to the external storage is not possible. |
Steps to reproduce
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
The content of config/config.php:
Config report
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
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
The text was updated successfully, but these errors were encountered: