error: the file version has been changed. the page...

Tech support for Enterprise Version
Post Reply
rudais
Posts: 23
Joined: Mon Oct 02, 2017 11:14 am

error: the file version has been changed. the page...

Post by rudais » Fri Mar 02, 2018 7:39 am

Hello,

We seem to relatively often run into problem with documents .xlsx (most commonly used here) going into Error: "The file version has been changed. The page will be reloaded.". I see that this problem has been encountered by some, but I did not find no specific solution on it.

Is there a way that I can unlock the file without copy/recreating it?

Currently we have:
* CE: 9.5.4.553
* DS: 5.0.6.14

OO web interface is used and instances are running on docker containers.

Maxim
Posts: 1790
Joined: Tue Oct 11, 2016 2:34 pm

Re: error: the file version has been changed. the page...

Post by Maxim » Mon Mar 05, 2018 7:15 am

Hello rudais!
The reason of the error you can see here
There must be the reason why a key was changed. Usually it could happen when the file was changed and saved but you try to open this file with the old key.

rudais
Posts: 23
Joined: Mon Oct 02, 2017 11:14 am

Re: error: the file version has been changed. the page...

Post by rudais » Mon Mar 05, 2018 7:46 am

Hello Maxim,

Yes, that is as far as I read about the problem. However wasn't this scenario supposed to be a problem only if using DS with custom integrations?
We do use default CS portal for accessing docs on DS.

Maxim
Posts: 1790
Joined: Tue Oct 11, 2016 2:34 pm

Re: error: the file version has been changed. the page...

Post by Maxim » Tue Mar 06, 2018 6:26 am

Hello rudais!
wasn't this scenario supposed to be a problem only if using DS with custom integrations?
No, it was not. Suppose that user1 opened a doc and left it open for some time but the file was changed and saved by another user2, in that case user1 cannot open the file with the old key because the key had been changed. Try to finalize file version.

rudais
Posts: 23
Joined: Mon Oct 02, 2017 11:14 am

Re: error: the file version has been changed. the page...

Post by rudais » Wed Mar 07, 2018 5:31 am

Hello Maxim.

What would be the best way to prevent such occurrence? As the files are often used by multiple people (various Logistics, Engineering groups in our case) in fast editing mode it's hard to control this. Also is there a way to correct this issue from web interface side if we don't know the actual last user who made changes to the document?

Edit: One clarification. Usually we run into this problem in mornings as soon as first person logs in and tried the document. It's not possible to finalise version as it's now know who used it last. Possibly this could be caused by my aggressive cookie life time: 9h? As user get's logged out before file is saved or something? As we often see that file is in being edited but it does not show by whom exactly.

Maxim
Posts: 1790
Joined: Tue Oct 11, 2016 2:34 pm

Re: error: the file version has been changed. the page...

Post by Maxim » Wed Mar 14, 2018 9:23 am

Hello!
Maybe you should try
there are 2 parameters in default.json - sessionidle and sessionabsolute

"sessionidle": "0", - is responsible for closing for inactivity ("1h" "1d")

"sessionabsolute": "0", - unconditional closing of the connection after a certain time ("30d")

rudais
Posts: 23
Joined: Mon Oct 02, 2017 11:14 am

Re: error: the file version has been changed. the page...

Post by rudais » Wed Mar 14, 2018 1:27 pm

Hello Maxim,

Thank you for suggestion. I will try that out as soon as I get a chance to restart document server to apply these settings.

By the way is there some in depth documentation on these server side only configuration files? I don't recall seeing
them references to this when going through OO manuals in your homepage.

Maxim
Posts: 1790
Joined: Tue Oct 11, 2016 2:34 pm

Re: error: the file version has been changed. the page...

Post by Maxim » Fri Mar 16, 2018 10:48 am

Hello rudais!
is there some in depth documentation on these server side only configuration files? I don't recall seeing
them references to this when going through OO manuals in your homepage.
Unfortunately there is no full documentation describing configuration files only yet.

Post Reply