Skip to content

Warn admin about outdated Collabora versions #4349

Open

Description

@juliusknorr

We notice quite often that users update their Nextcloud but have no information that there is a new Collabora version available (both patch updates but also major versions).

On the Nextcloud side we can send notifications to admins and also warn them prominently in the admin overview.

While Collabora has a hint about new versions it is only shown to admins when they use collabora which might not happen often and therefore might be unseen.

My proposal would be to extend this in the richdocuments app:

  • Regularly check if there is a new Collabora version available
  • Notify admins about it
  • Show a warning in the admin overview of Nextcloud

We can read the currently installed version from capabilities of Collabora but there is no way I'm aware to know about the latest published version in machine readable form (both for CODE and COOL releases).

@pedropintosilva Not sure who to ping, but it would be nice to just have some endpoint that we can query that will tell us the latest version tag for CODE / COOL.

Activity

  1. pedropintosilva commented on Dec 17, 2024

    @pedropintosilva
    Contributor

    I agree. I wonder if this could be integral part of the #4041

  2. pedropintosilva commented on Dec 17, 2024

    @pedropintosilva
    Contributor

    Nevertheless, I wonder if we don't already have a url that gives us that or if it wouldn't be beneficial to have one but probably @timar knows best

  3. juliusknorr commented on Dec 17, 2024

    @juliusknorr
    MemberAuthor

    I agree. I wonder if this could be integral part of the #4041

    Not sure how this should be related

  4. moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Dec 20, 2024
  5. moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Productivity teamon Dec 20, 2024
  6. juliusknorr commented on Dec 20, 2024

    @juliusknorr
    MemberAuthor

    For CODE I could imagine we just fetch https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-deb/Packages and get the coolwsd version. But for enterprise packages it would not be feasible to use a real repository URL.

    @timar A possibly simple solution I imagine might be to just write a simple text file containing the version during the build and just put them somewhere next to the repos. Maybe that can even be automated in the build scripts (I assume you have some in place for that 😁 )

    Then we could hardcode urls like this in the richdocuments app to check for the latest release and compare with the ones that online returns in the capabilities

    https://www.collaboraoffice.com/repos/latest-version-code
    https://www.collaboraoffice.com/repos/latest-version-cool
    
    
  7. juliusknorr commented on Jan 7, 2025

    @juliusknorr
    MemberAuthor

    We can use the following two:

    For CODE: https://rating.collaboraonline.com/UpdateCheck/updatecheck2.html
    For COOL: https://rating.collaboraonline.com/UpdateCheck/updatecheck2.html?product=cool
    
  8. timar commented on Jan 7, 2025

    @timar
    Member

    We can use the following two:

    For CODE: https://rating.collaboraonline.com/UpdateCheck/updatecheck2.html
    For COOL: https://rating.collaboraonline.com/UpdateCheck/updatecheck2.html?product=cool
    

    Yes, indeed. In fact the URLs above are OK, but the logic is a bit different. When the product parameter is empty, the code assumes CODE (i.e. product=Collabora%20Online%20Development%20Edition). Otherwise endpoint returns COOL version, whatever else you pass with the product parameter. The /hosting/capabilities endpoint of COOL server returns the product name in the productName property. You can use it to query the update check service.
    The update check service also takes a version parameter, which is currently unused, but we may use it in the future. It takes the version number, which is productVersion in /hosting/capabilities response. It is possible that in the future, when e.g. 25.04 is out, we do not "migrate" everyone immediately, but still offer 24.04.x.y for COOL users for a while.

  9. juliusknorr commented on May 28, 2025

    @juliusknorr
    MemberAuthor

    Part of #4470

  10. moved this from 📄 To do (~10 entries) to 👀 In review in 📝 Productivity teamon May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions