Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. OnlyOffice
  3. Setting sessionidle parameter in default.json

Setting sessionidle parameter in default.json

Scheduled Pinned Locked Moved OnlyOffice
3 Posts 2 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fcayre
    wrote on last edited by
    #1

    Hi there, and many thanks for the great work !

    I would like to set the sessionidle parameter in /etc/onlyoffice/documentserver/ as advised in https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/168#issuecomment-683620998 This setting is really important as it determines the time a user session is considered idle and thus the onlyoffice cache is flushed into the nextcloud file. By default, it is never flushed, so if a user is still connected to a document, the modifications performed by any user are only present in this cache and nextcloud file sync does not see them.

    As the container is read-only, the default.json config file cannot be modified. Any tip to do that, even at the command line, even if a stop / restart of the docker container is implied would be greatly appreciated, independently of a more long term solution.

    Many thanks,

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @fcayre In our nextcloud installation, onlyoffice docs automatically auto-save pretty much immediately. Here's a screen cap (see the bottom bar) it auto-saves almost immediately. Is that not the case for you?

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        FWIW, you can try overriding the value in /app/data/Config/production-linux.json (Console -> File Browser). I think the value needs to be like

        "services": {
          "CoAuthoring": {
            "expire": {
               "sessionidle": "1h"
        

        Then just restart the app.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search