I’d like to report a bug
Document Server version: 6.4.1
Connector version: 2.0
OS: Windows Server 2012 R2
SharePoint 2019
Hello,
From my sharepoint site, I can open documents for modifications in onlyoffice, but the modifications are saved only if I open the documents with onlyoffice, if I open with MS Office I can’t see the modifications, and the date/time are not updated in sharepoint library.
So it seems that the document server can’t save back to sharepoint, and keep only temp files with modifications from user.
In the out.log I can only see some [WARN] nodeJS - storeForgotten: docId = …
error.log is empty
In the out.log I can only see some [WARN] nodeJS - storeForgotten: docId = …
These entries may mean Sharepoint accessibility issue. Please go to Document server and check this folder:
For Linux /var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten
Docker - same path inside the container
Windows - %ProgramFiles%\ONLYOFFICE\DocumentServer\server\App_Data\cache\files\forgotten
Does this folder contain modified files?
Also provide us with additional information about your installation:
Document server installation type and guide which you used.
How you perform integration with SharePoint. Point me to the guide which you used.
Make a simple test. Edit any file via ONLYOFFICE > close the file > go to SharePoint and download the file locally. Does local copy contain changes made?
Provide us with whole Document server logs folder.
Make a simple test. Edit any file via ONLYOFFICE > close the file > go to SharePoint and download the file locally. Does local copy contain changes made?
We are trying to reproduce the issue on our side but without any result at the moment.
Please provide us with additional information:
Is Document server installed on the same server as SharePoint?
Does the issue reproduce with any file?
Please make a test. Open a file for editing with open browser console:
Open browser console (for example, F12 in Chrome) → choose ‘Network’ tab in browser console → open file for editing → check if there are any error entries in console and send us a screenshot;
Choose ‘Console’ tab in browser console → open file for editing → check if there are any error entries in console and send us a screenshot.
Did you face any errors in web-interface while you were editing a file?
Some other details,
My sharepoint server is accessible on https : // mydomainname /
My onlyoffice document server is on https : // mydomainname:XXXX /
→ with custom port https installation following the guide
We think that your issue is probably related to your DNS\network settings. Something interrupts POST from DS to SP, so DS cannot sent final version of file to storage.
I don’t know what could be wrong, here is my actual configuration
Server 1 - Windows server 2019 - DC, AD, DNS, SharePoint
Server 2 - Windows server 2012 - Virtual on Server 1’s virtualbox, OO, domain member, fixed IP with Server 1 as DNS
From Server 2 (or Server 1, or another computer)
I access to SharePoint with http // server1 /
I configure OO server with http // server2 : XXXX /
I can edit documents, but it’s the same situation about save
I don’t know how else I could allow Server 2 to POST to Server 1
Yes, for my final configuration, accessible over internet, both server use https with a CA-signed cert, they are on the same domain name with a different port for DS.
My previous post where I mention http // server1, etc, was just a test to see if with local intranet access the problem was the same.
For firewalls, I have only the Windows server one, and the one on the router.
Go to your SharePoint server > open browser and go to your SharePoint portal (open portal via domain name and via localhost). Please reproduce the issue through using browser from server where SharePoint is installed.
Could you please try to install Document server on the same server as SharePoint and check the result?
NB! We recommend to prepare whole server backup before any server side actions.
Some progress, in “full localhost/intranet mode” without SSL, now it works, from multiple users and clients computers.
So issue is only when DS server tries to POST back and upload to SP over internet with domain name and SSL, maybe something to allow in SP server windows firewall or IIS?
I’d like to keep DS server away from SP server, if I could.
We have run a bunch of tests, but we cannot reproduce the situation. All tests passed. DS works correctly with SSL cert.
It looks like the issue is related to your installation only. Probably there’s some error in IIS or SharePoint settings. Please point me to how exactly you got SSL cert for DS?
If everything works inside your local network, but issues arise with requests from outside, there may be an issue on the side of your DNS\proxy settings. Could you please double check it please.
I will, but now I’m getting a new strange problem… I have a root sites collection under the domain name, with URL like https://domain_name/ and other sites collection under https://domain_name/sites/…
Today I can’t open onlyoffice on the root sites collection, I have a 302 code instead of 200 when loading editorPage.aspx, and then a _layouts/15/error.aspx
But in the other sites collections it is still working well ?!