Updating to a new deployment release of MoJo

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.
7/21/2010 7:31:07 PM
Gravatar
Total Posts 17

Updating to a new deployment release of MoJo

Hi:  I'm new to MojoPortal and hopefully will only be using the deployment versions of the software.  With the version I have installed on my server today, if I add 10 or 20 pages to the site.  Where is it saved?  When there is a new deployment release of Mojoportal, how do I upgrade my webserver?  Is it just copied over the existing directory?

Thanks.

7/22/2010 10:06:36 AM
Gravatar
Total Posts 2187

Re: Updating to a new deployment release of MoJo

Hi,

Welcome to mojoPortal! I am sure you are going to love it!

When you add content to a mojoPortal site, that content is saved in the database. Any images, flash or other media are saved to the \data\sites\[site number]\ directory.

To upgrade a mojoPortal site, all you need to do is download the new release, unzip it and then copy it to your server. Once copied to your server, you open the http://www.yoursite.url/Setup/Default.aspx page in your browser and the database gets updated. It is a fairly painless and straightforward operation. I host dozens of mojoPortal sites and (with the help of a nifty script I wrote) I update all of them in minutes.

For the best results, you should become familiar with the Upgrade Documentation before attempting an upgrade.

HTH,
Joe Davis

7/22/2010 9:06:14 PM
Gravatar
Total Posts 47

Re: Updating to a new deployment release of MoJo

Hi Joe,

While upgrading The SQLite and SQLCE versions we should not replace the databases in data/sqlitedb/mojodb.config and app_data/mojo.sdf respectively, isn't it?

thanks,

nitin

7/23/2010 8:16:06 AM
Gravatar
Total Posts 18439

Re: Updating to a new deployment release of MoJo

Hi Nitin,

The SQLite package does contain a database file so it is important to avoid overwriting it on upgrading. I've updated the SQLite documentation to clarify this.

The initial package for SQL CE also followed this approach, but the latest package (I just uploaded it this morning on Codeplex) does not include a database file in /App_Data. Instead, when you visit the setup page, if the file does not exist it will create it, but if it already exists it won't do anything and since the package does not contain the file, there is no risk of accidentally overwriting the database file during upgrades. I've created a new document Using SQL CE to explain it.

Hope that helps,

Joe

7/23/2010 9:57:43 AM
Gravatar
Total Posts 47

Re: Updating to a new deployment release of MoJo

was just thinking this (database creation by code) could be done, great that u have implemented it. People will feel more relaxed while updating.

ps: hey can u enable 'add image' function in the Rich HTML editor of the forums here, it'll make adding screen shots to the post easier :)

thanks n regards,

nitin

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