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
-
Edit /etc/datasync/configengine/configengine.xml
-
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> -
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> -
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> -
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> -
Edit /etc/datasync/configengine/engines/default/engine.xml
-
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> -
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> -
Save the file
-
Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/connector.xml
-
Search for the <protected tag> and remove it
-
After removing the <protected tag>, search for <dbpass> tag. It should be similar to the following
<dbpass>U2FsdGVkX1+HNiYTK5rjWCKqwi3V7qhzhWoXVN17pUM=</dbpass> -
Change it to the clear text of the Database password like the following
<dbpass>novell</dbpass> -
Save the file
-
Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/groupwise/connectors.xml
-
Search for the <protected> tag and remove it
-
Search for the <trustedAppKey> tag. It should be similar to the following
<trustedAppKey>U2FsdGVkX1+eBeKcBzjMhBnAr5GffAIrIn38GkWen6aCNqCb1RySaAI1qhvEqeNJ
nLpRD2jsqOG4uMOKNe+7NC+UQf+1qnDnfaic3SpySMllPA23ifjXgZzXxu9Pmsno</trustedAppKey> -
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> -
Save the file
-
Run /opt/novell/datasync/update.sh