YunoHost-Apps / sogo_ynh

SOGo Groupware for YunoHost.
https://sogo.nu/
GNU General Public License v3.0
6 stars 5 forks source link

Migration to Buster : weird behaviour for some mail accounts #8

Closed roukydesbois closed 5 months ago

roukydesbois commented 4 years ago

After migrating to Buster, my ynh mail account and one of the IMAP accounts I had added to SoGO are not usable anymore: I see the accounts, they are properly configured in terms of server URLs, but there are no folders nor mails. Weirdly, the last IMAP account is working fine. Where could I find some logs to understand what's happening?

Josue-T commented 4 years ago

Hello,

A fix is available on the testing branch: https://github.com/YunoHost-Apps/sogo_ynh/tree/testing

roukydesbois commented 4 years ago

Is there a way to change the branch of a repo for an installed app? If I uninstall SoGO, and reinstall it, I'll loose the previous buggy installation and won't be sure the fix fixes it, right?


Thomas Blarre

7 août 2020 21:00:39 Josue-T notifications@github.com:

Hello,

A fix is available on the testing branch: https://github.com/YunoHost-Apps/sogo_ynh/tree/testing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/YunoHost-Apps/sogo_ynh/issues/8#issuecomment-670689297], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AC2TCFCVO5ZDVA6VNWZUHP3R7RMOLANCNFSM4PX4EKCA]. [https://github.com/notifications/beacon/AC2TCFETEIRPWWRKVBVNXHLR7RMOLA5CNFSM4PX4EKCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE746QEI.gif]

Josue-T commented 4 years ago

You can see here how to use the testing branch: https://github.com/YunoHost-Apps/sogo_ynh#developers-infos

roukydesbois commented 4 years ago

After debugging a bit, my issue is related to https://sogo.nu/bugs/view.php?id=4783 Which is fixed in version 5.0. Is there any plan to upgrade the version of the ynh package pleeeeease? :grimacing: Thanks!

Josue-T commented 4 years ago

Well, the fix is available since 2 month on master... can you please update your package on the last version ?

roukydesbois commented 4 years ago

I've just upgraded it again, just to be sure, and I still don't see my Gandi account's folders, and I have this error when I try to create a folder:

Oct 02 19:47:43 sogod [18689]: <0x1646520[SOGoMailAccount]:2> renewing imap4 password                       2020-10-02 19:47:43.194 sogod[18689:18689] ERROR(-[NSException(NGMiscellaneous) initWithFormat:]): missing format!                                                                                                      Oct 02 19:47:43 sogod [18689]: <0x0x1418320[NGImap4Client]> ERROR(-[NGImap4Client _processUnknownCommandParserException:]): catched non-IMAP4 parsing exception UnexpectedEndOfStream: the parsed stream ended unexpectedly                                                                                                         Oct 02 19:47:43 sogod [18689]: [ERROR] <0x0x1387248[NGImap4ConnectionManager]> IMAP4 login failed:            host=mail.gandi.net, user=thomas@blarre.net, pwd=yes                                                        url=imaps://thomas%40blarre.net@mail.gandi.net/                                                             base=(null)                                                                                                 base-class=(null))                                                                                          = <0x0x1418320[NGImap4Client]: login=thomas@blarre.net(pwd) socket=<NGActiveSSLSocket[0x0x19d5160]: mode=rw address=<0x0x165e778[NGInternetSocketAddress]: host=ynh.blarre.net port=38446> connectedTo=<0x0x1676b30[NGInternetSocketAddress]: host=mail.gandi.net port=993>>>                                                     Oct 02 19:47:43 sogod [18689]: [ERROR] <0x1646520[SOGoMailAccount]:2> Could not connect IMAP4               Oct 02 19:47:43 sogod [18689]: 127.0.0.1 "POST /SOGo/so/thomas/Mail/2/createFolder HTTP/1.0" 500 66/15 0.226

Thomas Blarre

2 oct. 2020 17:59:05 Josue-T notifications@github.com:

Well, the fix is available since 2 month on master... can you please update your package on the last version ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/YunoHost-Apps/sogo_ynh/issues/8#issuecomment-702816012], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AC2TCFC4A4XKJW4HGXHWZRDSIX2EPANCNFSM4PX4EKCA]. [https://github.com/notifications/beacon/AC2TCFDH5LNZZKRWKDGHGT3SIX2EPA5CNFSM4PX4EKCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFHSB6DA.gif]

Josue-T commented 4 years ago

Ah well, I understand your issue. My fix was for the local account not for the remote account...

Well, I know that it's really a big issue but as I use the official debian package I don't think that this fix will be available until debian Bullseye. And I can't use the SOGo repository because not all architecture are supported. But you still can upgrade manually. It's documented here: https://sogo.nu/support/faq/how-to-install-sogo-on-debian.html

roukydesbois commented 4 years ago

Thanks for the explanation!

Josue-T commented 5 months ago

Closing as we are on debian bullseye and so the issue should be fixed by this way