Search Engine: Elastic

Article ID: 120905, created on Apr 4, 2014, last review on May 10, 2014

  • Applies to:
  • Operations Automation 5.5
  • Operations Automation 5.4

Symptoms

An Open-Xchange task fails:

Task name:  APS application 'Open-Xchange', id 109, instance 3525 -> service 'context', instance 18705: executing configuration script
Output: Execution of configuration script for instance with id 18705 of service with id context of instance with id 3525 of application with id 109 failed - returned value: -1 output: '' errors: 'Creating OX context 5360
Cannot map '<USER>||<USER>' to the newly created context. This mapping is already in use.
Failed to create OX context 5360: Cannot map '<USER>||<USER>' to the newly created context. This mapping is already in use.

Cause

This issue is caused by an issue with the ID APS-12159.

Resolution

Please contact your Account Manager to track the status of request APS-12159.

As a workaround, you can:

  1. Change context login '<USER>' to '<USER>1' in the Parallels Operations Automation (POA) database. Please note that it is recommended you make backups before manual database modification:

    plesk=> begin; update aps_registry_object_setting set value= '`' where value= '' and name='admin_login' and registry_object_id in (select registry_object_id from aps_registry_object_setting where value='');

  2. Use the pem.rescheduleTask.xml API method to reschedule pending tasks with the new parameter env_var_SETTINGS_admin_login = '<USER>1' (instead of '<USER>'):

    <?xml version="1.0"?>
    <methodCall><methodName>pem.tasks.rescheduleTask</methodName><params>
        <param><value><struct>
              <member><name>task_id</name>
                <value>
                  <int><TASK_ID></int>
                </value></member>
              <member>
                <name>params</name>
                <value>
                  <array>
                    <data>
                      <value>
                        <struct>
                          <member>
                            <name>name</name>
                            <value>
                              <string>env_var_SETTINGS_admin_login</string>
                            </value>
                          </member>
                          <member>
                            <name>value</name>
                            <value>
                            <string><USER>1</string>
                            </value>
                          </member>
                        </struct>
                      </value>
                    </data>
                  </array>
                </value>
              </member></struct></value></param></params></methodCall>
    
  3. Process pending tasks by rescheduling with the new parameter env_var_SETTINGS_admin_login = '<USER>1'

  4. After the instance will be configured with the new context ID, revert your changes to the POA database back:

    plesk=> begin; update aps_registry_object_setting set value= '' where value= '1' and name='admin_login' and registry_object_id in (select registry_object_id from aps_registry_object_setting where value='1');

  5. Check that it is now possible to create a Service User with Open-Xchange Webmail.

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 5b048d9bddf8048a00aba7e0bdadef37 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF