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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Announcements
  3. Changes to package updates

Changes to package updates

Scheduled Pinned Locked Moved Announcements
8 Posts 5 Posters 417 Views 6 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.
  • girishG
    girishG
    girish
    Staff
    wrote last edited by girish
    #1

    As you know, we create a topic in this forum titled "Package updates" for each app package and post the changelog for every new release.

    Off late, given the rise of security issues driven by AI, it is hard to assess if an issue in some base library (say zip or locale) is affecting the package or not.

    Cloudron packages derive from an Ubuntu base image. Ubuntu does a fairly good job in tracking the CVEs and providing USNs. From our side, we have to build the base image more often and thus update all the packages lot more often.

    We have already made changes in our CI to make this happen. Right now, this forum (NodeBB) does not have a way to create a post skipping notification. So to avoid polluting the forum with non-stop package updates related to base image update, such update notifications are simply not posted here. You will see the updates at https://www.cloudron.io/appstatus.html though.

    tl;dr Packages might receive updates that are not announced in this forum. This is expected.

    1 Reply Last reply
    7
    • necrevistonnezrN
      necrevistonnezrN
      necrevistonnezr
      Super Fan
      wrote last edited by
      #2

      Can you make this a (good old) RSS-Feed?

      LanhildL 1 Reply Last reply
      6
      • girishG
        girishG
        girish
        Staff
        wrote last edited by
        #3

        Good idea @necrevistonnezr , let's see...

        1 Reply Last reply
        5
        • necrevistonnezrN necrevistonnezr

          Can you make this a (good old) RSS-Feed?

          LanhildL
          LanhildL
          Lanhild
          App Dev
          wrote last edited by
          #4

          @necrevistonnezr would be very appreciated.

          1 Reply Last reply
          1
          • girishG
            girishG
            girish
            Staff
            wrote last edited by
            #5

            I added a feed 🙂

            1 Reply Last reply
            5
            • humptyH
              humptyH
              humpty
              wrote last edited by
              #6

              Bookmarked. Thanks! I use the "unread" button to keep up with the forum posts but it's flooded with app update posts. IDK if this is practical but maybe consolidate all updates into a single thread? Now that I've typed it, it does feel impractical.

              jdaviescoatesJ necrevistonnezrN 2 Replies Last reply
              3
              • humptyH humpty

                Bookmarked. Thanks! I use the "unread" button to keep up with the forum posts but it's flooded with app update posts. IDK if this is practical but maybe consolidate all updates into a single thread? Now that I've typed it, it does feel impractical.

                jdaviescoatesJ
                jdaviescoatesJ
                jdaviescoates
                Super Fan
                wrote last edited by
                #7

                @humpty said:

                I use the "unread" button to keep up with the forum posts but it's flooded with app update posts.

                Same. A solution to that would be great.

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                1
                • humptyH humpty

                  Bookmarked. Thanks! I use the "unread" button to keep up with the forum posts but it's flooded with app update posts. IDK if this is practical but maybe consolidate all updates into a single thread? Now that I've typed it, it does feel impractical.

                  necrevistonnezrN
                  necrevistonnezrN
                  necrevistonnezr
                  Super Fan
                  wrote last edited by necrevistonnezr
                  #8

                  @humpty I helped myself via a userscript (as they are truly “universal” now since we can have them now on any mobile browser).
                  I know, it’s a little brutish but until things are reorganized in the forum (if at all):

                  // ==UserScript==
                  // @name         Cloudron Forum – hide "Package Updates" & mark as read
                  // @namespace    https://forum.cloudron.io/
                  // @version      1.0.0
                  // @description  On /unread, hides all topics with "Package Updates" in the title and marks them as read.
                  // @match        https://forum.cloudron.io/*
                  // @run-at       document-idle
                  // @grant        none
                  // ==/UserScript==
                  
                  (function () {
                    'use strict';
                  
                    const PHRASE = 'package updates';   // case-insensitive match
                    const MARK_AS_READ = true;          // set to false to only hide topics
                  
                    const isUnreadPage = () => /^\/unread(\/|$|\?)/.test(location.pathname);
                  
                    // --- Get CSRF token (NodeBB requires it for write API calls) ---
                    let csrfPromise = null;
                    function getCsrf() {
                      const cfg = window.config;
                      if (cfg && cfg.csrf_token) return Promise.resolve(cfg.csrf_token);
                      if (!csrfPromise) {
                        csrfPromise = fetch('/api/config', { credentials: 'same-origin' })
                          .then(r => r.json())
                          .then(j => j.csrf_token)
                          .catch(() => null);
                      }
                      return csrfPromise;
                    }
                  
                    // Fallback: mark as read via the NodeBB socket in the page context
                    function markViaSocket(tids) {
                      const s = document.createElement('script');
                      s.textContent =
                        '(function(){try{if(window.socket){window.socket.emit("topics.markAsRead",' +
                        JSON.stringify(tids) + ',function(){});}}catch(e){}})();';
                      (document.head || document.documentElement).appendChild(s);
                      s.remove();
                    }
                  
                    const done = new Set();
                    async function markRead(tid) {
                      if (!MARK_AS_READ || done.has(tid)) return;
                      done.add(tid);
                      try {
                        const token = await getCsrf();
                        const res = await fetch('/api/v3/topics/' + tid + '/read', {
                          method: 'PUT',
                          credentials: 'same-origin',
                          headers: Object.assign(
                            { 'Content-Type': 'application/json' },
                            token ? { 'x-csrf-token': token } : {}
                          ),
                        });
                        if (!res.ok) throw new Error('HTTP ' + res.status);
                      } catch (e) {
                        markViaSocket([parseInt(tid, 10)]);
                      }
                    }
                  
                    function getTitle(item) {
                      const el =
                        item.querySelector('[component="topic/header"]') ||
                        item.querySelector('.title a, h3 a') ||
                        item.querySelector('a[href*="/topic/"]');
                      return el ? el.textContent.trim() : '';
                    }
                  
                    function process() {
                      if (!isUnreadPage()) return;
                      document
                        .querySelectorAll('[component="category/topic"]:not([data-pu-checked])')
                        .forEach(item => {
                          item.setAttribute('data-pu-checked', '1');
                          if (!getTitle(item).toLowerCase().includes(PHRASE)) return;
                          item.style.display = 'none';
                          const tid = item.getAttribute('data-tid');
                          if (tid) markRead(tid);
                        });
                    }
                  
                    // NodeBB loads pages via AJAX and topics via infinite scroll -> watch the DOM
                    let scheduled = false;
                    new MutationObserver(() => {
                      if (scheduled) return;
                      scheduled = true;
                      requestAnimationFrame(() => { scheduled = false; process(); });
                    }).observe(document.documentElement, { childList: true, subtree: true });
                  
                    process();
                  })();
                  
                  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