Direct link to the download
The update is really easy. But I only use the customizer at the moment.
In short: remove the old pods, upload the new images to the environment and install the new pods with helm. No need to redeploy the IBM Cloud Private.
Of course, this did not work in my lab.
First after the connections-env install, the mongo-2 instance did not start. Something during the shutdown was ok, cleaning the volumen solved the issue.
Then only mongo and appregistry-client started, the rest stayed in ContainerCreating.
kubectl logs redis-server-0 -n connections did not show anything
kubectl describe pod redis-server-0 -n connections mentioned that the redis-secret-volume could not be mounted.
kubectl get secrets -n connections did not list the redis-secret. Either it had never been there before, or it must have been removed while uninstalling the 22.214.171.124 pods.
So after recreating the secret the pods started finally and my lab is back online.
One thing that seems to be fixed: CSS/JS files are now longer delivered twice to the browser.
It should now be possible to deliver svg files too.
At the beginning of August, we had an interesting training for IBM Connections Customizer.
Everything you need to know is here: Customizer on Github
Hide unnecessary things in connections is easy, just inject the appropriate css. Which is much easier than without the customizer.
Then I had a look at the more advanced samples on opencode4connections.org. These are good samples, but do not have a practical use in our environment.
So I decided to opensource a tiny sample which improved our Connections slightly. Source is here.
This small sample changes the search results page so it opens the results in a new tab instead of the current page.
The real challenge started, when I tried to filter or page through the results. Customizer injected scripts start, when the page reloads.
Filtering the searchresults does not reload the page…
Thanks to David Walsh’s site I added the MutationObserver.
Now filtering/paging the results works.
Just downloaded the IC Component Pack 126.96.36.199 formerly known as OrientMe.
This should now include the Connections Customizer….
I’ve never been a fan of hidden design in Domino databases. If someone can read my Lotusscript code and understand what it does…. he has earned it… 🙂
Recently I got this XPage / Servlet app as an ntf with hidden design. I found this article.. Of course it does not work for properly removed Lotusscript code but it works for the Java code.
I created a nsf, archived it with some fake settings to my local workstation and I got the whole java code….. nice …
If you really want to protect your java code, put in a separate plugin and remove the source from it and use some obfuscators on it. But remember, everytime you hide your code, somewhere dies a young oak……
After installing all the official iFixes for Connections 6.0 as of August 15, our customer noticed a small white line in the homepage.
Adding the following lines to custom.css should fix the glitch….
Credits for this fix goes to the community.
update: just got the confirmation that this will be fixed in CR1
Today I was fiddling around with some of the Connections API’s.
Came out with a little widget which shows all my communities in one widget.
Ordered by title. Search works for the title and the tags.
It makes finding communities faster…..
Thanks to IBM Support:
To disable the Guided Tours, perform the following steps:
1) Log in to Connections as a user that is mapped to the Admin role for
the Common application.
2) Navigate to URL
3) Set these three parameters to false:
4) Access Connections using a browser with a clean cache and verify that
the popups no longer appear.
This /connections/config looks like an interresting url for the future…..
What a nice tools, these offline folders are. Synching some network folders locally to the laptop, so they are available, while I’m offline.
The fun starts the moment when I try to synchronize them from outside.
Getting the offline folders back online (see link ) seems not that easy: Fiddling with GPOs and registry keys might not help.
Steps to reproduce
- Make a folder available offline from a shared drive, wait until it finished synchronization without errors
- disconnect from your corporate network, switch to some public WLAN or other outside network
- connect to your corporate network through vpn
The result is that you’re connected to your corporate network, but can’t access other folders on the same drive as your offline folder.
There’s no “Work online” button.
Patience. It may take up to 5 minutes until windows knows it has a connection to the corporate network and puts the folders back online.
Deleted folders don’t go to the trash in Connections 5 and 5.5. Getting them back from the db backup can take some time. If you just need to know which files have been in a particular folder to recreate it, it’s a lot of work.
To make it a bit easier I’ve created this little sql command
connect to files@
export to folderInfo.csv of DEL Modified by NOCHARDEL select folders.title as foldername,media.title as filename, folders.external_container_id as community_uuid, hex(me
dia.id) as fileID ,hex(folders.id) as folderid from files.media as media right outer join (select folder.ID,folder.TITLE,folder.external_container_id,folder.Label, map.media_id from files.collection as folder inner join files.collection_to_media as map on folder.ID=map.collection_id) as folders on media.id=folders.media_id order by folders.title@
Now if someone accidentially deleted the folder instead of the file in the folder I just have to search the csv files instead of the doing a complete db restore.
The installation process for the orient me part in connections was interessting.
The installer sets up its own IBM CFC (Spectrum Conductor for Containers) environment complete with docker and kubernetes. I went through all the config steps and soon had access to the new orient me page.
Testing the page I sometimes got an error message “Der Activity Stream konnte nicht geladen werden. Zeitlimit für die Anforderung ist abgelaufen.”
Checking back on the CFC Dashboard
Checking the applications, the retrievalservice does not want to start. The restart count is currently beyond 450….
Setting up a second environment this time only 1 worker node with the same result.
After struggling with the new docker environment, I got the logs (kubectl logs is your friend)
There is a nasty error message.
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
... 1 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'retrievalControllerImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ibm.orientme.micros.retrievalservice.service.IStackingService com.ibm.orientme.micros.retrievalservice.controller.RetrievalControllerImpl.stackingService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stackingServiceImpl' defined in URL [jar:file:/opt/ibm/toscana/retrievalservice/retrieval-service/build/libs/retrieval-service-20170327_131255-standalone.jar!/com/ibm/orientme/micros/retrievalservice/service/impl/StackingServiceImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ibm.orientme.micros.retrievalservice.service.impl.StackingServiceImpl]: Constructor threw exception; nested exception is org.apache.solr.common.SolrException: Cannot connect to cluster at zookeeper1:2181,zookeeper2:2181,zookeeper3:2181: cluster not found/not ready ....
Unfortunatly the zookeper app is green….