Updating from Mobility Service 2.0 Beta 2 to Mobility Service Beta 3 fails

  • 7013093
  • 22-Aug-2013
  • 10-Dec-2013

Environment

Novell GroupWise Mobility Service 2.0 Beta 2

Situation

Updating from Mobility Service 2.0 Beta 2 to Mobility Service Beta 3 fails
Running /opt/novell/datasync/update.sh gives an error

Resolution

  1. Edit /etc/datasync/configengine/configengine.xml
  2. Search for the section <login>. It should be similar to the following
          <login>
            <dn>cn=admin,o=my</dn>
            <password>U2FsdGVkX1+QdYhm/jlkocLDnwomHm0UrHlnCIVNpB4=</password>
            <protected>1</protected>
          </login
    >
  3. Remove the <protected tag> and change the password to clear text of the user's password like the following
          <login>
            <dn>cn=admin,o=my</dn>
            <password>novell</password>
          </login>
  4. Search for the section <database>. It should be similar to the following
        <database>
          <hostname>localhost</hostname>
          <port>5432</port>
          <type>postgresql</type>
          <db>datasync</db>
          <username>datasync_user</username>
          <password>U2FsdGVkX1/lQLYfpZb3PXFKbFFnxjXRRaLA50dH7YM=</password>
          <protected>1</protected>
        </database>
  5. Remove the <protected tag> and change the password to clear text of the Database password like the following
        <database>
          <hostname>localhost</hostname>
          <port>5432</port>
          <type>postgresql</type>
          <db>datasync</db>
          <username>datasync_user</username>
          <password>novell</password>
        </database>
  6. Edit /etc/datasync/configengine/engines/default/engine.xml
  7. Search for the <database> section. It should look similar to the following
    <database>
          <hostname>localhost</hostname>
          <port>5432</port>
          <type>postgresql</type>
          <db>datasync</db>
          <username>datasync_user</username>
          <password>U2FsdGVkX19bBayYpSmv6EJvgis9dwnHwqAOKbzQlp4=</password>
          <protected>1</protected>
        </database>
  8. Remove the <protected tag> and change the password to clear text of the Database password like the following
    <database>
          <hostname>localhost</hostname>
          <port>5432</port>
          <type>postgresql</type>
          <db>datasync</db>
          <username>datasync_user</username>
          <password>novell</password>
        </database>
  9. Save the file
  10. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/connector.xml
  11. Search for the <protected tag> and remove it
  12. After removing the <protected tag>, search for <dbpass> tag. It should be similar to the following
    <dbpass>U2FsdGVkX1+HNiYTK5rjWCKqwi3V7qhzhWoXVN17pUM=</dbpass>
  13. Change it to the clear text of the Database password like the following
    <dbpass>novell</dbpass>
  14. Save the file
  15. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/groupwise/connectors.xml
  16. Search for the <protected> tag and remove it
  17. Search for the <trustedAppKey> tag. It should be similar to the following
    <trustedAppKey>U2FsdGVkX1+eBeKcBzjMhBnAr5GffAIrIn38GkWen6aCNqCb1RySaAI1qhvEqeNJ
    nLpRD2jsqOG4uMOKNe+7NC+UQf+1qnDnfaic3SpySMllPA23ifjXgZzXxu9Pmsno</trustedAppKey>
  18. Change the <trustedAppKey> to the clear text of the Trusted Application Key. This can be found in the trusted Application Key file that was copied to the server during installation. Change it to like the following
    <trustedAppKey>5A42928114D200009A23FDA3592A52065A42928214D200009DBCAF92177085AE</trustedAppKey>
  19. Save the file
  20. Run /opt/novell/datasync/update.sh