Very confused on versions and upgrading!

rated by 0 users
Answered (Verified) This post has 2 verified answers | 8 Replies | 3 Followers

Not Ranked
9 Posts
Points 135
mddubs posted on Fri, May 16 2008 12:18 PM

I have version 3.0.30611.960 and I want to upgrade.  I can't find a release notes or anything that just gives me a list of the versions as a place to start.

I've made a number of custom changes to my site in various .config files.  I'd like to use the upgrade tool, http://docs.communityserver.com/getting-started/upgrades/upgrading-from-cs2007-to-cs2008/, but I'm a little worried things won't turn out right.  My site is working fine now, is it worth upgrading?  What kind of problems am I likely to encounter?

Matt Williamson Bunker Hollow

Answered (Verified) Verified Answers

Top 10 Contributor
3,059 Posts
Points 45,430
TelligentSupportTeam
Answered (Verified) Alex Crome replied on Fri, May 16 2008 12:57 PM

As for whether you should upgrade, it is highly reccomended that you upgrade to the latest version of CS2007 (2007.1 SP1) as it includes lots of performance updates.

If you want to upgrade to CS2008, you must first ensure you licence allows you to do so (if you're using an express edition you're fine, otherwise you'll have to buy an upgrade licence - if your'e on Gold Support, this is included in your Maintenance package).  You'll may also find that some customisations you've made may not carry forward onto CS2008 - e.g. some CS Modules may not work.

Changes made directly to .config files will not be saved as part of the upgrade process involves replacing your .config files with the newer versions.

If you are going to migrate your changes to the latest version of CS2007 (or CS2008), I would reccomend you put your modifications into _override.config files, as these will prevent you having to remodify teh config files every time you upgrade.  As for how to use _override.config files, there is no one soruce ofdocumentation on tehw ebsite for how to do it but you can find snippets from arround the forum.  If you have the Community Server Themes book, Chapter 4 should tell you everything you need to know about Override Files (n.b. all the examples in Chapter 4 apply to siteurls.config, but they would work just as well with communityserver.config (assuming you used an appropiate xpath). 

 

If you're worried that things won't turn out right, make sure to backup both your database and yoru site files, so that if something goes wrong you can revert to the previous set up.  I would also reccomend that whilst you're backing up your site and upgrading it, you take it offline so users don't view your site as it's being upgraded.  For more details on the upgrade process, download the CS 2007 - 2008 upgrader and read the Upgrade Notes included in the download.

 

To help you out with getting started with override files, I'm sticking a few snippets from my own override files as some examples to give you a starting point.  The bit you're most likely to need is adding CSModules in communityserver.config.

siteurls_override.config

<Overrides>
 
 <!-- Changing Active Topics to custom page-->
<Override xpath="/SiteUrls/locations/location[@name='forums']/url[@name='post_Active']" mode="update">
  <url name="post_Active"  path="TopicsActive.aspx?ForumID={0}" pattern="TopicsActive.aspx" physicalPath="##themeDir##" vanity="{2}" page="activetopics.aspx" />
 </Override>
 <Override xpath="/SiteUrls/locations" mode="add" >

        <location name="custom" path="/custom/" ">
            <url name="custom_redirect"  path="" pattern="(.*)?$" vanity="{2}" page="redirect.ashx"/>
        </location>

</Override>

<!-- Navigation Links -->
 <Override xpath="/SiteUrls/navigation/link[@name='home']" mode="update">
  <!-- reinclude the Home element so as to not replace it -->
  <link name="home" resourceUrl="home" resourceName="home" roles="Everyone" />
  <link name="news" resourceUrl="newshome" text="News"  roles="Everyone" applicationType="Weblog" />
  <link name="games" resourceUrl="games_home" text="Reviews"  roles="Everyone" applicationType="Games" />
 </Override >

</Overrides>

communityserver_override.config

<?xml version="1.0" encoding="utf-8"?>
<Overrides>

 <!-- Decrease Cache Factor -->
 <Override xpath="/CommunityServer/Core" mode="change" name="cacheFactor"  value="1" />

 

 <!-- Adding Telligent_Editor ( http://dev.communityserver.com/media/p/617346.aspx ) -->
 <Override xpath="/CommunityServer/Core/editors" mode="add" where="end">

     <editor name="Standard - Alternative" type="Telligent.Glow.Editor.Wrapper, Telligent.Glow.EditorWrapper">
        <editorOption name="ToolbarSet" value="Standard" />
     </editor>
     <editor name="Enhanced - Alternative" type="Telligent.Glow.Editor.Wrapper, Telligent.Glow.EditorWrapper">
       <editorOption name="ToolbarSet" value="Enhanced" />
     </editor>
 </Override>

 

 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='15']" mode="add" >
  <!-- Add custom tasks to the first 15 minute thread -->
AlexCrome.WiiRate.Games" enabled = "true" enableShutDown = "false" failureInterval = "1" numberOfTries = "10" />
 </Override>

 <!-- Run Tasks more frequently -->
 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='10']" mode="change" name="minutes" value="2" />
 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='15']" mode="change" name="minutes" value="3" />

 <!-- Removing Unneeded Tasks-->
 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='15']/task[@name='GalleryIndexing']" mode="remove" />

 

 <!-- Adding Aditional CSModules-->
 <Override xpath="/CommunityServer/CSModules" mode="add">
  <add name="GameEmailNotificationModule" type="AlexCrome.WiiRate.Games.Components.GameEmailNotificationModule, AlexCrome.WiiRate.Games" />
  <add name="SoapBox" type="CSMVPs.CSModules.JOEriksson.CSSoapBox, CSMVPs.CSModules" SyndicationMessage="Visit site to view video" />
  <add name="WhiteSpaceFilter" type="CSMVPs.CSModules.Keyvan.Filter, CSMVPs.CSModules" />
     <add name="RegistrationPM" type="AlexCrome.CS.Modules.RegistrationPM, AlexCrome.CS"
        SenderUsername="Administrator" SubjectResource="RegistrationPM_Subject" BodyResource="RegistrationPM_Body" />
  <add name="MarkThreadsReadOnUserCreate" type="AlexCrome.CS.Modules.MarkThreadsReadOnUserCreate, AlexCrome.CS" />
 </Override>

 <!-- Removing Unwanted CSModules-->
 <Override xpath="/CommunityServer/CSModules/add[@name='RollerBlogRules']" mode="remove" />
 <Override xpath="/CommunityServer/CSModules/add[@name='InkModule']" mode="remove" />

 

</Overrides>

  • | Post Points: 35
Top 10 Contributor
3,059 Posts
Points 45,430
TelligentSupportTeam

I'm not 100% sure which version it is.  All I can tell is it's CS2007 (n.b. CS2007, NOT CS2007.1)

If you open your site and right click > view source, you should see something towards the top of the source which looks like

<meta name="GENERATOR" content="CommunityServer 2007.1 (Debug Build: 20917.1142)" />

That should tell you the friendly name of the version you're using.

  • | Post Points: 20

All Replies

Top 10 Contributor
3,059 Posts
Points 45,430
TelligentSupportTeam
Answered (Verified) Alex Crome replied on Fri, May 16 2008 12:57 PM

As for whether you should upgrade, it is highly reccomended that you upgrade to the latest version of CS2007 (2007.1 SP1) as it includes lots of performance updates.

If you want to upgrade to CS2008, you must first ensure you licence allows you to do so (if you're using an express edition you're fine, otherwise you'll have to buy an upgrade licence - if your'e on Gold Support, this is included in your Maintenance package).  You'll may also find that some customisations you've made may not carry forward onto CS2008 - e.g. some CS Modules may not work.

Changes made directly to .config files will not be saved as part of the upgrade process involves replacing your .config files with the newer versions.

If you are going to migrate your changes to the latest version of CS2007 (or CS2008), I would reccomend you put your modifications into _override.config files, as these will prevent you having to remodify teh config files every time you upgrade.  As for how to use _override.config files, there is no one soruce ofdocumentation on tehw ebsite for how to do it but you can find snippets from arround the forum.  If you have the Community Server Themes book, Chapter 4 should tell you everything you need to know about Override Files (n.b. all the examples in Chapter 4 apply to siteurls.config, but they would work just as well with communityserver.config (assuming you used an appropiate xpath). 

 

If you're worried that things won't turn out right, make sure to backup both your database and yoru site files, so that if something goes wrong you can revert to the previous set up.  I would also reccomend that whilst you're backing up your site and upgrading it, you take it offline so users don't view your site as it's being upgraded.  For more details on the upgrade process, download the CS 2007 - 2008 upgrader and read the Upgrade Notes included in the download.

 

To help you out with getting started with override files, I'm sticking a few snippets from my own override files as some examples to give you a starting point.  The bit you're most likely to need is adding CSModules in communityserver.config.

siteurls_override.config

<Overrides>
 
 <!-- Changing Active Topics to custom page-->
<Override xpath="/SiteUrls/locations/location[@name='forums']/url[@name='post_Active']" mode="update">
  <url name="post_Active"  path="TopicsActive.aspx?ForumID={0}" pattern="TopicsActive.aspx" physicalPath="##themeDir##" vanity="{2}" page="activetopics.aspx" />
 </Override>
 <Override xpath="/SiteUrls/locations" mode="add" >

        <location name="custom" path="/custom/" ">
            <url name="custom_redirect"  path="" pattern="(.*)?$" vanity="{2}" page="redirect.ashx"/>
        </location>

</Override>

<!-- Navigation Links -->
 <Override xpath="/SiteUrls/navigation/link[@name='home']" mode="update">
  <!-- reinclude the Home element so as to not replace it -->
  <link name="home" resourceUrl="home" resourceName="home" roles="Everyone" />
  <link name="news" resourceUrl="newshome" text="News"  roles="Everyone" applicationType="Weblog" />
  <link name="games" resourceUrl="games_home" text="Reviews"  roles="Everyone" applicationType="Games" />
 </Override >

</Overrides>

communityserver_override.config

<?xml version="1.0" encoding="utf-8"?>
<Overrides>

 <!-- Decrease Cache Factor -->
 <Override xpath="/CommunityServer/Core" mode="change" name="cacheFactor"  value="1" />

 

 <!-- Adding Telligent_Editor ( http://dev.communityserver.com/media/p/617346.aspx ) -->
 <Override xpath="/CommunityServer/Core/editors" mode="add" where="end">

     <editor name="Standard - Alternative" type="Telligent.Glow.Editor.Wrapper, Telligent.Glow.EditorWrapper">
        <editorOption name="ToolbarSet" value="Standard" />
     </editor>
     <editor name="Enhanced - Alternative" type="Telligent.Glow.Editor.Wrapper, Telligent.Glow.EditorWrapper">
       <editorOption name="ToolbarSet" value="Enhanced" />
     </editor>
 </Override>

 

 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='15']" mode="add" >
  <!-- Add custom tasks to the first 15 minute thread -->
AlexCrome.WiiRate.Games" enabled = "true" enableShutDown = "false" failureInterval = "1" numberOfTries = "10" />
 </Override>

 <!-- Run Tasks more frequently -->
 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='10']" mode="change" name="minutes" value="2" />
 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='15']" mode="change" name="minutes" value="3" />

 <!-- Removing Unneeded Tasks-->
 <Override xpath="/CommunityServer/Tasks/Threads/Thread[@minutes='15']/task[@name='GalleryIndexing']" mode="remove" />

 

 <!-- Adding Aditional CSModules-->
 <Override xpath="/CommunityServer/CSModules" mode="add">
  <add name="GameEmailNotificationModule" type="AlexCrome.WiiRate.Games.Components.GameEmailNotificationModule, AlexCrome.WiiRate.Games" />
  <add name="SoapBox" type="CSMVPs.CSModules.JOEriksson.CSSoapBox, CSMVPs.CSModules" SyndicationMessage="Visit site to view video" />
  <add name="WhiteSpaceFilter" type="CSMVPs.CSModules.Keyvan.Filter, CSMVPs.CSModules" />
     <add name="RegistrationPM" type="AlexCrome.CS.Modules.RegistrationPM, AlexCrome.CS"
        SenderUsername="Administrator" SubjectResource="RegistrationPM_Subject" BodyResource="RegistrationPM_Body" />
  <add name="MarkThreadsReadOnUserCreate" type="AlexCrome.CS.Modules.MarkThreadsReadOnUserCreate, AlexCrome.CS" />
 </Override>

 <!-- Removing Unwanted CSModules-->
 <Override xpath="/CommunityServer/CSModules/add[@name='RollerBlogRules']" mode="remove" />
 <Override xpath="/CommunityServer/CSModules/add[@name='InkModule']" mode="remove" />

 

</Overrides>

  • | Post Points: 35
Not Ranked
9 Posts
Points 135
mddubs replied on Fri, May 16 2008 1:55 PM

 Thanks much for the prompt reply, just one more question.  I have version 3.0.30611.960, which CS2007.x or 2008.x version is that?  Is there a webpage out there that keeps track of version release notes?

If I don't have the latest version, I'll backup the Telligent directory and my database, and then try the upgrade tool.  I'll probably end up re-doing my custom changes, but this time I'll definitely use the _override.config as you've suggested.  Thanks for the tip!

Matt Williamson Bunker Hollow
  • | Post Points: 20
Top 10 Contributor
3,059 Posts
Points 45,430
TelligentSupportTeam

I'm not 100% sure which version it is.  All I can tell is it's CS2007 (n.b. CS2007, NOT CS2007.1)

If you open your site and right click > view source, you should see something towards the top of the source which looks like

<meta name="GENERATOR" content="CommunityServer 2007.1 (Debug Build: 20917.1142)" />

That should tell you the friendly name of the version you're using.

  • | Post Points: 20
Not Ranked
9 Posts
Points 135
mddubs replied on Fri, May 16 2008 2:50 PM

Ok...

 <meta name="GENERATOR" content="CommunityServer 2007 SP2 (Build: 20611.960)" />

Thanks.  I'll give the upgrade utility a try.

Matt Williamson Bunker Hollow
  • | Post Points: 5
Top 75 Contributor
301 Posts
Points 4,410
andrevs replied on Mon, May 19 2008 1:30 PM

afscrome:
if your'e on Gold Support, this is included in your Maintenance package
 

 

Is there a difference between Gold Support and having Software Assurance?

I purchased CS2008 Professional with an additional 2 years SA and was told that it includes new versions of CS;

Is that correct?

  • | Post Points: 20
Top 10 Contributor
3,059 Posts
Points 45,430
TelligentSupportTeam

I believe they are the same thing.

  • | Post Points: 20
Top 75 Contributor
301 Posts
Points 4,410
andrevs replied on Tue, May 20 2008 1:19 AM

Sometimes hen I do a search on CS.com, the searh returns results I can't access in support forums. Should I have I access to these forums (or is there anything additional you get for having SA) and if so how do I access these forums?

I did ask sales ( 3 times) but got no answer.

  • | Post Points: 20
Top 10 Contributor
3,059 Posts
Points 45,430
TelligentSupportTeam

 If you've purched SA, then you should have access to the Customer Questions Forum.  If you don't, you'll need to contact Telligent with your cs.org username and ask them to add you to the Gold Support role.

  • | Post Points: 5
Page 1 of 1 (9 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com