Closed wwwwiii closed 3 years ago
I cannot reproduce any issue. How did you enter the url into the settings, with or without the protocol? Can you maybe change your actual hostname to something made up and share the server url you have configured?
I was just testing this. I was using https://ownaccount.onmicrosoft.com This is from a office365-Account. Not sure if this is supported.
NC: 19.0.3 Office Online integration: fresh install 1.0.1
The configuration says OK: On opening a document the error appears:
Log:
[officeonline] Error: GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: ownaccount.onmicrosoft.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) at <
GET /index.php/apps/officeonline/index?fileId= sensitive parameter replaced
Make sure you have the protocol added to your url in the settings.
This is from a office365-Account. Not sure if this is supported.
Ah and the app only supports on-premise Office Online installations.
Thought that. But I am not sure, if this is the OP's issue....
This is from a office365-Account. Not sure if this is supported.
Ah and the app only supports on-premise Office Online installations.
So office 365 is not supported? because that what i tried!
Yep, this is not supported
Didn't even know people are still actively self-hosting office online :D
Added a more clear note to https://github.com/nextcloud/officeonline/blob/master/README.md#server
Should be possible to intergratie with office 365. I personally would prefer nextcloud above sharepoint.
It will only be possible if you are able to register for the Office 365 - Cloud Storage Partner Program which from the concept of how the registration works is not aimed for self-hosted on premise solutions like Nextcloud. The WOPI procotol should be the same so it might work, but there will be no support for this from our side.
Feel free to checkout https://wopi.readthedocs.io/en/latest/ for more details on the requirements.
The main issue here is that you need your Nextcloud domain whitelisted in the Office 365 cloud service which they don't allow for regular users.
Describe the bug cURL error 6: Could not resolve host: https://hostname (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) After trying to open a document.
To Reproduce Steps to reproduce the behavior:
Client details:
Server details
Operating system: Ubuntu server 18 lts
Web server: nginx
Database:mysql
PHP version: 7.2.24
**Nextcloud version:18.0.3
Version of the officeonline app newest
Version of Office Online server newest