Bug 252630

Summary: databases/akonadi: IMAP auth issue after recent update
Product: Ports & Packages Reporter: Adam Jimerson <vendion>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Akonadi-logs.txt
none
Akonadi selftest
none
Open file which KDE dialog none

Description Adam Jimerson 2021-01-13 03:32:16 UTC
Created attachment 221519 [details]
Akonadi-logs.txt

After the recent updates of Akonadi to 20.12.0 and 20.12.1 when ever akonadi is started I am prompted to "select a program to handle the file auth", see attached screenshot. If I select a web browser such as Firefox or Qutebrowser I just see raw HTML for what looks like Gmail's login page. Akonadi itself seems to be running fine, but what doesn't work is that Kmail is unable to fetch emails over IMAP although sending emails does work. I have also included the log output from akonadiconsole and the akonadi selftest.

This seems to be related to it trying to authenticate to the imap server (Gmail), as such I have removed my accounts from Kmail and attempted to re-add them but get the same results.
Comment 1 Adam Jimerson 2021-01-13 03:32:51 UTC
Created attachment 221520 [details]
Akonadi selftest
Comment 2 Adam Jimerson 2021-01-13 03:34:05 UTC
Created attachment 221521 [details]
Open file which KDE dialog
Comment 3 Adam Jimerson 2021-01-13 03:35:19 UTC
I should add that while I'm using Kmail, and thus Akonadi, I'm not actually running the KDE desktop, but do have the core KDE packages installed.
Comment 4 Adam Jimerson 2021-01-20 13:19:19 UTC
After some testing it seems that the core breakage is with the Gmail auth that is used when working over IMAP. Changing it from Gmail to plain and using an app password works.

This does not explain why I get the "select a program to handle the file auth" dialog.
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2021-01-21 19:52:20 UTC
(In reply to Adam Jimerson from comment #4)
Moin moin 

It might be that an oauth component is not being installed. 


mfg Tobias
Comment 6 Adam Jimerson 2021-01-22 03:00:26 UTC
(In reply to Tobias C. Berner from comment #5)

That is possible, I installed the meta ports for KDE so this is what I currently have installed on my system:

kde-baseapps-20.12.1           KDE5 baseapps meta port
kde-telepathy-20.12.1          KDE integrated instant messaging framework
kde5-5.20.5.20.12.1            KDE Plasma Desktop and Applications (current)
kdeadmin-20.12.1               KDE Administration applications (meta port)
kdebugsettings-20.12.1         KDE application to enable/disable qCDebug
kdeconnect-kde-20.12.1         Support for KDE to interface between your phone and your computer
kdeedu-20.12.1                 Entertaining and educational programs for KDE (meta port)
kdegames-20.12.1               Games for KDE (meta port)
kdegraphics-20.12.1            Graphics utilities for KDE (meta port)
kdegraphics-mobipocket-20.12.1 Mobipocket plugins for Strigi indexing and thumbnails
kdegraphics-svgpart-20.12.1    SVG KPart
kdegraphics-thumbnailers-20.12.1 Thumbnailers for various graphics file formats
kdemultimedia-20.12.1          KDE Multimedia applications (meta port)
kdemultimedia-ffmpegthumbs-20.12.1 FFmpeg-based thumbnail generator for video files
kdenetwork-20.12.1             KDE Network applications (meta port)
kdenetwork-filesharing-20.12.1 KDE Filesharing via Samba
kdenlive-20.12.1_1             KDE professional quality non-linear video editing suite
kdepim-20.12.1                 KDE PIM applications metaport
kdepim-addons-20.12.1          KDE PIM addons
kdepim-runtime-20.12.1         KDE PIM tools and services
kdeutils-20.12.1               Collection of utilities for KDE
kf5-kdeclarative-5.78.0        KF5 library providing integration of QML and KDE Frameworks
kf5-kded-5.78.0                KF5 extensible daemon for providing system level services
kf5-kdelibs4support-5.78.0     KF5 porting aid from KDELibs4
kf5-kdesignerplugin-5.78.0     KF5 integration of Frameworks widgets in Qt Designer/Creator
kf5-kdesu-5.78.0               KF5 integration with su for elevated privileges
kf5-kdewebkit-5.78.0           KF5 library providing integration of QtWebKit
ktp-kded-module-20.12.1        Module for integration of instant messaging into KDE Workspaces
libkdegames-20.12.1            Libraries used by KDE games
libkdepim-20.12.1              KDE PIM Libraries
plasma5-kde-cli-tools-5.20.5   Plasma5 non-interactive system tools
plasma5-kde-gtk-config-5.20.5  Plasma5 GTK2 and GTK3 configurator
plasma5-kdecoration-5.20.5     Plasma5 library to create window decorations
plasma5-kdeplasma-addons-5.20.5 Plasma5 addons to improve the Plasma experience
plasma5-polkit-kde-agent-1-5.20.5 Plasma5 daemon providing a polkit authentication UI

I'm not sure what port adds the oauth component that is needed.
Comment 7 Tobias C. Berner freebsd_committer freebsd_triage 2022-03-18 20:31:42 UTC
Moin moin 

Is this still an issue for you?


mfg Tobias
Comment 8 Tobias C. Berner freebsd_committer freebsd_triage 2023-04-15 16:35:40 UTC
Moin moin 

Please reopen, if this is still an issue for you.

mfg Tobias