Auto save - how to set/adjust?

I am using collabora disguised as next office for next cloud.

I am getting used to how to use it more and more/

One thing that I I have not seen, if auto save of documents.

Where is this configured? i looked over the entire interface, and unless I missed it(likely), then I was unable to find it.

Can someone guide me as to where to look to adjust the autosave feature?

Thanks

Joseph

Hi Joseph,

You can configure the auto-save feature in Collabora Online (which you’re using as Next Office for Nextcloud) directly in the configuration file, specifically coolwsd.xml. You won’t find this setting in the user interface, as it is configured server-side.

To adjust the auto-save duration or disable it entirely, follow these steps:

  1. Locate the coolwsd.xml file in your Collabora Online installation. This file is usually found in /etc/coolwsd/ if you’re using a package installation or in a similar configuration folder for your setup.

  2. Look for the following parameters in the file:

    <autosave_duration_secs desc="The number of seconds after which the document, if modified, should be saved. Disabled when 0. Defaults to 5 minutes." type="uint" default="300">300</autosave_duration_secs>
    <background_autosave desc="Allow auto-saves to occur in a forked background process where possible." type="bool" default="true">true</background_autosave>
    
    • autosave_duration_secs: This controls the time interval (in seconds) after which a modified document will be auto-saved. The default is 300 seconds (5 minutes).
    • background_autosave: This allows auto-saves to happen in the background. It is enabled by default.
  3. To disable auto-save, set autosave_duration_secs to 0.

  4. Restart the coolwsd service after making changes to apply the new settings.

Let me know if you need more details!

Best regards,
Darshan

Hello

I will look at this this week and see how to works out.

My first response to the fact that it needs to be congifured in the command line is:
why can this not be done at the user level?

Users have their own preferences, and this seems to be a simple way to allow them to save more or less frequently depending on their needs.

Has this been requested before? Where can it be requested?

Thanks

Joseph

the explanation says to “restart” the coolwsd service when changes are done.

Can you tell me how to to this?

Thanks

Hii @smokinjo

Few Questions

  1. Do you use docker ?
  2. Have found the coolwsd file and made changes ?

I have to know your configuration to give you correct steps to configure this auto save settings

I have not yet made any changes, as I want to make sure of the process before doing anything.

Collabora is in its own VM, not docker.

Thanks

@smokinjo

Nice, then it will be very easy to do changes. Do the mentioned changes as i suggest in my last reply Auto save - how to set/adjust? - #2 by darshan

And do restart ( it means restart the Collabora server )

Thanks,
Darshan