Safety of removing .cache files

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Safety of removing .cache files

Dr. John H. Lauterbach
Is it safe to delete /home/johnl/.cache/evolution/mail/e73fb70d2e40e23bc8fc94509b23c9adc77cc577/folders/Bulk Mail/cur/09/419787 ?

Above directory refers to the "Bulk Mail" account on an IMAP email account from bellsouth.net.  I cannot delete such a folder on my evolution email account.  My evolution version is 3.38.1-1.

I have other PC's (Win 10 -- Outlook 365) with the same email account  and folders and have no problem deleting undesired email in the Bulk Mail account.

Thank you,

John



_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Patrick O'Callaghan
On Wed, 2020-12-30 at 20:32 -0500, Dr. John H. Lauterbach wrote:
> Is it safe to delete
> /home/johnl/.cache/evolution/mail/e73fb70d2e40e23bc8fc94509b23c9adc77cc577/folders/Bulk
> Mail/cur/09/419787 ?

It's always safe to remove cached files. Evo will just recreate them if
needed. Just be sure that Evo isn't running when you do it.

> Above directory refers to the "Bulk Mail" account on an IMAP email account from bellsouth.net.  I
> cannot delete such a folder on my evolution email account.  My evolution version is 3.38.1-1.

Please explain what you mean by this. Are you trying to do this from
within Evo or from the command line or file manager? What happens if
you try to delete the folder?

poc

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Zan Lynx
On 12/31/20 5:19 AM, Patrick O'Callaghan wrote:
> It's always safe to remove cached files. Evo will just recreate them if
> needed. Just be sure that Evo isn't running when you do it.

That is quite a caveat to add on there.

Evolution has so many small daemon pieces that it is almost impossible
to tell if it is "running" and nearly impossible to prevent it from running.

I don't use Evolution on this Ubuntu machine. I've never configured it.
And yet there are four /usr/libexec/evolution-* processes running. If
you kill one DBUS semi-randomly restarts it.

I don't know if those cache files are ever touched by
evolution-data-server but it is something to keep in mind.

--
                 Knowledge is Power -- Power Corrupts
                         Study Hard -- Be Evil
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Gnome Evolution - General mailing list
On Fri, 2021-01-01 at 12:18 -0700, Zan Lynx wrote:
On 12/31/20 5:19 AM, Patrick O'Callaghan wrote:
> It's always safe to remove cached files. Evo will just recreate them
> if
> needed. Just be sure that Evo isn't running when you do it.

That is quite a caveat to add on there.

Evolution has so many small daemon pieces that it is almost impossible
to tell if it is "running" and nearly impossible to prevent it from running.

No. It's easily possible not to run Evolution: Just don't start it.

You seem to mix up two very different things:
Evolution and evolution-data-server.

I don't use Evolution on this Ubuntu machine. I've never configured it.

Then I wonder what brings you to this mailing list...

And yet there are four /usr/libexec/evolution-* processes running. If
you kill one DBUS semi-randomly restarts it.

First there were "so many small daemon pieces". Now there are only four?
I can't make much sense out of this conversation so far.

andre
--
Andre Klapper  |  [hidden email]
https://blogs.gnome.org/aklapper/


_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Zan Lynx
On 1/1/21 1:25 PM, Andre Klapper via evolution-list wrote:

> On Fri, 2021-01-01 at 12:18 -0700, Zan Lynx wrote:
> On 12/31/20 5:19 AM, Patrick O'Callaghan wrote:
>> It's always safe to remove cached files. Evo will just recreate them
>> if
>> needed. Just be sure that Evo isn't running when you do it.
>
> That is quite a caveat to add on there.
>
> Evolution has so many small daemon pieces that it is almost impossible
> to tell if it is "running" and nearly impossible to prevent it from running.
>
> No. It's easily possible not to run Evolution: Just don't start it.

Yeah, right. I know for a fact that these Evolution data server bits
will access data when you least expect it. I just haven't looked
recently to see what particular data is used.

>
> You seem to mix up two very different things:
> Evolution and evolution-data-server.
>
> I don't use Evolution on this Ubuntu machine. I've never configured it.
>
> Then I wonder what brings you to this mailing list...

I have used Evolution in the past. I've even done development on it.
Mostly bug fixes and attempts at bug fixes. Trying to make Evolution
work for a linux-kernel virtual folder without becoming completely
confused or crashing with a 3 GB memory leak, for example.

Or trying to batch edit a bunch of downloaded email using Perl scripts.

>
> And yet there are four /usr/libexec/evolution-* processes running. If
> you kill one DBUS semi-randomly restarts it.
>
> First there were "so many small daemon pieces". Now there are only four?
> I can't make much sense out of this conversation so far.

Yeah I think I recognize your name from past conversations and you never
have been willing to understand other people's problems.

If you actually know for a fact that the cache files will only by
touched by the Evolution GUI client then just say so.

--
                 Knowledge is Power -- Power Corrupts
                         Study Hard -- Be Evil
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Gnome Evolution - General mailing list
On Fri, 2021-01-01 at 14:43 -0700, Zan Lynx wrote:
> No. It's easily possible not to run Evolution: Just don't start it.

Yeah, right. I know for a fact that these Evolution data server bits
will access data when you least expect it. I just haven't looked
recently to see what particular data is used.

>
> >
> > You seem to mix up two very different things:
> > Evolution and evolution-data-server.
> >
> > I don't use Evolution on this Ubuntu machine. I've never configured it.
> >
> > Then I wonder what brings you to this mailing list...
>
> I have used Evolution in the past. I've even done development on it.

Then I'm even more surprised that you don't seem to know the difference
between Evolution and Evolution-Data-Server. The original topic was
about mail cache and making sure Evolution is not running, while you
posted about unrelated Evolution-Data-Server daemons (plus Evolution-
Data-Server has no background daemons for mail parts anyway, AFAIK).

> Yeah I think I recognize your name from past conversations and you
> never have been willing to understand other people's problems.

I think I understood and acceptably summarized the problem in the
previous paragraph of this message. :)

Cheers,
andre

--
Andre Klapper  |  [hidden email]
https://blogs.gnome.org/aklapper/


_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Patrick O'Callaghan
In reply to this post by Zan Lynx
On Fri, 2021-01-01 at 12:18 -0700, Zan Lynx wrote:
> Evolution has so many small daemon pieces that it is almost impossible
> to tell if it is "running" and nearly impossible to prevent it from running.

$ /usr/libexec/evolution/killev

or just:

$ pkill evolution
(after exiting the main GUI)

poc

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Dr. John H. Lauterbach
In reply to this post by Zan Lynx

I was able to remove the .cache files without a problem.  I closed Evolution, used Nemo with elevated permissions to delete the files.  A restarted Evolution.  Problem solved.  Thank you to all for your comments.  John


On Fri, 2021-01-01 at 14:43 -0700, Zan Lynx wrote:
On 1/1/21 1:25 PM, Andre Klapper via evolution-list wrote:
On Fri, 2021-01-01 at 12:18 -0700, Zan Lynx wrote:
On 12/31/20 5:19 AM, Patrick O'Callaghan wrote:
It's always safe to remove cached files. Evo will just recreate them
if
needed. Just be sure that Evo isn't running when you do it.

That is quite a caveat to add on there.

Evolution has so many small daemon pieces that it is almost impossible
to tell if it is "running" and nearly impossible to prevent it from running.

No. It's easily possible not to run Evolution: Just don't start it.

Yeah, right. I know for a fact that these Evolution data server bits
will access data when you least expect it. I just haven't looked
recently to see what particular data is used.


You seem to mix up two very different things:
Evolution and evolution-data-server.

I don't use Evolution on this Ubuntu machine. I've never configured it.

Then I wonder what brings you to this mailing list...

I have used Evolution in the past. I've even done development on it.
Mostly bug fixes and attempts at bug fixes. Trying to make Evolution
work for a linux-kernel virtual folder without becoming completely
confused or crashing with a 3 GB memory leak, for example.

Or trying to batch edit a bunch of downloaded email using Perl scripts.


And yet there are four /usr/libexec/evolution-* processes running. If
you kill one DBUS semi-randomly restarts it.

First there were "so many small daemon pieces". Now there are only four?
I can't make much sense out of this conversation so far.

Yeah I think I recognize your name from past conversations and you never
have been willing to understand other people's problems.

If you actually know for a fact that the cache files will only by
touched by the Evolution GUI client then just say so.



_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Gnome Evolution - General mailing list
In reply to this post by Patrick O'Callaghan
        Hi,

On Fri, 2021-01-01 at 23:15 +0100, Patrick O'Callaghan wrote:
> $ /usr/libexec/evolution/killev

which is called by:

   $ evolution --force-shutdown

and which kills also the evolution-data-server processes (it's
sometimes usable).

One can use also this:

   $ evolution --quit


Just for the record.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Gnome Evolution - General mailing list
In reply to this post by Dr. John H. Lauterbach
On Fri, 2021-01-01 at 18:48 -0500, Dr. John H. Lauterbach wrote:
> I was able to remove the .cache files without a problem.  I closed
> Evolution, used Nemo with elevated permissions to delete the files.
>  A restarted Evolution.  Problem solved.

        Hi,
out of interest, did you want to delete it from the local cache, while
it was not shown in the GUI at all (even with View->Show Deleted/Junk
Messages checked)? The file will be removed from the local cache after
some time period, depending on your local cache policy from the
Receiving Options tab, but, for deleted/moved messages, the local cache
message should be removed/moved as well.

In this particular case (and no where else), that being cached mail
messages, those can be removed also when having Evolution running, even
when viewing the message in the Preview panel. The next time the
message is selected it is downloaded again (by a very simple logic:
cache file doesn't contain requested file => download it first).

Nonetheless, I agree it's always safer to close the application, which
can access the files, to avoid unexpected issues.
        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Patrick O'Callaghan
In reply to this post by Gnome Evolution - General mailing list
On Mon, 2021-01-04 at 12:49 +0100, Milan Crha via evolution-list wrote:
> Hi,
>
> On Fri, 2021-01-01 at 23:15 +0100, Patrick O'Callaghan wrote:
> > $ /usr/libexec/evolution/killev
>
> which is called by:
>
>    $ evolution --force-shutdown

Yes, however that isn't documented in the man page.

> and which kills also the evolution-data-server processes (it's
> sometimes usable).
>
> One can use also this:
>
>    $ evolution --quit

That one is in the man page.

poc

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Safety of removing .cache files

Gnome Evolution - General mailing list
On Mon, 2021-01-04 at 13:08 +0100, Patrick O'Callaghan wrote:
> Yes, however that isn't documented in the man page.

        Hi,
aha, I see, it's only in the `evolution --help`. I may add it, I guess.
        Thanks and bye,
        Milan
       

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list