Deploying Mojoportal - Multiple sites

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/8/2011 6:31:53 AM
Gravatar
Total Posts 18439

Re: Deploying Mojoportal - Multiple sites

One way to do it would be to make a full backup of the db, restore the db on a local machine with a copy of the installation, then make sure the site you want to keep is set to true for the IsServerAdminSite field in the mp_Sites table. Then delete the other sites from the web ui (see the FAQ item about how to delete sites). That should get rid of most or all of the other site data, then you could backup the database again with just the one site.

Hope that helps,

Joe

6/8/2011 12:46:37 PM
Gravatar
Total Posts 2239

Re: Deploying Mojoportal - Multiple sites

I spent some time looking for the scripts I wrote the last time I had to do something like this, it was well over a year ago, but I can't seem to find anything. I think Joe's recommendation is probably the best way to go at this point.

I will publish our upgrade script in the near future. I am contemplating rewriting it in PowerShell as it is currently Batch script.

Thanks,
Joe D.

6/8/2011 5:11:07 PM
Gravatar
Total Posts 17

Re: Deploying Mojoportal - Multiple sites

Joe,

Thanks for that idea....  I am going to give that a try!  I will let this post know the outcome.

Steve

11/30/2011 3:49:18 PM
Gravatar
Total Posts 40

Re: Deploying Mojoportal - Multiple sites

uniquegodwin, I see you linked to a Java-based solution I created many months ago (http://code.colostate.edu/auto-upgrade.aspx) which I now consider to be “deprecated” (although you could certainly adapt it).  I have since created what I consider to be a simpler/better means of automatically upgrading multiple installations of mojoPortal (since I generally use separate databases for each of my sites), using PowerShell:

http://code.colostate.edu/automatically-upgrading-mojoportal-using-powershell.aspx

I would definitely welcome any improvements to the code, as this is my first foray into PowerShell (obviously anyone using the code would want to make certain tweaks regardless).  Secondly, even though it’s possible to upgrade numerous installations of mojo with one click using this script, I do not recommend this, as I think it’s better to upgrade/test each site individually as you upgrade.

Typically the script is able to perform an upgrade of the mojo core, form wizard pro, mobile kit pro, and event calendar pro in 1-2 minutes, so it's not too cumbersome of a process.

Hope it's of use to someone...
Shaun

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