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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Collabora Online (CODE)
  3. update of the loolwsd.xml file inconsistent?

update of the loolwsd.xml file inconsistent?

Scheduled Pinned Locked Moved Collabora Online (CODE)
6 Posts 3 Posters 1.1k Views 3 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.
    • avatar1024A Online
      avatar1024A Online
      avatar1024
      wrote on last edited by girish
      #1

      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
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        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.

        avatar1024A robiR 2 Replies Last reply
        2
        • nebulonN nebulon

          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.

          avatar1024A Online
          avatar1024A Online
          avatar1024
          wrote on last edited by
          #3

          @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
          1
          • nebulonN nebulon

            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.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            @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.

            Conscious tech

            nebulonN 1 Reply Last reply
            0
            • robiR robi

              @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.

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              @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
              2
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                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
                1
                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