If I use Seafile without SSL I can open office files with OnlyOffice and save them. But if I use Seafile with SSL I receive only a blank page after open an office file. This is with Firefox. Then I change the showed URL from https to http. After that the document is showing an I can save it.
With Chromium it is a bit different. I also see a blank page but in the upper right corner I can choose “load unsafe scripts”. After that the document is loaded and I can save it.
Has the URL in seahub_settings.py to be http or https? For me both does not work. In the nginx config I use proxy_pass http://127.0.0.1:88/;. Should I use https there?
I found the reason why the URL https://seafile.domain.site/onlyofficeds/web-apps/apps/api/documents/api.js not worked. In the seahub_settings.py the variable ONLYOFFICE_APIJS_URL has to be with HTTPS. Then I can open the mentioned URL and also the documents without problems.
But then I cannot save them. It gives me the error -331. This is the error I found on the document server log.:
<p>Sorry, but the requested page is unavailable due to a server hiccup.</p>
<p>Our engineers have been notified, so check back later.</p>
at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:283:18)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
One thin I have found. I have to configure ProxyPass and ProxyPassReverse two times. One inside the Location block and one outside. I don’t understand, why.
You might want to post your configuration files, or relevant portions that pertain directly to OO, so that people who are familiar with setups like yours can offer some feedback.
Another thing, have you compared your setup and installation to that in the Seafile Community Manual?
Is there anything that you are doing that varies from the suggested setups in the Seafile Manual or the Community Manual?
has to be inside the location block and also outside. Furthermore they must not have a slash at the end.
The IfModule block for unixd_module is not only unnecessary for me, it destroys the functionality of the other webs that runs on this web server, because I use not user and group daemon for the Apache web server.