Blowing Away And Restoring A mojoPortal Site...

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/11/2011 3:46:48 PM
Gravatar
Total Posts 114

Blowing Away And Restoring A mojoPortal Site...

Hi guys,

I had some problems with a site recently when I did an upgrade to 2.3.6.6. I did the upgrade using the recommended upgrade directions in the mojoPortal documentation (overwriting), but some site features aren't working correctly; I'm noticing some tags being rendered with classes that exist in my development environment but not in the production site, and the shared files upload functionality works for me under Windows 7 and IISExpress with FireFox, Chrome and IE, but not in the production site with a Mac (client's machine) running Safari, where it did work before the upgrade.

What I'm planning to do is blow away the site and re-deploying 2.3.6.6 clean, from scratch, and restoring the connection to the existing database by re-deploying the live web and user configs.

Is there a recommended procedure for what I'm planning, or do I just need to kinda wing it? :)

Best,

Duane Doutel

 

6/11/2011 10:23:37 PM
Gravatar
Total Posts 2239

Re: Blowing Away And Restoring A mojoPortal Site...

Hi,

Have you checked the mojoPortal System Log for errors?

If you delete all of your existing site files, none of your existing uploaded content files will be available to the site. For instance, if you uploaded graphics and flash files for use in content, you will lose those and need to upload them again.

When you upgrade, you should never keep your existing web.config file. If you have made changes to your web.config, make note of those changes and then make them in the new web.config file one at a time.

My suggestion is to take a look at the System Log and fix any problems that you see. We can help with specific problems.

HTH,
Joe D.

6/12/2011 5:29:15 AM
Gravatar
Total Posts 114

Re: Blowing Away And Restoring A mojoPortal Site...

Hi Joe,

Yeah, fortunately, there isn't a lot of content uploaded yet, but what there is I have backed up. As for web.config and the database itself, they're both up to the 2.3.6.6 level, since I did the setup procedure when I upgraded to 2.3.6.6 over the previous version, and took the web.config from the 2.3.6.6 deployment package, applying the few changes I'd made in the previous version to the new web.config.

I did check the log, and didn't see anything, but it's gotten pretty large and I may have missed something. I guess what I need to know is, when I put the fresh deployment files out there, do I need to do anything else besides replacing the few content files and recreate the ~/sites/1/skins folder with the skin I'm working on for the site? And correct me if I'm wrong, but if I do the above, given a 2.3.6.6-level database already, I shouldn't run the setup/default.aspx, right? just restore the connection string in user.config, and turn on the site?

Many thanks!

Duane

 

6/12/2011 1:19:25 PM
Gravatar
Total Posts 18439

Re: Blowing Away And Restoring A mojoPortal Site...

Hi Duane,

You should either always use my official release packages or always produce your own from source code. You shouldn't switch back and forth. Source code from the repository is always newer than the official releases so deploying from source and then trying again overwriting from the release packages can get dodgy.

It is always safe to visit the /Setup/Default.aspx page at any time and it should be visited whether upgrading from the repository or from release packages. When working from the repository one should after getting the latest code always rebuild the entire solution and visit the Setup page.

I have no idea why you are having so much trouble, I upgrade this site and the demo site all the time by first producing a local package from the latest source code. The steps I use are outlined in the Packaging and Deployment article. But if you consistently have problems with deploying packages you made yourself then you should probably stick with official releases.

When upgrading you need to use a robust ftp client that gives indications of failed transfers and retry any failed ones until they all make it. All kinds of strange results can happen if not all the files get deployed.

Hope that helps,

Joe

6/12/2011 3:16:55 PM
Gravatar
Total Posts 114

Re: Blowing Away And Restoring A mojoPortal Site...

Joe,

Replies on these forums are always helpful! :)

I HAD been building from source; no changes to code, but somewhere, something went awry; that's why I want to fall back on the distribution, and at this point, I think a clean upload from 2.3.6.6 deployment packages are what is needed. I'm using Filezilla as an FTP client. I think the bulk, if not all of these weird issues will go away once I've done that. Good to know that it's always safe to use /Setup/Default.aspx; I'll do that!

Again, many thanks for all the advice!

Duane

 

6/13/2011 6:47:52 AM
Gravatar
Total Posts 18439

Re: Blowing Away And Restoring A mojoPortal Site...

Hi Duane,

And thank you very much for the beer! Much appreciated.

Cheers,

Joe

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