Skip to content

Webtop migration to NS8 and failure to access mailboxes in some cases #7371

@lucagasparini

Description

@lucagasparini

If manual changes have been made to the IMAP server configuration on some accounts in WebTop on NS7, after migration these accounts do not access the mailbox returning an access error after login.

This is a change that is made via the admin panel by following these steps:

  • admin panel > Domains > NethServer > Users
  • right click on a user > Settings > Mail > Accounts
  • change the "Server" field

For example, an attempt may have been made to connect the user to a different IMAP server and then set the initial value back to localhost.
From this moment on, this configuration becomes custom and has priority over the default settings.

In the db you can find something like this:

webtop5=# select * from core.user_settings where service_id='com.sonicle.webtop.mail' and key='host';
 domain_id  |      user_id       |       service_id        | key  |   value
------------+--------------------+-------------------------+------+-----------
 NethServer | user1  | com.sonicle.webtop.mail | host | localhost
 NethServer | user2  | com.sonicle.webtop.mail | host | localhost
 NethServer | user3  | com.sonicle.webtop.mail | host | localhost

To solve the problem, just delete all these custom configurations with this query:

delete from core.user_settings where service_id='com.sonicle.webtop.mail' and key='host' and value ='localhost';

If the change is made on migrated webtop, the module must then be restarted.

It is suggested to find a way to clean up these custom configurations before migrating if possible

Metadata

Metadata

Assignees

Labels

verifiedAll test cases were verified successfully

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions