Re: [Evolution] Folder confusion

2021-01-22 Thread Milan Crha via evolution-list
On Tue, 2021-01-19 at 04:35 +0100, Douglas Summers via evolution-list
wrote:
> I tried to move a sub-folder to the top-level...and it just vanished!

Hi,
for the record, this had been filled as:
https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/141
by another user.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-21 Thread Gerd Röthig via evolution-list
Hello Douglas,

doing evolution --force-shutdown in a terminal should already be sufficient to 
shutdown Evolution
completely. 
No need to mess around with sudo or pkill, at least here on my rig.

Kind regards.

Am Dienstag, dem 19.01.2021 um 04:22 + schrieb Douglas Summers via 
evolution-list:
> On Tue, 2021-01-19 at 05:18 +0100, Ralf Mardorf via evolution-list wrote:
> > On Tue, 2021-01-19 at 03:35 +, Douglas Summers wrote:
> > In a panic, I tried to restart Evolution, but every time I tried to
> > > kill some of the leftover processes, my system would log me off after
> > > entering my sudo password.
> > 
> > IIUC you closed Evolution. After that you used "sudo" to kill some
> > remaining processes using a kill command, such as maybe "pkill".
> > 
> > What processes did you kill? How did you kill the processes? Did you use
> > a regular expression to kill remaining processes? Why do you need to use
> > "sudo"?
> > 
> These were the processes left after closing Evolution:
> /usr/libexec/evolution-source-registry
> /usr/libexec/evolution-calendar-factory
> /usr/libexec/evolution-addressbook-factory
> 
> I had to use sudo because they wouldn't close with my account (even though
> I was shown as the process owner), although after I was dumped the
> processes became owned by root.
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-21 Thread Gerd Röthig via evolution-list
Hello Douglas,

here's what I would do:

1. Exit Evolution completely by doing evolution --force-shutdown
2. Delete the folder $HOME/.cache/evolution/mail (leave all the others 
untouched)
3. Restart Evolution

This should force Evolution to re-sync all the mail folders with the contents 
on the servers.

Kind regards.

Am Dienstag, dem 19.01.2021 um 03:35 + schrieb Douglas Summers via 
evolution-list:
> [LM 20.1, Evolution 3.36.4, Hotmail via EWS]
> 
> Something really strange happened to one of my folders on Outlook. I tried
> to move a sub-folder to the top-level...and it just vanished! In a panic,
> I tried to restart Evolution, but every time I tried to kill some of the
> leftover processes, my system would log me off after entering my sudo
> password. After rebooting, I logged into my email account via browser and
> it was there, right where I'd put it. However, Evolution has no idea where
> it is.
> 
> If I need to purge some files, please let me know which. I don't want to
> do a blanket purge of Evolution's cache, as I find some of my (in
> Evolution) screen settings disappear.
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-19 Thread Patrick O'Callaghan
On Tue, 2021-01-19 at 12:24 +0100, Milan Crha via evolution-list wrote:
> On Tue, 2021-01-19 at 11:53 +0100, Patrick O'Callaghan wrote:
> > it's an undocumented option in the current version of Evo.
> 
>   Hi,
> that's true. I added it to the `man` page only recently, for 3.40.0.
> 
> > Recently you recommended '--quit'. Is that the same thing?
> 
> No, it's not the same thing. The --force-shutdown kills everything
> related to evolution and evolution-data-server, while the --quit only
> quits the Evolution itself, if it's running.
> 
> I suggested the --quit only as an option to close the Evolution, not as
> a comparable option to the --force-shutdown.

OK, thanks.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-19 Thread Milan Crha via evolution-list
On Tue, 2021-01-19 at 11:53 +0100, Patrick O'Callaghan wrote:
> it's an undocumented option in the current version of Evo.

Hi,
that's true. I added it to the `man` page only recently, for 3.40.0.

> Recently you recommended '--quit'. Is that the same thing?

No, it's not the same thing. The --force-shutdown kills everything
related to evolution and evolution-data-server, while the --quit only
quits the Evolution itself, if it's running.

I suggested the --quit only as an option to close the Evolution, not as
a comparable option to the --force-shutdown.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-19 Thread Patrick O'Callaghan
On Tue, 2021-01-19 at 09:28 +0100, Milan Crha via evolution-list wrote:
>   Hi,
> just a note, I agree with Ralf, there is no need for sudo. Simply run:
> 
>    $ evolution --force-shutdown

I used to to do that a long time ago, but it's an undocumented option
in the current version of Evo. Recently you recommended '--quit'. Is
that the same thing?

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-19 Thread Milan Crha via evolution-list
On Tue, 2021-01-19 at 06:08 +0100, Douglas Summers via evolution-list
wrote:
> > then "sudo" is still not the way to go. If you can't kill the
> > processes or if thy should get automatically restarted, there's
> > probably a good reason for this behaviour.
> > 
> I'll give these suggestions a try if it happens again; thanks for the
> help.

Hi,
just a note, I agree with Ralf, there is no need for sudo. Simply run:

   $ evolution --force-shutdown

If there are some processes "still" running after it, then it can be
they had been restarted by some other process (you can notice that by
different process ID in the `ps` command), like GNOME Shell can restart
the evolution-calendar-factory when it disappears, which brings up
other processes.

As your query had been about the Mail part, there is no need to restart
the background processes, the mail runs only on the evolution side.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-19 Thread Milan Crha via evolution-list
On Tue, 2021-01-19 at 04:35 +0100, Douglas Summers via evolution-list
wrote:
> If I need to purge some files, please let me know which.

Hi,
you can find a folder-tree file under ~/.cache/evolution/mail/ , which
contains a list of known Mail folders in the EWS account. It looks like
it has got out of sync with the server for some reason. Remove it, or
delete the line starting with "sync_state=" (quotes for clarity only),
and the next start of the Evolution it'll fully rescan the folders.

> I don't want to do a blanket purge of Evolution's cache, as I find
> some of my (in Evolution) screen settings disappear.

Settings as such are not part of the ~/.cache/, those are in GSettings
(D-Conf) and in ~/.config/ by default. More on that here:
https://help.gnome.org/users/evolution/stable/data-storage.html

Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Douglas Summers via evolution-list
On Tue, 2021-01-19 at 06:05 +0100, Ralf Mardorf via evolution-list wrote:
> On Tue, 2021-01-19 at 04:22 +, Douglas Summers wrote:
> > I had to use sudo because they wouldn't close
> 
> Did you try to SIGTERM or to SIGKILL the processes?
> 
>   ps aux --forest
> 
> might provide a pointer
> 
> My setup allows to get rid of all processes by either running
> 
>   evolution -q
>   pkill evolution
> 
> or by running
> 
>   evolution --force-shutdown
> 
> So a simple SIGTERM does the trick for my setup. Depending on your
> setup, it might not be that easy, but if it fails even with a SIGKILL,
> then "sudo" is still not the way to go. If you can't kill the processes
> or if thy should get automatically restarted, there's probably a good
> reason for this behaviour.
> 
I'll give these suggestions a try if it happens again; thanks for the
help.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Ralf Mardorf via evolution-list
On Tue, 2021-01-19 at 04:22 +, Douglas Summers wrote:
> I had to use sudo because they wouldn't close

Did you try to SIGTERM or to SIGKILL the processes?

  ps aux --forest

might provide a pointer

My setup allows to get rid of all processes by either running

  evolution -q
  pkill evolution

or by running

  evolution --force-shutdown

So a simple SIGTERM does the trick for my setup. Depending on your
setup, it might not be that easy, but if it fails even with a SIGKILL,
then "sudo" is still not the way to go. If you can't kill the processes
or if thy should get automatically restarted, there's probably a good
reason for this behaviour.




___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Douglas Summers via evolution-list
On Tue, 2021-01-19 at 05:35 +0100, Ralf Mardorf via evolution-list wrote:
> On Tue, 2021-01-19 at 03:59 +, Douglas Summers wrote:
> > xfce4-session kept core-dumping, even when I logged in from the CTRL-
> > ALT-F1 console as root!
> 
> While it is quite possible to run desktop environment sessions with root
> privileges, it might be, that it is prevented by default settings of a
> distro or a desktop environment. If you should tend to do chaotic things
> with root privileges, you likely suffer from a permissions issue. Maybe
> files required by a user session can't be accessed anymore without root
> privileges. It's easy to run in privilege issues for files such as
> /run/user/*/dconf/user.
> 
I think you misread my message. I never login with root using XFCE, only
via sudo or the CTRL-ALT-F1 console (which is what I did) and only because
I was trying to avoid XFCE from crashing while I troubleshot this problem.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Ralf Mardorf via evolution-list
On Tue, 2021-01-19 at 03:59 +, Douglas Summers wrote:
> xfce4-session kept core-dumping, even when I logged in from the CTRL-
> ALT-F1 console as root!

While it is quite possible to run desktop environment sessions with root
privileges, it might be, that it is prevented by default settings of a
distro or a desktop environment. If you should tend to do chaotic things
with root privileges, you likely suffer from a permissions issue. Maybe
files required by a user session can't be accessed anymore without root
privileges. It's easy to run in privilege issues for files such as
/run/user/*/dconf/user.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Douglas Summers via evolution-list
On Tue, 2021-01-19 at 05:18 +0100, Ralf Mardorf via evolution-list wrote:
> On Tue, 2021-01-19 at 03:35 +, Douglas Summers wrote:
> In a panic, I tried to restart Evolution, but every time I tried to
> > kill some of the leftover processes, my system would log me off after
> > entering my sudo password.
> 
> IIUC you closed Evolution. After that you used "sudo" to kill some
> remaining processes using a kill command, such as maybe "pkill".
> 
> What processes did you kill? How did you kill the processes? Did you use
> a regular expression to kill remaining processes? Why do you need to use
> "sudo"?
> 
These were the processes left after closing Evolution:
/usr/libexec/evolution-source-registry
/usr/libexec/evolution-calendar-factory
/usr/libexec/evolution-addressbook-factory

I had to use sudo because they wouldn't close with my account (even though
I was shown as the process owner), although after I was dumped the
processes became owned by root.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Ralf Mardorf via evolution-list
On Tue, 2021-01-19 at 03:35 +, Douglas Summers wrote:
In a panic, I tried to restart Evolution, but every time I tried to
> kill some of the leftover processes, my system would log me off after
> entering my sudo password.


IIUC you closed Evolution. After that you used "sudo" to kill some
remaining processes using a kill command, such as maybe "pkill".

What processes did you kill? How did you kill the processes? Did you use
a regular expression to kill remaining processes? Why do you need to use
"sudo"?


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Folder confusion

2021-01-18 Thread Douglas Summers via evolution-list
On Tue, 2021-01-19 at 03:35 +, Douglas Summers via evolution-list
wrote:
> [LM 20.1, Evolution 3.36.4, Hotmail via EWS]
> 
> Something really strange happened to one of my folders on Outlook. I
> tried
> to move a sub-folder to the top-level...and it just vanished! In a
> panic,
> I tried to restart Evolution, but every time I tried to kill some of the
> leftover processes, my system would log me off after entering my sudo
> password. After rebooting, I logged into my email account via browser
> and
> it was there, right where I'd put it. However, Evolution has no idea
> where
> it is.
> 
> If I need to purge some files, please let me know which. I don't want to
> do a blanket purge of Evolution's cache, as I find some of my (in
> Evolution) screen settings disappear.
> 
As a test, I renamed $HOME/.cache/evolution and let it rebuild itself; so
far, so good, only lost my Calendar colors AFAIK. The worst part was the
crashing after killing the Evolution processes - xfce4-session kept core-
dumping, even when I logged in from the CTRL-ALT-F1 console as root!
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Folder confusion

2021-01-18 Thread Douglas Summers via evolution-list
[LM 20.1, Evolution 3.36.4, Hotmail via EWS]

Something really strange happened to one of my folders on Outlook. I tried
to move a sub-folder to the top-level...and it just vanished! In a panic,
I tried to restart Evolution, but every time I tried to kill some of the
leftover processes, my system would log me off after entering my sudo
password. After rebooting, I logged into my email account via browser and
it was there, right where I'd put it. However, Evolution has no idea where
it is.

If I need to purge some files, please let me know which. I don't want to
do a blanket purge of Evolution's cache, as I find some of my (in
Evolution) screen settings disappear.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list