# Mail App v1.5.1 Stucks on Loading Messages

**URL:** <https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535>\
**Category:** ℹ️ Support\
**Tags:** github\_issue\_exists, nc20, mail-app\
**Created:** [October 28, 2020, 9:04pm UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535 "2020-10-28T21:04:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![StavrosMadK](https://help.nextcloud.com/user_avatar/help.nextcloud.com/stavrosmadk/32/30556_2.png) [@StavrosMadK](https://help.nextcloud.com/u/StavrosMadK)\
**Post date:** [October 28, 2020, 9:04pm UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/1 "2020-10-28T21:04:12Z")

</div>

I successfully upgraded to 20.0.1 (today). Everything was working fine including mail app. But later Mail app had an update to 1.5.1 after updating, mail stopped working.

Deleted the mail account  
run “occ mail:clean-up”  
disabled and removed app  
reinstalled, added the account again  
but i still get “Loading messages”.

Opened the database with pgAdmin  
the account is added, but no new messages appear on the db.  
Tried running “occ mail:account:sync 10 -f” (my current account id) and got:

> [debug] account is up to date, skipping mailbox sync
> 
> In MailboxLockedException.php line 33:
> 
> 331 is already being synced

After 3 hours i still get “331 is alerady being synced” so it doesn’t do anything…

Also tried on a test server i have, which was already on 20.0.1, mail app was fine, until i upgraded to 1.5.1. Same problem there.

Does your mail app works? Or is just me?

NC20.0.1, Docker on Unraid, Redis + Postgre13

PS. i have an @outlook.com account

EDIT1  
Nextcloud log level to 0, doesn’t show anything for the mail app  
On chromes network dev tab i see a tof on “sync” in the list and the preview is:

> 1. {status: “fail”,…}
> 
> 2. data: {message: “401 is already being synced”, type: “OCA\Mail\Exception\MailboxLockedException”}
> 
> ```
> 1. message: "401 is already being synced"
> 2. type: "OCA\Mail\Exception\MailboxLockedException"
> 
> ```
> 
> 1. status: “fail”

---

<div class="post-metadata">

**Author:** ![aronmal](https://help.nextcloud.com/letter_avatar/aronmal/32/5_5575768a8748004e209b776fc1b2916d.png) [@aronmal](https://help.nextcloud.com/u/aronmal)\
**Post date:** [October 28, 2020, 9:28pm UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/2 "2020-10-28T21:28:54Z")

</div>

Hi, i have the same problem and also the same setup like you with unraid 😂

I hope this will get fixed soon.

---

<div class="post-metadata">

**Author:** ![StavrosMadK](https://help.nextcloud.com/user_avatar/help.nextcloud.com/stavrosmadk/32/30556_2.png) [@StavrosMadK](https://help.nextcloud.com/u/StavrosMadK)\
**Post date:** [October 28, 2020, 9:30pm UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/3 "2020-10-28T21:30:30Z")

</div>

“Nice” that i’m not alone. i was searching for hours to see what happens but cant find anything…

---

<div class="post-metadata">

**Author:** ![aboubenadhem](https://help.nextcloud.com/user_avatar/help.nextcloud.com/aboubenadhem/32/30561_2.png) [@aboubenadhem](https://help.nextcloud.com/u/aboubenadhem)\
**Post date:** [October 29, 2020, 5:20am UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/4 "2020-10-29T05:20:15Z")

</div>

I’ve got the same issue on two installations—both also running Postgres, so maybe that’s a factor.

---

<div class="post-metadata">

**Author:** ![aronmal](https://help.nextcloud.com/letter_avatar/aronmal/32/5_5575768a8748004e209b776fc1b2916d.png) [@aronmal](https://help.nextcloud.com/u/aronmal)\
**Post date:** [October 29, 2020, 6:03am UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/5 "2020-10-29T06:03:33Z")

</div>

Should someone open an issue on github for this case?

---

<div class="post-metadata">

**Author:** ![StavrosMadK](https://help.nextcloud.com/user_avatar/help.nextcloud.com/stavrosmadk/32/30556_2.png) [@StavrosMadK](https://help.nextcloud.com/u/StavrosMadK)\
**Post date:** [October 29, 2020, 6:37am UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/6 "2020-10-29T06:37:46Z")

</div>

> [@StavrosMadK](#):
>
> 1. {status: “fail”,…}
> 2. data: {message: “401 is already being synced”, type: “OCA\Mail\Exception\MailboxLockedException”}
> 
> ```auto
> 1. message: "401 is already being synced"
> 2. type: "OCA\Mail\Exception\MailboxLockedException"
> 
> ```
> 
> 1. status: “fail”

Just did. Jump in, and provide any info if its needed!

[https://github.com/nextcloud/mail/issues/3908](https://github.com/nextcloud/mail/issues/3908)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:18pm UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/8 "2024-12-12T19:18:39Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:18pm UTC](https://help.nextcloud.com/t/mail-app-v1-5-1-stucks-on-loading-messages/96535/9 "2024-12-12T19:18:41Z")

</div>


