This article documents the process of upgrading existing Telligent communities to version 10.x. If you're upgrading from a version older than Telligent Community 6.x, then please contact Telligent Support for assistance with the upgrade. Before starting your upgrade:
- Review upgrade notes
Check upgrade notes to see if you are impacted by any changes that should be reviewed before or after an upgrade. - Check system requirements
Confirm you have all the required system requirements. - Take backups
You should ensure you have backups before starting an upgrade so you can roll back if anything goes wrong in the upgrade process - Acquire updated licence
If running on a commercial edition of Telligent Community, ensure you have a licence with support for the new version. This can be obtained from Telligent Support. - Acquire installation package
Contact Telligent Support to obtain this. After downloading, make sure to unblock the package by right clicking on it and choosing properties. At the bottom of the window may be an option to unblock the file - Click the button or check the box (depending on your version of windows) then click OK. If you don't see an option to unblock the file, then you're good to go.
[toc]
1. Stop Services
Before proceeding with an upgrade, you must ensure that the Website and Job Server services are not connecting to the database. The easiest way to do this is to stop the Job Server windows service, and to stop the website in IIS.
As an alternative to stopping the website, you may wish to put an app_offline.htm
file in the root of your old website. When IIS sees this file, it will return that file as a maintenance page to all users requesting your community.
2. Upgrade Search
When upgrading from 9.x or below, search has changed significantly. We still use solr for search, however it no longer runs through Tomcat. To install the new version of search, refer to the Install Search section of How Do I Install Telligent Community
Once the new search service has been installed you can uninstall Apache Tomcat.
3. Move Filestorage
Some customers may have the filestorage folder within their website directory. If you are running in such a configuration, you should move your move filestorage directory to a location outside of the website - this improves security, simplifies future upgrades and simplifies configuring the job server. You should move it to a path that is high up in the directory structure to minimise risk of encountering problems with Window's max path length of 260 characters (e.g. d:\Telligent\Filestorage
).
After moving the filestorage folder, ensure that permissions are set correctly - grant your service accounts need read, write, modify and delete permissions - and that the new location is included in backups you perform.
4. Upgrade Database
If upgrading from 9.x or below, make sure you meet the minimum system requirements. You must be running SQL Server 2012 or higher and your database must be running compatibility level 110 (SQL Server 2012) or higher. We recommend picking the compatibility level that matches your SQL Server version. (i.e. Compatibility level 120 (SQL 2014) when running on SQL Server 2014)
- Execute the script called Upgrade.sql against your database
This script can be found in theSqlScripts
directory of the installation package. If you encounter any errors running this script, make sure to look at the earliest errors first - later errors are often side effects of earlier errors. This should be run using an account with the default schema set to dbo.
5. Upgrade Website
If upgrading from Telligent Community 9.x or below, make sure .Net 4.6.2 is installed on the web server.
- Create new website directory
Create a new directory to contain the upgraded website (e.g.d:\Telligent\Web-10.0\
). Copy the contents of theWeb
folder in the installation package to this directory. - Configure connection strings:
Open the connectionstrings.config file, and update the connection strings to match your environment.- SiteSqlServer- use the same value as in the
connectionstrings.config
for your old website. - FileStorage: The path to the folder or UNC share used for filestorage.
- SearchContentUrl: The url to the solr core containing the main content index. Typically this will be
http://YOUR-SEARCH-SERVER:8983/solr/telligent-content/
- SearchContentUrl: The url to the solr core containing the conversation index. Typically this will be
http://YOUR-SEARCH-SERVER:8983/solr/telligent-conversations/
- SiteUrl**: The fully qualified url of your community, including the proper protocol(http/https) (e.g. https://yourcommunity.com).
** As of version 11.0, the Site Url is no longer set via the administration area of the site nor via any configuration file outside of the connectionStrings.config file. Any previously configured value from version 10.X or earlier will not be carried over and must be set. If your connectionStrings.config file does not contain a SiteUrl entry you will need to add one like the one below, replacing http://yourcommunityurl.com with the correct fully qualified Url to your community. Also remember this change must also be applied to your Job service.<add name="SiteUrl" connectionString="http://yourcommunityurl.com" />
- SiteSqlServer- use the same value as in the
- Re-install any customizations:
If you made any customization (e.g. custom plugins), you'll need to re-install these to the website instance - Update communityserver_override.config
If you have acommunityserver_override.config
containing entries to change the filestorage path or solr url (such as the following), remove those entries - this configuration has been moved toconnectionStrings.config
in version 10.0. If there are no other entries in the file, you can delete the file completely.<Override xpath="/CommunityServer/CentralizedFileStorage/fileStoreGroup[@name='default']" mode="change" name="basePath" value="d:\Telligent\Filestorage" /> <Override xpath="/CommunityServer/Search/Solr" mode="change" name="host" value="http://localhost:8080/solr/content/" />
- Grant permissions on new website directory
The account your IIS Application Pool runs needs to be granted "Read and execute" permissions on this directory. DO NOT grant it higher permissions such as "Modify", "Write", "Delete" or "Full Control". - Update IIS to point to new website
In IIS Manager find the website running your community. Right click on it and go to Manage > Advanced Settings. Change the Physical Path to the directory created in step 1.
6. Upgrade Job Service
If upgrading from Telligent Community 9.x or below, make sure .Net 4.6.2 is installed on the job server. If upgrading from Telligent Community 7.x or lower, you'll need to uninstall the old Telligent Job Scheduler service and install the Job Server from scratch as described in How Do I Install Telligent Community instead of the following instructions.
- Remove contents of existing job server
Remove all the contents of the existing job server installation directory. - Install new job server files
Once the folder is empty, copy the contents of theJobServer
folder from the installation package. DO NOT simply copy the new files over the old ones - this may leave behind orphaned files from old installations which can cause hard to troubleshoot errors. - Copy connectionStrings.config from website
Copy theconnectionStrings.config
from your website to configure the data - Run Healthcheck
Run theHealthcheck.ps1
script to ensure your job server is configured correctly. If any errors are encountered, fix them. - Re-install any customisation to the job server
If you made any customisation (e.g. custom plugins), you'll need to re-install these to the new job server instance - Start Service
7. Upgrade Reporting
10.2 introduced version 1.0 of Reporting. If you are upgrading from 10.1 or earlier follow How Do I Install Telligent Community instead of the following instructions.
- Execute the script called Upgrade.sql against your database
This script can be found in theReportingETL\SqlScripts
directory of the installation package. If you encounter any errors running this script, make sure to look at the earliest errors first - later errors are often side effects of earlier errors. - Backup your connectionStrings.config file from you existing Reporting ETL directory.
- Remove contents from your existing Reporting ETL directory.
Once the folder is empty, copy the contents of theReportingETL\ETL
folder from the installation package DO NOT simply copy the new files over the old ones - this may leave behind orphaned files form old installations which can cause hard to troubleshoot errors. - Copy your connectionStrings.config file over that you backed up earlier.
8. Upgrade Video Transcoder
- 10.1 introduced version 2.0 of Video Transcoder. If you are upgrading from 10.0 or earlier follow these instructions to get the latest version.
9. Upgrade Socket Bus
If you only have one web server, you don't need the socket bus component. If upgrading from Telligent Community 9.x or 8.5.x, make sure .Net 4.6.2 is installed on the socket bus server prior to upgrading. If upgrading from Telligent Community 8.0.x or lower you won't have an existing Socket Bus installation to upgrade - Install the Socket Bus as described in How Do I Install Telligent Community instead of the following instructions below.
- Stop the Service
- Remove contents of existing socket bus:
Remove all the contents of the existing socket message bus directory. - Install new socket bus files:
Once the folder is empty, copy the contents of theSocketMessageBus
folder from the installation package DO NOT simply copy the new files over the old ones - this may leave behind orphaned files from old installations which can cause hard to troubleshoot errors. - Start Service
10. Review User Experience Changes
If there were any user experience updates as part of the upgrade, a system notification will be sent to the administrators of the community to provide next step options. For more details about upgrading the user experience based on these options, see How do I upgrade the user experience of my community?
Removed in 11.0
Changes to communityserver.config
The fields below were removed from the communityserver.config file as part of version 11.0. If you had created override values for any of these fields you will need to remove them prior to running the application. (@ denotes an attribute on the specified XML path).
- CommunityServer/Core[@ssl]- This field is no longer used. In its place you simply ensure that you use 'https://' when defining your site's url in the connectionStrings.config file. (e.g. https://mysite.com)
- CommunityServer/Core[@overrideWebPort] - This field is no longer used. In its place you simply ensure that you define the port as part of your site url in the connectionStrings.config file. (e.g. http://mysite.com:8888)
- CommunityServer/Core[@wwwStatus] - This field is no longer used. In its place you simply ensure that you include 'www' when defining your site's url in the connectionStrings.config file. (e.g. http://www.mysite.com)
- CommunityServer/Core[@overrideBaseUrl] - This field is no longer used and is replaced by simply providing the appropriate url in the connectionStrings.config file.