Modify

Ticket #3825 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

Zarafa storage for new users are not created automatically,

Reported by: rodrigo.magalhaes@… Owned by: jamor@…
Milestone: 2.2.X Component: zarafa
Severity: normal Keywords: zarafa user creation translation
Cc:

Description

After creating a use via Zentyal's GUI I also realize that the corresponding zarafa storage was not created and thus the user cannot log in in Zarafa.

The problem is circunveined when I manually create the user storage with the command: sudo zarafa-admin --create-store <username as defined in zentyal front end>. However I think this should not be the right thing to do.

Anyone has an idea on what to do so zarafa automatically creates the user storage?

Thank you.

Attachments

Change History

comment:1 Changed 16 months ago by rodrigo.magalhaes@…

sorry, the corrent email is: rodrigo.magalhaes@…

Thank you!

Rodrigo

comment:2 Changed 16 months ago by jsalamero@…

  • Status changed from new to accepted

Hi Rodrigo,

can you provide detailed steps to reproduce this issue?

do you had users before? can you see any stored listed as orphaned with zarafa-admin --list-orphans? did you modify by hand any files on /etc/zarafa?

Regards,

comment:3 Changed 16 months ago by rodrigo.magalhaes@…

Hi, I'm using a brand new, all modules included and updated, V2.2 standalone installation here and the steps are as below:

1) create a new user via Zentyal's GUI. 2) log in to Zarafa using the newly created user id. the error: -"Unknown MAPI Error: MAPI_E_NOT_FOUND"- appears.

I just remade the steps mentioned above and ran the -list-orphans command as suggested; the newly created uid was listed below -Users without stores- section.

3) Ran the sudo zarafa-admin --create-store <new uid>

4) reran the --list-orphans command again and the user no longer appears on the -Users without stores- section.

5) the user is able to log in now.

I hope it helps. let me know of whatever further info I can provide you.

Thank you,

Rodrigo

comment:4 Changed 16 months ago by rodrigo.magalhaes@…

Just a quick correction: I'm using version 2.2.5, actually. Thank you.

comment:5 Changed 16 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to worksforme

Hello Rodrigo,

here we have been unable to reproduce your problem. Probably is an error on your installation/configuration.

Unless you remind some change of the note in the mail/Zarafa installation we recommend you to reinstall and try again. As shortcut you may try to only reinstall all the user-dependent modules with the following command:

sudo /usr/share/zentyal-users/reinstall

Regards,

Javier

comment:6 Changed 16 months ago by rodrigo.magalhaes@…

  • Keywords translation added
  • Status changed from closed to reopened
  • Resolution worksforme deleted

Hello Javi,

I think I know how to provoke the problem to happen. The instalation I made was in Brazilian Portuguese and now I made a plain vanilla English installation: the problem does not occur anymore for the Englidh installation. The bad thing though is that the Zarafa mailbox items are in English now, which is undesirable.

One other Sympton I had noticed with the Brazilian Portuguese installation was that the mailbox items with special characters (i.e.: í, á, etc) were garbled. Now I think of the possibility that the two problems having a common cause. Could you please investigate?

Thank you,

Rodrigo

comment:7 Changed 16 months ago by jamor@…

  • Status changed from reopened to accepted
  • Component changed from users to zarafa

Hello Rodrigo Magalhaes,

the problem occurs with all the users or only with the users that had non-english characters (vowels with accents for example) ?.

Regards,

Javier

comment:8 Changed 16 months ago by rodrigo.magalhaes@…

Hello javier

The problem occur for any user created regardless of vowels with accents.

Thank you,

Rodrigo

comment:9 Changed 16 months ago by jamor@…

Hello Rodrigo Magalhaes,

we have reproduced the problem and we are looking for the solution. In the meantime you could install one in english and after the installation change it to Portuguese, that should make it work.

Regards,

Javier

comment:10 Changed 16 months ago by info@…

Same problem here after fresh installation. We chose the 'C' locale during install. Other than that, no language settings were touched.

comment:11 Changed 16 months ago by jamor@…

Hello,

not yet fixed but you can do the following to fix your installation

1) Add the en_US.UTF8 locale. See  https://help.ubuntu.com/community/Locale

The relevant line to add to /var/lib/locales/supported.d/local is:

en_US.UTF-8 UTF-8

2) Restart Zarafa with: "sudo /etc/init.d/zentyal zarafa restart"

For this point. the new users will be able to sue their Zarafa account. However the old users will not be healed; if they need a Zarafa account they should be removed and added again.

Regards,

Javier

Last edited 16 months ago by jamor@… (previous) (diff)

comment:12 Changed 16 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in [50c5fced]

However the fix is to install the locale the first time the zarafa module is enabled, so to hotfix existent installation is easier to follow the steps in the previous commentary.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.