AquaMail Forum

English - Android => Bug reports => Topic started by: Symer on March 14, 2016, 06:21:59 pm

Title: Folder not update
Post by: Symer on March 14, 2016, 06:21:59 pm
Hello,
Since the update 1.6.1.0 I have a problem.

I work in imap.
Since this update, my files (folder) "parameters in reception entering" not download messages.
Or they do very random. Once a day, usually in the morning.

Do you know how to get back to normal operation, please?
Title: Re: Folder not update
Post by: Symer on March 14, 2016, 08:15:34 pm
Bonjour, D'accord merci.

My language is FRENCH.
Depuis la mise à jour 1.6.1.0, j'ai un problème de mise à jour des dossiers.

Je fonctionne en IMAP.
J'ai des dossiers qui sont configurés comme courrier entrant, malheureusement il ne me met plus à jour ce dossier. ( ou plutôt il le met à jour que très rarement, généralement le matin et une seule fois par jour )
Par contre le dossier boite de réception lui fonctionne parfaitement.


Pour résumé, lorsque je souhaite réceptionner des messages, le logiciel m'actualise le dossier "courrier entrant" mais pas les autre dossiers ( alors que de nouveaux mails sont disponibles ces dossiers )
Title: Re: Folder not update
Post by: StR on March 14, 2016, 09:04:25 pm
Paris Geek:

Just in case to add to your answer (sorry, it would take me forever to write this much in French):
It looks like Symer had it working prior to the update. So, I wonder if somehow the settings for synchronization of the folders may have gotten changed.
So, I'd suggest to check:
 Go to "Other folders" for that account (from the accounts list view if enabled there, or from the "drawer" in the left top corner), and see if the folders in questions are configured to be synced at all.

(And then consider the synchronization options that you've mentioned.)
Title: Re: Folder not update
Post by: Symer on March 14, 2016, 11:17:47 pm
Bonjour. Merci pour vos messages. Je viens de vérifier chacun des points que vous avez mentionné, tout est conforme.

Je précise bien ( comme le signale StR )  qu'avant la mise à jour, tout fonctionnait parfaitement.
Title: Re: Folder not update
Post by: Symer on March 14, 2016, 11:21:26 pm
PS : J'ai mis du temps à venir en discuter, mais cela fait plus d'un mois que j'ai le problème.
Title: Re: Folder not update
Post by: Symer on March 14, 2016, 11:27:23 pm
J'ai déjà déinstallé et réinstallé l'application. Rien n'a changé. ( sauf que j'ai du reparamétrer mes comptes :-P )

Excusez moi, mais les indications pour envoyé un fichier de débogage sont ou ?
Title: Re: Folder not update
Post by: Kostya Vasilyev on March 15, 2016, 08:32:43 pm
Um, did this get resolved?
Title: Re: Folder not update
Post by: StR on March 15, 2016, 08:35:36 pm
Not yet...
It seems that all the settings are set to sync.
So, Paris Geek recommended sending a debug log to you. That's the latest.
Title: Re: Folder not update
Post by: Kostya Vasilyev on March 15, 2016, 08:37:40 pm
And what is the issue?

Not sure I understand this:

---
Since this update, my files (folder) "parameters in reception entering" not download messages.
---

A specific folder not fetching mail? All of them? In a particular account? All accounts? Any error messages?

Title: Re: Folder not update
Post by: StR on March 15, 2016, 08:47:04 pm
And what is the issue?

The way I understand the issue is that there are a few folders configured to be synced besides INBOX. While Inbox works just fine, there is a problem that the rest of the folders get updates very rarely, "usually in the morning and once a day". That happens even though there are new messages in those folders.

Paris Geek has suggested to verify synchronization settings for these folders.

And all this seems to have started happening since the update to 1.6.1.0.


Title: Re: Folder not update
Post by: Symer on March 16, 2016, 03:55:06 pm
Bonjour,
Désolé pour mon retour tardif.

Donc non mon problème n'est pas résolu.
 
Le problème est présent sur tous mes comptes. Aucun message d'erreur ça fait comme si il "checker" la boite ( le contenu du dossier ) mais qu'il n'y avait rien. Alors qu'il y a de nouveaux messages.
Quand je fais une synchronisation manuel générale du compte, il ne me check même pas le dossier.

Je me répète, mais sans que je sache pourquoi, des fois il synchronise le dossier une fois par jour ) Par exemple la il en a fait une vers 13h00, ( il est 13h54 chez moi )

Le message de StR reflète exactement mon problème.
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 03:56:30 pm
Je ne sais pas si ça peut aider, mais je suis sur Android 5.1.1 avec un Samsung  galaxy Note 4
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 05:25:38 pm
biens ur, je vous fait ca dans l'après midi dès que j'ai un peu de temps.

Merci en tout cas de votre suivi à tous :-)
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 06:59:06 pm
Voici les copies d'écrans :
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 07:50:16 pm
Non ce n'est pas un compte Gmail et oui c'est ce dossier "Sébastien" qui ne synchronise pas lorsqu'on lui demande.
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 07:57:05 pm
C'est un email pro, cela ne va pas vous parler.

Nous avons notre propre serveur de mail.
Title: Re: Folder not update
Post by: StR on March 16, 2016, 08:14:08 pm
I do not see anything in these screenshots that would look abnormal.

A side note: since the PUSH is disabled for the account (in the 2nd screenshot), - the folder's setting for PUSH do not play any role. So, you shouldn't expect PUSH to happen on any folders.  (Note that there is also a "master switch" for PUSH  for the entire app that you can see if you scroll below what you see in the 1st screenshot.)

But it looks like you should have this folder synced every 15 minutes.

Regarding the server question that Paris Geek is asking, I'd suggest a simple test: Open that folder in Aquamail and pull the top of the screen down -- to cause it refreshing this folder specifically (you can do the same by going to the 3-dot menu and choosing "refresh" while in that folder). If you see any error message, note what that is and let us know.
Try this a few times (e.g. 2-4, maybe with waiting in between). If there are no errors during that "refreshing", then it is unlikely the server.
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 08:25:43 pm
Dans le même compte, le dossier "Boite de réception" fonctionnement parfaitement normalement. Donc je ne pense pas que cela puisse venir du serveur.
Title: Re: Folder not update
Post by: StR on March 16, 2016, 08:56:43 pm
Il est simple de tester la synchronisation manuelle pour ce dossier ("Sébastien").
Testez-le, s'il vous plaît!
Title: Re: Folder not update
Post by: Symer on March 16, 2016, 08:58:31 pm
La synchronisation manuelle. J'ai testé, Cela ne donne aucun message d'erreur. Mais aucun nouveau message ne se charge.
Title: Re: Folder not update
Post by: StR on March 16, 2016, 09:15:31 pm
Thank you for doing the manual checking.
Let me understand that last comment you made: "Mais aucun nouveau message ne se charge." (Translation for Kostya: {Manual refresh of the folder in question worked.} But no new messages loaded.)
Was that when there was a new message(s) in the folder and it (they) didn't load? 
Or, there were no new messages in that folder while you were doing manual refresh of the folder?

Added:
If that happened while there were new messages in that folder, it would be helpful to catch the debug log in the following situation:
When you notice (in the web interface or a different mail program, -- whichever way you are accessing that account besides Aquamail) that there is a new message in that folder, but Aquamail didn't load that message withing 15 minutes, -- Enable the log, go to the folder, do the manual refresh for that folder, exit from the folder to the account list, do the refresh for the entire account (touch the "wheel" next to the account). Stop the log collection. Send to Kostya's e-mail address. (See the instructions of how to configure and save the debug logs in Kostya's signature.)
Title: Re: Folder not update
Post by: Symer on March 17, 2016, 12:00:03 am
Je vois pour envoyer ça et je vous tiens au courant. Merci.
Title: Re: Folder not update
Post by: Symer on March 17, 2016, 12:09:21 am
It is done.

I wait now :-)
Title: Re: Folder not update
Post by: Symer on March 17, 2016, 12:24:34 am
C'est bon ça fonctionne. Donc au final j'ai du décoché une option. " OPTIMISATION IMAP "

Appuyez longtemps le compte -> Options et dossiers -> Options IMAP.
Eteignez "utilisation des optimisations".

Je vais voir avec mon admin serveur si il sait pourquoi cette optimisation ne fonctionne pas et je vous en informe si j'ai la raison.

Merci en tout cas à toute l'équipe et à Kostya pour sa réactivité. Vraiment Super !

Title: Re: Folder not update
Post by: StR on March 17, 2016, 01:24:59 am
Merci, Symer!
That's interesting to know.

AFAIR, that's a relatively new feature, and Kostya might find these findings useful to improve it.
Title: Re: Folder not update
Post by: Symer on March 17, 2016, 01:26:41 am

With pleasure :-)

Option introduced in Version 1.6.1.0?
Title: Re: Folder not update
Post by: StR on March 17, 2016, 03:56:20 am
Sorry, I don't remember when it was introduced, especially in the Google Play release version, as I was following -dev (development) versions.
Title: Re: Folder not update
Post by: mikeone on March 17, 2016, 10:22:44 am

With pleasure :-)

Option introduced in Version 1.6.1.0?
The option "IMAP optimizations" was implemented in July 2014 with dev-build 1.4.1-37-beta1 (official release of 1.4.1 in Play Store: end of August 2014):

http://www.aqua-mail.com/forum/index.php?topic=2566.msg10635#msg10635
Title: Re: Folder not update
Post by: StR on March 17, 2016, 05:23:49 pm
Mea culpa.
Title: Re: Folder not update
Post by: Kostya Vasilyev on March 18, 2016, 07:03:26 pm
Since disabling this setting worked --

-- this is a mail server bug / issue, maybe in this specific account, maybe in those specific folders.

More exactly, the server reports that it supports CONDSTORE and does not bump the per-folder HIGHESTMODSEQ value when something in that folder changes.
Title: Re: Folder not update
Post by: nevernow on March 22, 2016, 03:26:03 am
Hi, I have the same problem as the OP and I haven't been able to fix it by deselecting the IMAP optimization option. The problem occurs since the update I received on the 11th of March. I have two accounts configured, one is a Roundcube setup and the other is a Zimbra server I co-manage. In addition to not being able to sync my mail automatically, I am almost positive my Inbox contents on the Zimbra account preceding the 11th of March have been removed by Aqua Mail.

Is it possible to get an APK of a previous version from a reliable source? Im not inclined to trust the sites where they can usually be found, but I'd like to confirm the update is the cause of my issue.

Thanks in advance for any help.
Title: Re: Folder not update
Post by: StR on March 22, 2016, 04:03:49 am
You can choose any of the "stable" builds (those are distributed via Google Play) in this forum:
http://www.aqua-mail.com/forum/index.php?board=9.0
Title: Re: Folder not update
Post by: Kostya Vasilyev on March 22, 2016, 11:18:02 pm
Re: In addition to not being able to sync my mail automatically

This is something completely different than what the OP described.

Re: I am almost positive my Inbox contents on the Zimbra account preceding the 11th of March have been removed by Aqua Mail

I very much doubt this.

---

Now, if AquaMail is only showing some of the newest messages, and then the message list "jumps to" much earlier ones, then please try this:

Quote
- Long press the account -> options and folders -> account options.

- Change the "messages to sync" setting from a number based value ("25
messages" etc) to a date range based value ("last 7 days", etc.)

- Back out and refresh the account

And as usual, feel free to capture the issues in the app's debug log (link below).
Title: Re: Folder not update
Post by: nevernow on March 23, 2016, 04:18:07 am
@Paris Geek & StR: thanks for the links. I am relatively new to Aqua Mail and not yet familiar with all the resources.

Re: In addition to not being able to sync my mail automatically

This is something completely different than what the OP described.

Re: I am almost positive my Inbox contents on the Zimbra account preceding the 11th of March have been removed by Aqua Mail

I very much doubt this.

---

Now, if AquaMail is only showing some of the newest messages, and then the message list "jumps to" much earlier ones, then please try this:

Quote
- Long press the account -> options and folders -> account options.

- Change the "messages to sync" setting from a number based value ("25
messages" etc) to a date range based value ("last 7 days", etc.)

- Back out and refresh the account

And as usual, feel free to capture the issues in the app's debug log (link below).

The way I understood the OP, his issue was the same as mine, but I have to say, with all due respect, his English is not perfect and I might have misunderstood his words. However, we both had the impression an update to the app broke something that was working fine before the update. He seems to have solved his issue by disabling a function that was apparently not touched by the update, so honestly I'm not 100% convinced by his conclusions.

About your doubts, I understand them and I also know it's kind of a heavy allegation. But I assure you nothing happened on the server side and the only other client configured to operate on that mailbox is not set to remove mail from the server under any circumstances. I am still trying to figure things out, as it now seems that more messages are gone. I like Aqua Mail and I'm truly not trying to throw random accusations at your app, but something's wrong on my side and I thought it made sense to seek help here. If anything, I am grateful for your work.
Title: Re: Folder not update
Post by: StR on March 23, 2016, 06:13:30 am
...
The way I understood the OP, his issue was the same as mine, but I have to say, with all due respect, his English is not perfect and I might have misunderstood his words. However, we both had the impression an update to the app broke something that was working fine before the update. He seems to have solved his issue by disabling a function that was apparently not touched by the update, so honestly I'm not 100% convinced by his conclusions.

Don't forget, Kostya saw the debug logs from the OP's aquamail, and made his conclusions based on what was shown in the logs. So, let's not waste everybody's time and energy on disputing the case that is resolved.

Quote
About your doubts, I understand them and I also know it's kind of a heavy allegation. But I assure you nothing happened on the server side and the only other client configured to operate on that mailbox is not set to remove mail from the server under any circumstances. I am still trying to figure things out, as it now seems that more messages are gone. I like Aqua Mail and I'm truly not trying to throw random accusations at your app, but something's wrong on my side and I thought it made sense to seek help here. If anything, I am grateful for your work.

Kostya is (and other people are) glad to help you.
As Kostya wrote, - if you would send him a debug log, he might be able to see what is happening.
Title: Re: Folder not update
Post by: nevernow on March 23, 2016, 10:29:24 pm
...
The way I understood the OP, his issue was the same as mine, but I have to say, with all due respect, his English is not perfect and I might have misunderstood his words. However, we both had the impression an update to the app broke something that was working fine before the update. He seems to have solved his issue by disabling a function that was apparently not touched by the update, so honestly I'm not 100% convinced by his conclusions.

Don't forget, Kostya saw the debug logs from the OP's aquamail, and made his conclusions based on what was shown in the logs. So, let's not waste everybody's time and energy on disputing the case that is resolved.

Fair enough, I won't discuss it further. It just seemsweird that an update forced the OP to change a setting to keep the app working.

About your doubts, I understand them and I also know it's kind of a heavy allegation. But I assure you nothing happened on the server side and the only other client configured to operate on that mailbox is not set to remove mail from the server under any circumstances. I am still trying to figure things out, as it now seems that more messages are gone. I like Aqua Mail and I'm truly not trying to throw random accusations at your app, but something's wrong on my side and I thought it made sense to seek help here. If anything, I am grateful for your work.

Kostya is (and other people are) glad to help you.
As Kostya wrote, - if you would send him a debug log, he might be able to see what is happening.
[/quote]

That's great, thanks! I'm still trying to figure things out on my side, but if I can rule out all factors external to the app, I will certainly provide a debug log.
Title: Re: Folder not update
Post by: StR on March 23, 2016, 11:00:11 pm
Fair enough, I won't discuss it further. It just seemsweird that an update forced the OP to change a setting to keep the app working.
The relation between two events could be: causality, correlation, or coincidence.

Strangely enough, your post above happened after the partial lunar eclipse this morning. Was the lunar eclipse the reason why you posted that?  ;) That's neither correlation nor causality. It is coincidence.
Title: Re: Folder not update
Post by: nevernow on April 05, 2016, 09:30:36 pm
I am familiar with the concepts of correlation, causality and coincidence, thanks. :)

This said, I didn't neglect or forget about this thread, I was just waiting to be able to post something meaningful. Here's what I got (I am back on the latest version, 1.6.1.5).

My phone OS has a feature - meant to save battery power, they say - which "monitors and limits" background network traffic of apps. It's always been active on a mild setting, but not being able to rule out any silent policy changes in that setting, I turned off the feature completely about a week ago. Then, last Saturday afternoon around 6PM I noticed Aqua Mail hadn't check either of my accounts since 3:05AM, so about 16 hours earlier. I ran a manual check and then enabled the debug log. Of course, according to Muprhy's Law, no problem  has occurred since then. During those 13 hours I had been mostly on Wi-Fi, with a couple of hours of mobile connection; other apps were sending notifications and messages regularly. At this point I don't know what else to do.
Title: Re: Folder not update
Post by: StR on April 05, 2016, 11:00:58 pm
Ok, so to separate different issues:
1. I guess you'd agree now that there is no specific issue in the latest version per se. Right? (You were able to run for several days without any problem.)

2. What you observe at this point, seem to be some isolated glitches. They are usually harder to "debug" if they are intermittent like that (i.e. not reproducible).
Those glitches could be due to the (1) phone, (2) Android, (3) router, (4) ISP (cable or DSL modem), (5) DNS servers, (6) IMAP/EWS server, (7) aliens, ... :-)
This morning, my beloved laptop that has served me reliably on 4 continents, lost connectivity in my house, about 10 meters away from the Wi-Fi router. The wi-fi connection stayed on, and skype hadn't informed me yet that my peers went off-line, but Thunderbird failed to save the message draft on the server.
There was some glitch (possibly connection to the DNS server, as the already existing connections were working fine), maybe in the NAT, or something else. And the rest of the devices, including my phone, didn't issue any error.
I found no clear reason for that outage, but I didn't blame Thunderbird. :)

3. If you catch the problem in the debug log, - send it to the developer kmansoft / gmail.
I am sure that if Kostya sees something that might give a clue about the culprit, he'd be happy to share that with you.
Or, maybe, that was just a "one-off" glitch, in which case your problem is completely resolved by disabling that battery optimizer. In which case, it would be appreciated if you let us know too.
(BTW, read the FAQ, currently the last item: http://www.aqua-mail.com/?page_id=227 , especially if your phone is running MIUI.)
Title: Re: Folder not update
Post by: nevernow on April 09, 2016, 01:57:38 pm
1) While my first post was perhaps a bit rushed in drawing conclusions, I have to say I've been using Aqua Mail for months and I never had this problem until the last update. But you know: correlation, causation, coincidence... ;) So I can't agree with that 100%.

2) True, there are multiple possible causes and intermittent problems are hard to catch. But this particular one is happening across two different Wi-Fi network and mobile data connection, while other apps continue working online even in the background (more on that later).

3) Yes, I am using MIUI and I also suspect they silently enabled that "optimizer" with a recent update. However - here's the good news - yesterday the problem occurred while the debug log was on (the optimizer from MIUI is obviously off). At around 6PM, I opened Aqua Mail and noticed that mail hadn't been checked since 1:50PM. The weird thing is the debug log also stops there, despite having been on all the time. It looks like a component of Aqua Mail crashed. Non-scientifically, I am tempted to say the problem might occur while I am on a mobile data connection even though a known Wi-Fi network is available.

Should I send the whole debug log (25M) or just the last bit? Is it ok to remove email addresses, servers and mail message contents and replace them with placeholders? Finally, thanks again for your support.
Title: Re: Folder not update
Post by: mikeone on April 09, 2016, 02:08:47 pm
If AquaMail crashes you will find a chrash log file called log-AquaMail-crash.txt directly in the root directory of your device.

Please send this log file as an attachment to kmansoft / at sign / gmail / dot-com.

This file does not contain any logins or passwords or message text.
Title: Re: Folder not update
Post by: nevernow on April 09, 2016, 02:58:47 pm
Thanks for your reply. The thing is Aqua Mail didn't quite crash. Just, at 1:50PM yesterday, it both stopped checking for emails and logging in the debug log. Hence my hypothesis that some component of the app might have crashed.
Title: Re: Folder not update
Post by: mikeone on April 09, 2016, 03:12:24 pm
Ah, I see...

Therefore please send the created file log-AquaMail.txt to kmansoft / at sign / gmail / dot com.

The log does not contain your email account passwords.
Title: Re: Folder not update
Post by: nevernow on April 09, 2016, 05:06:51 pm
I know passwords don't apppear in the log, I'm probably just a little paranoid. :) In any case: email sent!
Title: Re: Folder not update
Post by: nevernow on April 10, 2016, 08:40:34 pm
Just a quick update: I discussed the issue via email with Kostya (he's very kind and helpful!) and we'll try to figure things out in the next weeks. I'll post any further updates here, too.