Is it possible to upgrade from CS 2.1 to CS 2008 Beta2 directly?

rated by 0 users
Answered (Verified) This post has 1 verified answer | 8 Replies | 4 Followers

av613
Not Ranked
38 Posts
Points 645
By: av613
Posted: Thu, Apr 3 2008 11:37 AM

Is it possible to upgrade from CS 2.1 to CS 2008 Beta2 directly?

Or do we first have to upgrade to CS 2007.1 and then upgrade it to CS 2008 Beta2?

In addition, what is the best way to upgrade themed files that we have previously customized?

Finally, when CS 2008 Release version is ready, will it be easy to apply it to the CS 2008 Beta2 installation and keep all the customizations working properly?

 

 

Answered (Verified) Verified Answers

Ben Tiedt
Top 10 Contributor
3,338 Posts
Points 63,065
CS Developers
Answered (Verified) By: Ben Tiedt
Posted: Sat, Apr 5 2008 12:22 PM In reply to

av613:

Is it possible to upgrade from CS 2.1 to CS 2008 Beta2 directly?

 

 Yes.  The database script files are able to upgrade your database from CS2.1 to CS2008 directly.  Your web files will be significantly different.

av613:

In addition, what is the best way to upgrade themed files that we have previously customized?

 Going from CS2.1 to CS2008 will mean you'll need to review all of your theme changes and migrate to Chameleon (the theming engine introduced in CS2007 -- more info here: http://docs.communityserver.org/wiki/page.aspx/26/themes/ )

av613:

Finally, when CS 2008 Release version is ready, will it be easy to apply it to the CS 2008 Beta2 installation and keep all the customizations working properly?

 It should be very easy, however, because the software is still being developed, it is possible that there will be neccessary code/theme changes to support the final release (mostly unlikely, but possible).

Ben Tiedt's Blog

 
Answered (Verified)
  • Post Points: 20 |

All Replies

Nick
Top 10 Contributor
2,419 Posts
Points 19,465
MVPs
By: Nick
Posted: Thu, Apr 3 2008 11:46 AM In reply to

File wise, yes, but database wise no.

You'd have to upgrade the databse to 2007 then to 2007.1 and then to 2008

 
  • Post Points: 5 |
Ben Tiedt
Top 10 Contributor
3,338 Posts
Points 63,065
CS Developers
Answered (Verified) By: Ben Tiedt
Posted: Sat, Apr 5 2008 12:22 PM In reply to

av613:

Is it possible to upgrade from CS 2.1 to CS 2008 Beta2 directly?

 

 Yes.  The database script files are able to upgrade your database from CS2.1 to CS2008 directly.  Your web files will be significantly different.

av613:

In addition, what is the best way to upgrade themed files that we have previously customized?

 Going from CS2.1 to CS2008 will mean you'll need to review all of your theme changes and migrate to Chameleon (the theming engine introduced in CS2007 -- more info here: http://docs.communityserver.org/wiki/page.aspx/26/themes/ )

av613:

Finally, when CS 2008 Release version is ready, will it be easy to apply it to the CS 2008 Beta2 installation and keep all the customizations working properly?

 It should be very easy, however, because the software is still being developed, it is possible that there will be neccessary code/theme changes to support the final release (mostly unlikely, but possible).

Ben Tiedt's Blog

 
Answered (Verified)
  • Post Points: 20 |
av613
Not Ranked
38 Posts
Points 645
By: av613
Posted: Fri, Apr 18 2008 11:57 AM In reply to

Hi Ben,

Can you please review the steps we used to upgrade our database from 1.1 to 2008 RTM. Is there a more direct way to do this? It appears that the Upgrader Tool cannot upgrade directly from 1.1 to 2008 RTM. It needs to have 2007.1 database first. Can you please confirm?

We decided to only upgrade the database and to start with the clean Hawaii theme (so the web files were not upgraded at all).

The following steps appeared to have worked:

1) Restore latest backup of the 1.1 database
 
2) Execute Cs2007.1_Files\SqlScripts\Upgrade_From_Previous_Versions\Upgrade_From_CS1.x\CS_1.1_to_2.0_upgrade.sql
 
3) Execute Cs2007.1_Files\SqlScripts\Upgrade_From_Previous_Versions\cs_ASPNET2_Membership_Schema_Update.sql
 
4) Execute Cs2007.1_Files\SqlScripts\Upgrade_From_Previous_Versions\Reset_SearchIndexes.sql
 
5) Execute Cs2007.1_Files\SqlScripts\Upgrade_From_Previous_Versions\Upgrade_From_Previous_Versions\cs_2.x_to_3.1_upgrade.sql
 
6) Create backup of the 2007.1 database so that if something goes wrong in the later steps the prior steps do not have to be repeated
 
7) Copy clean files from CS2008_4.0.30417.1769.web\Web to the folder that will be used by the Upgrader Tool
 
8) Update the connectionStrings.config file to point to the 2007.1 database.
 
8) Run the Upgrader Tool pointing it to the folder created in step 7
Thanks!

 

 

 
Ben Tiedt
Top 10 Contributor
3,338 Posts
Points 63,065
CS Developers
By: Ben Tiedt
Posted: Fri, Apr 18 2008 3:10 PM In reply to

 

av613:
Can you please review the steps we used to upgrade our database from 1.1 to 2008 RTM

That looks good and I think we should make this easier... I have a few comments/concerns:

1.  Step 5 may not be neccessary.  The schema and stored procedure updates for CS2008 should support migrating directly from CS2.1.

2.  Step 7... my only concern here is that if you only used file-system storage for post attachments, a clean copy of CS2008 would result in the old files being able to be loaded into the CFS in CS2008.  If you had configured CS2.1 (or CS2007) to store post attachments on the file system, you'd want to copy those folders into the CS2008 installation folder before running the upgrade tool.

Ben Tiedt's Blog

 
  • Post Points: 20 |
av613
Not Ranked
38 Posts
Points 645
By: av613
Posted: Fri, Apr 18 2008 3:42 PM In reply to

Regarding Step 5: The CS_1.1._to_2.0_upgrade.sql only brings the database to the CS 2.0 version and not CS 2.1.

The 2008 Upgrader Tool did not seem to work with that one.

 

 
  • Post Points: 20 |
CoffeeDog
Top 100 Contributor
211 Posts
Points 2,460
By: CoffeeDog
Posted: Sat, Apr 26 2008 12:14 PM In reply to

Hi av613,


How's going? Have you done with your upgration?

 
  • Post Points: 20 |
heavymetal
Not Ranked
14 Posts
Points 235
By: heavymetal
Posted: Fri, May 16 2008 1:55 PM In reply to
I am also upgrading CS-2.1 to 2008. Any news on how the upgrade went. Would be nice to know the pitfalls and gotchas. thanks..
 
  • Post Points: 20 |
blueCMinh
Not Ranked
3 Posts
Points 30
By: blueCMinh
Posted: Sat, May 17 2008 5:49 AM In reply to

Dear all!

when I upgrade to community server 2008 using tool upgrader but it run until step 6 and have error: value not null

In the log file :

5/17/2008 4:03:32 PM -- Upgrading user avatars
5/17/2008 4:03:32 PM -- Upgrading avatar for user id 6
5/17/2008 4:03:35 PM -- EXCEPTION: Value cannot be null.
Parameter name: input
   at System.Text.RegularExpressions.Regex.IsMatch(String input)
   at System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern)
   at CommunityServer.Users.Create(User user, Boolean sendEmail, Boolean ignoreDisallowNames, Boolean createLocalUserOnly)
   at CommunityServer.Users.GetUserFromDataProvider(Int32 userID, String username, Boolean isOnline, Boolean isEditable, String lastAction)
   at CommunityServer.Users.GetUser(Int32 userID, String username, Boolean isOnline, Boolean isCacheable, Boolean fromCache)
   at CommunityServer.Components.CSContext.get_User()
   at CommunityServer.Users.UpdateUser(User user)
   at CommunityServer.Upgrader.FileUpgrader.UpgradeAvatars()
   at CommunityServer.Upgrader.Part4.MoveFilesToCfs()

Please help me fix this problem,

thanks!

CM!

 
  • 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