<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Tuesday, February 7, 2023 3:11:40 PM CST Alexander Neundorf wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> What about the around 100 "unreferenced external files" ?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Anything I could/should do about that ?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Oh, yeah. I failed to mention that those files are just garbage. You can remove them easily:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#5454ff;"><strong><span style="font-family:monospace;">~ $</span></strong></span><span style="color:#000000;"> find .local/share/akonadi/file_db_data/ -type f|xargs rm</span></span><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">That command line finds all the files in the .../file_db_data/ directory, then pipes the resulting list of file names through "xargs" and thence to "rm". If you issue that command line when there are no such files, you'll get an error message.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This stuff all went into the KMail Handbook about a year and a half ago. In KMail select Help --> KMail Handbook, then go to 7. KMail Troubleshooting. You probably ought to read the whole chapter.  </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I wish I could find the bug, but it's elusive. I run the </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="background-color:#ffffff;"><span style="color:#5454ff;"><strong>~ $</strong></span><span style="color:#000000;"> akonadictl fsck 2>&1 | grep ^Found</span></span></p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">command every day. It usually finds one or two "phantom" database entries. I clean them out regularly. It's a bit of a pain, but better than having a lot of non-existent "messages" in the message index.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">David Bryant</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Canyon Lake, Texas</p>
</body>
</html>