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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    update of the loolwsd.xml file inconsistent?

    Collabora Online (CODE)
    3
    6
    261
    Loading More Posts
    • 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.
    • avatar1024
      avatar1024 last edited by girish

      Hello,

      I have noticed that on my different the loolwsd.xml had been updated at different time, one 2 months ago, another 11 months ago, another 12 months. I noticed it because on one of them I don't have the so called Cool UI (i.e. notebook) bar. Not a problem as I can probably just update the file manually if I need to and I also quite the classic bar anyway but it seemed an odd behaviour for the config file not being in sync (at least in terms of options) between the different instances. E.g. the one 11 month ago don;t have the <user_interface><mode> option at all or the version header.

      So not a big deal but thought it was worth pointing out.

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        This is a good point. The reason however is, that the default config file, which is set in place on app installation, changes upstream and thus depending on the time the app gets installed, the instance will have a different default. An app update does not migrate or update the config file, since it is hard to figure out what was changed by the user manually.

        Not sure how this could be currently improved. I guess we would need some way to provide a UI during update asking what to do with the config files, but that might be quite involved and possibly just adds confusion.

        avatar1024 robi 2 Replies Last reply Reply Quote 2
        • avatar1024
          avatar1024 @nebulon last edited by

          @nebulon Oh yes, I see what you mean, tricky. And I agree, probably best to keep the current behaviour to avoid confusion. Maybe just adding something about it in the doc for that app would be good so people know they might not be running the latest version.

          1 Reply Last reply Reply Quote 1
          • robi
            robi @nebulon last edited by

            @nebulon Why not just keep a script that replaces known variables and their values that are DIFFERENT from upstream for the Cloudron package? (sed/awk)

            Distros do this all the time.

            Life of Advanced Technology

            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @robi last edited by

              @robi we usually do this also for other packages. In this case there are no Cloudron specific values in this file, but if there are changes then only user customizations and one secret (also user-set).

              Given that in this case for example a default option has changed, the notebook bar, it is unclear to me what and how to merge the config files.

              1 Reply Last reply Reply Quote 2
              • nebulon
                nebulon Staff last edited by

                It just so happens, that the whole file is now renamed in upstream since their loolwsd part is now called coolwsd 🙂

                The package should do the config file rename and sed things for that renaming automatically.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB