Bug 499083

Summary: Updates page stuck on "Fetching updates..."
Product: [Applications] Discover Reporter: Aurélien COUDERC <coucouf>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, sitter
Priority: NOR    
Version First Reported In: 6.2.91   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Debug logs of running discover then opening the updates page

Description Aurélien COUDERC 2025-01-24 08:29:51 UTC
SUMMARY
I’ve packaged Plasma 6.3 for Debian and noticed that the new discover never shows the updates in the updates page.
It gets stuck showing "Fetching updates…".

Reverting to 6.2.5 fixes the issue.

The last logs on 6.2.5 say :
Found new major release: "11"
Found a closer new major release: "10"
Found a closer new major release: "9"

And on 6.2.91 :
AppStreamIntegration: Cannot detect current distro version for "org.debian.debian"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian/unstable+Plasma from experimental
KDE Plasma Version: 6.2.90 / 6.2.91
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2
Comment 1 Harald Sitter 2025-01-25 11:18:00 UTC
Can you enable all kf* and org.kde* debug categories and try again please. Hard to say what's going on there.
Comment 2 Aurélien COUDERC 2025-01-25 11:36:01 UTC
Created attachment 177660 [details]
Debug logs of running discover then opening the updates page
Comment 3 Aurélien COUDERC 2025-01-25 11:37:54 UTC
Here’s the output of :
    QT_LOGGING_RULES="kf*.debug=true;org.kde*.debug*true" plasma-discover
in attachment.

I’ve added a ========== separator to split the logs of the initial app opening and the logs of when I clicked the updates section in the left panel.
Comment 4 Harald Sitter 2025-01-25 17:05:21 UTC
Very inconclusive :(

Would be cool if you could give us some quick steps to replicate that setup so we can poke around a bit.
Comment 5 Aurélien COUDERC 2025-01-25 17:49:35 UTC
Right, will try to reproduce in a clean VM and report back.
Comment 6 Aurélien COUDERC 2025-01-29 22:13:14 UTC
I’ve bisected it to this commit :

https://invent.kde.org/plasma/discover/-/commit/5007cb10b15407752394ffd74de7d09916162ceb

Reverting it makes Discover happy again.
Comment 7 Harald Sitter 2025-01-30 16:34:05 UTC
Still looking for steps to replicate your system :)
Comment 8 Aurélien COUDERC 2025-02-11 00:24:29 UTC
For some reason it’s fixed in 6.3.0 so closing.