Sync with iCloud acct
Sync failed
Mail app version: (see apps admin page, e.g. 0.5.3)
1.3.0
Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...)
iCloud
Operating system: (e.g. Debian 8)
Ubuntu 18.04
Web server: (e.g. Apache, Nginx,...)
Apache
Database: (e.g. MariaDB, SQLite or PostgreSQL)
MadiaDB
PHP version: (e.g. 7.0)
7.2..24
Nextcloud Version: (see admin page, e.g. 13.0.2)
18.0.3
Browser: (e.g. Firefox 48)
Several tested, mainly Brave
Operating system: (e.g. Arch Linux)
macOS 10.15.4
[mail] Error: OCA\Mail\Exception\ServiceException: Sync failed: at <
POST /index.php/apps/mail/api/accounts/12/folders/SU5CT1g%3D/sync
from 46.90.225.233 by mp at 2020-04-15T10:57:45+00:00
please check nextcloud.log for the full log message and trace
Yesterday I upgraded the Mail app. I found a thread regarding the body height in the reading pane, what is fine now. :) With the previous (stable / released) version the iCloud account worked. I looked into the nextcloud.log, but unfortunately that doesn't help. There is a 2nd account connected to Microsoft365 and all is well. Tested another IMAP-Account, no problem at all. The nextcloud.log contains no further information other than above. I'm sorry - I would really like to be more specific and spent already a few hours with locating the problem. Do you have any other ideas?
The Nextcloud mail app offers an extensive logging system to make it easier identifying and tracking down bugs. Please enable debug mode and set the log level to debug in your admin settings. Then, try to reproduce your issue and take another look at data/nextcloud.log and data/horde_imap.log.
Mail app version: (see apps admin page, e.g. 0.5.3)
1.3.0
That is the RC, I guess?
Mail app version: (see apps admin page, e.g. 0.5.3)
1.3.0That is the RC, I guess?
Yes, sir.
How can I revert it to the released version? :/
Restore your backup.
If you're interested in actually helping getting the problem fixed, please provide the logs with the instructions given. Otherwise there is nothing we can help with until someone else runs into this and provides the details. There are simply too many possible ways this could fail.
Thanks for the follow-up, Christoph. I'll try to do so in the evening. Gave it a first shot, but with no helpful results for now. I understand there is no way back without a backup. So it's completely my fault, as I don't have one yet. We are still evaluating Nextcloud and not really in production, although it would be a relatively big effort to start from scratch now. As I said - I messed it up and don't want to blame it on your app. Thank you for your time. Best, Markus
Once there is more info we can check if this is the same as https://github.com/nextcloud/mail/issues/2909.
I'm not in iCloud, but after updating to Ver.1.3, I'm getting the following errors frequently.
[mail] Error: OCA\Mail\Exception\ServiceException: Sync failed: Can not get messages from mailbox INBOX/FLAGGED: Could not open mailbox "INBOX/FLAGGED". at <<closure>>
0. /NEXTCLOUD/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php line 106
OCA\Mail\Service\Sync\ImapToDbSynchronizer->sync(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 67}, 42, null, false)
1. /NEXTCLOUD/apps/mail/lib/BackgroundJob/SyncJob.php line 76
OCA\Mail\Service\Sync\ImapToDbSynchronizer->syncAccount(OCA\Mail\Account {})
2. /NEXTCLOUD/lib/public/BackgroundJob/Job.php line 79
OCA\Mail\BackgroundJob\SyncJob->run({accountId: 28})
3. /NEXTCLOUD/lib/public/BackgroundJob/TimedJob.php line 61
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
4. /NEXTCLOUD/cron.php line 125
OCP\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
[mail] Error: OCA\Mail\Exception\ServiceException: Sync failed: at <<closure>>
0. /NEXTCLOUD/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php line 106
OCA\Mail\Service\Sync\ImapToDbSynchronizer->sync(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 9}, 42, null, false)
1. /NEXTCLOUD/apps/mail/lib/BackgroundJob/SyncJob.php line 76
OCA\Mail\Service\Sync\ImapToDbSynchronizer->syncAccount(OCA\Mail\Account {})
2. /NEXTCLOUD/lib/public/BackgroundJob/Job.php line 79
OCA\Mail\BackgroundJob\SyncJob->run({accountId: 37})
3. /NEXTCLOUD/lib/public/BackgroundJob/TimedJob.php line 61
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
4. /NEXTCLOUD/cron.php line 125
OCP\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
@crdxfire please see https://github.com/nextcloud/mail/pull/2912
@Bables55 please open a new ticket. I can see why that fails for you but we'll have to debug why that old flagged inbox is still there. This should have vanished after the update.
@Bables55 see https://github.com/nextcloud/mail/issues/2913. Someone else ran into the same error :v:
v1.3.1 was just released. Please update :v: