Bug 443829 - All components are empty sporadically
Summary: All components are empty sporadically
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.17.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-16 11:44 UTC by dralexandernox
Modified: 2021-10-19 09:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Empty Kontact (45.52 KB, image/png)
2021-10-16 11:44 UTC, dralexandernox
Details
Fatal error occuring after uninstalling and reinstalling the application (22.65 KB, image/png)
2021-10-19 09:30 UTC, dralexandernox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dralexandernox 2021-10-16 11:44:05 UTC
Created attachment 142498 [details]
Empty Kontact

SUMMARY
Despite the configuration of Mail, Contacts and Calendar components, it sometimes happens that it is completely empty. 

STEPS TO REPRODUCE
1. Usually appears when the PC went to sleep or logout session
2. N/A
3. N/A

OBSERVED RESULT
Before being empty, there is a pop-up message indicating the following message : "The Sieves server on has reported an error: Host not found." The Sieves server is just thicked on one email account but all the email accounts and all other information are vanished. Restarting Kontact does not help, there is a need to restart the system. I just add the details that 5 email account, 4 calendars and more than 200 contacts have been set up in the application.

EXPECTED RESULT
Not loosing configuration even if the PC goes asleep or a log out session.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Please do not hesitate to contact me if you need further check or information.
Comment 1 gjditchfield 2021-10-16 16:31:34 UTC
Is a full system restart necessary?  Do either of these work?

- Logging out and back in.

- Restarting Akonadi:  type "akonadictl restart" at the command line, or use the Server menu of the Akonadi Console app.
Comment 2 dralexandernox 2021-10-17 06:51:08 UTC
(In reply to gjditchfield from comment #1)
> Is a full system restart necessary?  Do either of these work?
> 
> - Logging out and back in.
> 
> - Restarting Akonadi:  type "akonadictl restart" at the command line, or use
> the Server menu of the Akonadi Console app.

System restarts is necessary when the problem occurs. Just logging out and back in is not enough.

Regarding Akonadi, when the problem occured, I saw that it was not installed. After installing it, I still got the same issue and few of my contact disappeared. The contact were imported from a .csv file.
Comment 3 dralexandernox 2021-10-18 08:10:26 UTC
(In reply to gjditchfield from comment #1)

> - Restarting Akonadi:  type "akonadictl restart" at the command line, or use
> the Server menu of the Akonadi Console app.

I reproduced the same issue today and I used the terminal to set the command "akonadictl restart". 

Here is the result of this command :
/usr/bin/mysqlcheck: Got error: 1049: Unknown database 'akonadi' when selecting the database
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: DB initializer done
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadicontrol: Akonadi server is now operational.
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f7da0003f20) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f7da0003f20) identified as "AgentBaseChangeRecorder - 93852054106672"
org.kde.pim.akonadicontrol: Agent instance with identifier  "akonadi_imap_resource_11"  does not exist
org.kde.pim.akonadicontrol: Agent instance with identifier  "akonadi_maildispatcher_agent"  does not exist
org.kde.pim.akonadicontrol: Agent instance with identifier  "akonadi_imap_resource_12"  does not exist

After waiting for several minutes without update, I interrupted the script. I do not know if it can explain the several bugs I had so far.
Comment 4 dralexandernox 2021-10-18 08:13:24 UTC
I forgot to precise that I tried to restart Kontact afterwards but again, all the configuration vanished.
Comment 5 dralexandernox 2021-10-19 09:30:34 UTC
Created attachment 142609 [details]
Fatal error occuring after uninstalling and reinstalling the application
Comment 6 dralexandernox 2021-10-19 09:32:22 UTC
Today I was looking to perform a new installation again. After removing and reinstalling Kontact, I restarted the computer and launched the application. The application screen was frozen and I got a fatal error message as depicted in the attached file.