Auto save - how to set/adjust?

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