IBM Connections: Batch Mode for accessing configuration files

For many Connections administration tasks you need to specify which Connections configuration file you want to use by running a WSADMIN command like e.g. execfile(“activitiesAdmin.py”).

If you have more than one Connections node this command will ask you on which node you want the command to run and you need to answer with 1 or 2 etc.

If you want to use these commands in a script, you need to specifiy a variable before running that command to suppress the manual interaction. So you can use

batchMode=1; execfile(“activitiesAdmin.py”)

which automatically runs the command on the first node.

If you want to use a specific node, you can use the following command:

serviceNodeNameActivities=connectionsNode02; execfile(“activitiesAdmin.py”)

For other config files you need to change “Activities” to the corresponding application name.

IBM Connections: Rich Content Widget stops working after migrating server

If you change the host name of your server or, as in my case, install as non-root user under Linux and therefore need to use non-standard ports like “8080” and “4430” in the URL for installing and then later switch that back to the standard port “80” and “443”, you might see the problem that your Rich Content Widget in Connections 5.5 Communities no longer works.

The reason for that could be, that in the database there is a reference to the wrong hostname / port number. Check the database table HOMEPAGE.OH2P_CLIENTCFG for an entry “conn-rte”. If you find one and it has the reference to the wrong hostname or port, just delete the entry and restart your Connections servers. This is described in that Knowledge Base article.

The entry should be recreated automatically with the correct values and the Rich Content widget should work again.

By the way: There might be another reason why the Rich Content Widget in Connections 5.5 is no longer working. If you have configured Connections that way that all applications need authentication, then make sure that the READER role for the Rich Text Editor WAS application is set to “Everyone” and not to “All authenticated users” (which is then the case for the other applications). Otherwise the widget will not work.

Update: As there were questions what exactly the “Rich Content App” is: It is a new application which you can add in a Community to display rich text content:

Rich Content App

IBM Connections: Migrated Communities do no longer display the Sharepoint Widget

If you configure the Sharepoint Widget for IBM Connections as it is described in the Infocenter, then Communities which are migrated from IBM Connections 4.5 to 5.5 no longer show the Sharepoint Widget if one was configured in 4.5.

The reason is that in the documentation the widget ID has been renamed from “SharePointFiles” to “SharePoint Documents”. From my point of view, they just wrongly switched the text for  “defID” and “description”.

So the documentation says:

However, the correct definition should be:

In the 4.5 environment of my customer, the widget ID was named like that and I am quite sure we had copied and pasted that from the 4.5 documentation in the past.  So I guess that is just a typo in the documentation. I have told the responsible person for the documentation to check and, if necessary, correct it.

IBM Connections 5.5: Custom Community Themes based on the new Connections 5.5 (Hikary ) design

If you would like to create a custom theme fpr IBM COnnections 5.5 Communities according to the description in the Wiki, you need to keep the following in mind:

  • The reference to the default theme files in the documentation is wrong. The correct jar file to use is “com.ibm.social.hikari.theme_*.jar” instead of “com.ibm.oneui3.styles_*.jar” otherwise you will not get the correct files for the Hikari theme but the old Gen4 theme files (IBM will correct the documentation here)
  • You also need to make sure that you delete the TEMP and WSTEMP folders of ALL Connections application servers (path e.g. “/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/(ws)temp/”) and restart also ALL your application servers. It is not sufficient to just delete the temp files of the InfraStructure cluster and restart that one (although both Common.ear and Communitie.ear resides on that cluster).
  • Double check that you have no typo in the path name of the CSS files in your communities-config.xml. They must match exactly the names you use in the themes folder.
  • You can use a “custom.css” file within your custom theme folder to specifiy your theme changes so that you do not need to modify the default theme css files.

If you miss one of these steps you might end up with a community theme which looks like the old Gen4 theme from IBM Connections 5.0

Be also aware that, if you have customized the Connections theme itself, you need to make these changes also for every custom Community theme.

 

IBM Connections 5.5: Error using the Rich Content app in a Community

In a Connections environment, where you have changed the permissions so that only authenticated users can use Connections (by setting all “reader” roles in all Websphere applications to “All Authenticated in Application’s Realm”), you are no longer able to use the Rich Content app within a Community.

If you add the app to the Community you see the message “The page could not be created due to an error”.

To solve the issue, set the role “reader” for the WAS application “RichTextEditor” back to “Everyone”. This application does, by default, not allow anonymous access so that this is not a problem.

After restarting the application, your “Rich Text” app should work as normal.

IBM Connections 5.5: February iFix LO87626 available

This is a required update for IBM Connections 5.5, so please download and install this iFix from FixCentral. Make sure you have installed the other IBM Connections 5.5 iFixes as well (especially the prerequisite fixes  LO87330 and LO87487).

Update 2016-02-17:

I just tried to install it on my test environment and got some issues afterwards. As long as I have not found out the root cause (not sure if it is the hotfix installation or something else) I recommend to install it only on a test environment where you can go back easily to the state before).

Update 2016-02-18:

It seems to be an issue with command line install. This did not work for me all the time. Installing via the Wizard succeeded. Have a PMR opened for that.

SSL Certificate Issue with Ephox Textbox.io Editor in IBM Connections 5.5

After I installed the Ephox Textbox.io editor in IBM Connections 5.5 as described here everything worked perfect in Firefox and Internet Explorer. However opening the editor in Google Chrome displayed the following error message “The spelling service was not found: (https://server.example.com/ephox-spelling/).”

If you look at a Fiddler trace you see that the request “https://server.example.com/ephox-spelling/1/correction” returns an Error 500.

Looking at the SystemOut.log of the server where you have Ephox spell checking deployed displays several error messages complaining about untrusted SSL certificates:

Root cause:

The server used SSL certificates for which there was not Root resp. Intermediate Certificate present in the default Java trust store of the Websphere Java SDK. I needed to manually add both root and intermediate certificate to this trust store (you probably have already added these certificates to the Websphere Cell Default Truststore; but this is another one trust store!).

To do that, run the following commands on all Websphere Application Server nodes (you need to adapt the names and path names of your certificate files):

After you have done that and restarted the Websphere Clusters, your Ephox Textbox.io editor should work also with Google Chrome.

Battery Backup for my Raspberry Pi

I just installed a battery backup for my Raspberry Pi to prevent file system corruption and data loss in case of a power failure. I choose the UPS Pico from PImodules. This module also has a Real Time clock on board which is something the Pi is natively missing. On the web page of PImodules there is a detailed description how to install and configure the module.

First tests were successful. It recognizes a power loss and if the power does not restore within a few minutes it will automatically run a clean shutdown of the Pi. After power is restored again it boots up automatically again.

As the Pi with the power module did no longer fit into the case I was using before, I also bought a new case (UPS Pico Case B+) with enough space to host the power modul including the battery.

So far I am very satisfied.