New version install parallel to old version

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/22/2011 10:06:06 AM
Gravatar
Total Posts 11

New version install parallel to old version

Hello,

I have outsourced development work to a consultant to upgrade our mojoportal version and add a few custom features to it.

He has finished development and ready to deploy it on our server.

I have a few questions here.

1. I want him to do a parallel installation of the new version without affecting the old site. I want to make sure everything works fine before I make the switch.

2. I had given him a copy of my database and the website folder to work on the test site. Now if he makes another installation on my server with the same database name, won't it have a conflict with my existing website?

Please throw some light on this as I have no idea of the upgrade procedure. All in all what I want is, he should do a fresh install as a test site and database and not affect the old site.

11/22/2011 10:33:00 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: New version install parallel to old version

You will need another database and install of mojoPortal to be able to do your testing. If you wish to use the same servers you will need to backup your production db and restore it with a different name and then take a copy of your mojoPortal installation and point that copy to the restored db. Once you have done this you can upgrade the copy to test everything.

11/22/2011 10:46:42 AM
Gravatar
Total Posts 11

Re: New version install parallel to old version

Thank you for the quick reply Aaron, but my live website is tied to the production db and installation. I do not wish to go offline with my website but can you tell me if we can do a new install on the same server and change the database name of the new testing version, update the web.config file with the new database name and point a DNS test.website.com to it.

11/22/2011 10:50:16 AM
Gravatar
Total Posts 18439

Re: New version install parallel to old version

1. Create a new database with a different name

2. Make a backup of the production db and restore the backup to the new database

3. in your testing version set the connection string to point to the new database

Hope that helps,

Joe

11/22/2011 10:55:27 AM
Gravatar
Total Posts 11

Re: New version install parallel to old version

Thanks Joe,

Pardon me for the silly questions as I am not a developer.

The consultant has developed new features and made changes to the skin as well to be compatible with the new version. So is it better to restore the version of the database used by him? or to restore my production database.

11/22/2011 11:10:25 AM
Gravatar
Total Posts 18439

Re: New version install parallel to old version

Probably best to leave that decision to the developer since I don't know if the database he is using is on an older or newer version of mojoPortal than your production database.

You don't want to use an older version than your production version if your plan it to later update the actual production site. As long as the development environment is using the same or a newer version of mojoPortal then the copy of production can be upgraded by visiting the mojoPortal setup page and that will be a more realistic test if you later paln to update the production site the same way.

However I don't know anything about the custom feature the developer is working on or whether it has installation scripts that will install it from the setup page.

If you are not the developer you should consult with him about this.

Hope that helps,

Joe

11/22/2011 11:47:35 AM
Gravatar
Total Posts 11

Re: New version install parallel to old version

Thanks Joe, that answers 1 question.

The next question is, when he does a new installation, does it overwrite the older folder where my current site is?

11/22/2011 11:57:56 AM
Gravatar
Total Posts 18439

Re: New version install parallel to old version

When you deploy a new version of mojoPortal over an existing site of course it will and should overwrite the mojoPortal files but it will not affect any content files such as images uploaded by users. All of the site content except user uploaded files is stored in the database.

You will want to make sure you backup your Web.config file and restore any customizations such as the machinekey from the old web.config into the new one.

But you really need to know what version you are deploying, you definitely do not want to deploy an older version of mojoPortal on top of an existing installation of a newer version of mojoPortal.

So assuming the dev version is a newer build of mojoPortal than your production site, you can make a copy of all the files from the production site into your test environment and then deploy the dev build on top of it.

Hope that helps,

Joe

11/22/2011 12:05:44 PM
Gravatar
Total Posts 11

Re: New version install parallel to old version

That will throw things off board i feel since i have a custom skin set for 2.3.4.3 and it needs a lot of adjustment for the new version which the consultant has done.

Can i do a fresh install of the new version as opposed to an upgrade on the same server and then point the DNS to the new folder after the testing is done?

11/22/2011 12:17:39 PM
Gravatar
Total Posts 18439

Re: New version install parallel to old version

You can do whatever you want but if you have a separate testing environment I don't see the problem, you can update a copy of your skin in the testing environment and then you will already have the needed changes when you decide to finally update the production site.

You must sign in to post in the forums. This thread is closed to new posts.