When you migrate IBM® Connections from 5.0 to 5.5,
you must change the emoticons URL for Blogs, Wikis, and other apps.
About this task
Use the logsAdminService.fixBrokenUrls sysadmin command to change the
Blogs URL.For the Wikis URL, use the equivalent Linux command or Windows comand, for example
Find or FindStr.
Procedure
-
For the Blogs app, the URL is stored in the blogs database. To change the URL, run the
following commands:
-
Back up your blogs database, run the following command:
execfile("blogsAdmin.py")
-
Change the Blogs URL, run the following command:
BlogsAdminService.fixBrokenUrls(
"/connections/resources/web/com.ibm.oneui.ckeditor/editor/plugins/sametimeemoticons/images/",
"/connections/resources/web/com.ibm.oneui.ckeditor/editor/plugins/ibmsametimeemoticons/images/")
-
For the Wikis app, URL for emoticons is stored locally. To change the URL, run the following
commands:
-
Stop the Wikis app. For more information, see Running Wikis administrative
commands.
-
Back up "/IBM/Connections/data/shared/wikis"
-
Change directory to
"/IBM/Connections/data/shared/wikis/upload/files/"
-
Run the following command:
egrep -rl'
http(s)?://hostname/connections/resources/web/com.ibm.oneui.ckeditor/editor/plugins/sametimeemoticons/images/' .
| xargs sed -i's/hostname\/connections\/resources\/web\/com.ibm.oneui.ckeditor\/editor\/plugins\/sametimeemoticons\
/images/hostname\/connections\/resources\/web\/com.ibm.oneui.ckeditor\/editor\/plugins\/ibmsametimeemoticons\/images/g'
-
Start the Wikis app. For more information, see Running Wikis administrative
commands.
-
For all other apps that support emoticons (for example, Forums, you must change the URL on the
HTTP server level by rewriting the URL, for example:
RewriteRule ^/connections/resources/web/com.ibm.oneui.ckeditor/editor/plugins/sametimeemoticons/images/(.*)
/connections/resources/web/com.ibm.oneui. ckeditor/editor/plugins/ibmsametimeemoticons/images/$1 [P,L]