Hi there,
I post here because my last tests was with Onlyoffice, but I have the same problem with Collabora.
On a CentOS 7.2 server, with Seafile 6.1.1 (upgraded without error from 5.1.3), I installed Onlyoffice as described on https://manual.seafile.com/deploy/only_office.html. I tried as a subdomain or in a subfolder, same thing :
when I choose a doc (odt, ods, xls,… No difference) I get a totally blank page.
Onlyoffice seems to work well (“Document Server is running” when accessing on url (or on Seafile url/folder when it was configured as subfolder).
As I said, I tried first with Collabora and… That was strickly the same problem !
Actually seahub_settings.py is configured with
Enable Only Office
ENABLE_ONLYOFFICE = True
VERIFY_ONLYOFFICE_CERTIFICATE = False
ONLYOFFICE_APIJS_URL = ‘http://127.0.0.1:88/web-apps/apps/api/documents/api.js’
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’)
ONLYOFFICE_EDIT_FILE_EXTENSION = (‘docx’, ‘pptx’, ‘xlsx’)
On the blank page with Onlyoffice, if I display the source, I have this (I’ve change url and file name) :
</head>
<title>Tesfile.xls</title>
<link rel="icon" href="/media/img/favicon.ico" />
<div id="placeholder"></div>
<script type="text/javascript" src="http://127.0.0.1:88/web-apps/apps/api/documents/api.js"></script>
<script type="text/javascript">
var config = {
"document": {
"fileType": "xls",
"key": "e87f276b595158b10b38",
"title": "Testfile.xls",
"url": "https://seafile.mydomain.com/seafhttp/files/f84b5de9-c0de-43e5-a23b-7b45abe7dba7/Testfile.xls",
"permissions": {
"download": true,
"edit": true,
"print": true,
"review": true
},
},
"documentType": "spreadsheet", // 'text' | 'spreadsheet' | 'presentation',
"editorConfig": {
"callbackUrl": "https://seafile.mydomain.com/onlyoffice/editor-callback/",
"lang": "fr",
"mode": "edit",
"user": {
"name": "myusername"
}
},
};
var docEditor = new DocsAPI.DocEditor("placeholder", config);
</script>
I see no error on seahub log. I tried also to configure a nginx vhost with a proxy to the docker port 88, same problem, and no error in nginx log (all requests have a 200 return code).
Tried on a Mint desktop with Firefox and Chrome.
What can I try to debug this ???
Thanks for suggestions !