Updates

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
2/19/2009 6:48:16 AM
Gravatar
Total Posts 72

Updates

Hi Joe,

I have a number of websites using mojoportal and all running fine.  Great work.

My question is "Is there an easier way to update versions?  There is no way I can tell what has changed from one version to another so I end up uploading everything again and running setup - with my 1.5kbs connection (slow) it takes hours to update each site.  Do you have anything that lists files that have changed so we don't have to upload the entire site each time?

Cheers - Chris

 

 

 

2/19/2009 7:04:45 AM
Gravatar
Total Posts 18439

Re: Updates

Hi Chris,

If I know of files you can skip uploading I mention it in the release notes, like if there were no changes in ClientScript folder I mention it because its a big folder you can skip sometimes. But in general, if people don't upload all the files it leads to support problems that are hard to diagnose. I realize thats a pain for a slow connection but there is nothing I can do to ease that pain. Its hard to manage web sites over a slow connection and that is not a problem I can solve. 

Changes occur all over the place in mojoportal as its worked on every day and there is no good way for me to keep track of which files have changed between releases. Generally upgrades should be thought of no differently than an initial install.

If you have a bunch of sites it can be easier to manage if you get a dedicated server. Then you can upload the .zip once and then remote desktop into the server to actually install it to sites.

Best,

Joe

2/21/2009 11:33:01 PM
Gravatar
Total Posts 72

Re: Updates

Hi

When you say release notes do you mean the text you put on this page?  http://www.mojoportal.com/mojoportal-2286-released.aspx.  Is there more detailed notes if you mention that there were no changes to a particular folder or somethin?

Cheers

 

 

 

2/22/2009 4:58:54 AM
Gravatar
Total Posts 18439

Re: Updates

Yes, release notes are blog posts corresponding to releases. There is a list with links to all the release notes at the bottom of the download page. Most releases there are changes scattered everywhere and I do not mention any folders you can leave out, but occasionally if I do know for sure there is a big folder like ClientScripts that has no changes I mention it as I did in this post

In general it should be expected that you do need to upload all the files unless I specifically mention that you can leave something out. 

Best,

Joe

3/27/2009 6:31:49 AM
Gravatar
Total Posts 72

Re: Updates

Hi Joe,

STill have issues with updates - just to let you know.  Can't do every update as it takes hours to do so missed the last one and now doing the latest one 2-2-9-6.  I copy all the files across except for web.config, Data folder, Setup folder and clientScripts.  Once done, I update the latest web.config with my settings (for database connection and email) then I upload the setup folder followed by the clientScripts folder.  It is somewhere here, when my clients website goeds down - the error page comes up saying there has been a server error.... It has been down now for an hour - connection speed not the greatest but generally fine - the ClientScripts folder with over 3000 files in, takes forever. 

The last folder I move across is the Data folder - I first copy all the folders except for skins and Sites.  I don't bother with skins as only want the one custom skin for the client and it doesn't look like there is anything in Sites that I really need to copy across either - so I don't.  By the time I get to run setup, it can be 3 hours of website downtime which is not good.  Even with the fastest connection it still takes too long.

Unfortunately website hosts don't allow you to download zip files and unzip in most cases so that is not an option.  There must be an easier way to do this - is there some sort of version tracker which can compare the download with the livesite to see what has changed?

The other thing when updating is skins.  I created the skin for my client a year ago but have not touched the skin code since and it seems to be working fine ever since - but - do you make many changes to the CSS in skins as once a custom skin has been made it would require a bit of work to find any updates (considering I used one of the default skins and modified it).

 

 

 

3/27/2009 6:50:47 AM
Gravatar
Total Posts 72

Re: Updates

Hi again -

Further to the above, I can't find the MySQL file for FormWizardPro at the link in the installation notes

"To use MySql, download the free MySql Data layer for Form Wizard Pro from this page on Novell Forge:

http://developer.novell.com/wiki/index.php/Mojoportal"

Cheers

3/27/2009 6:54:52 AM
Gravatar
Total Posts 18439

Re: Updates

 Hi Chris,

All the data layer dlls are now included in the package beneath the /DatLayers folder. I thought I also updated the InstallationInstructions.txt file in the package but apparently not, I will do that asap.

Best,

Joe

 

3/27/2009 7:04:55 AM
Gravatar
Total Posts 18439

Re: Updates

Yes, skins do evolve over time, if it was over a year ago when you made a custom skin you should look at this article:

http://www.mojoportal.com/important-skin-changes.aspx

I do not have a way of telling you which files changed, there may be ways of doing that with third party tools but I leave that up to you. I think it could lead to more difficult support if you don't update all the files to be sure. If you use some diff toll or something and it makes mistakes you may have mismatched files and could get strange bugs that I can't diagnose.

If you are upgrading from 2.2.9.5 you could skip the ClientScript folder as indicated in the release notes for 2.2.9.6.

I am no different I have a number of sites I maintain, upgrading is pretty much the same process as initial installation. A slow connection can make it really painful, luckily most of the time I have a relatively fast connection.

Best,

Joe

3/27/2009 8:30:13 AM
Gravatar
Total Posts 72

Re: Updates

Thanks - will have to look at the CSS thing  - found the dll under datalayers. 

Finally finished installing - downloaded absolutely everything except for the skins then ran setup and got an error.  This is the log file from it - I have no idea.

Cheers

---------------------------------------------

2009-03-27 09:15:52,588 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: The device is not ready.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
2009-03-27 09:16:42,682 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: The device is not ready.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
2009-03-27 09:17:32,791 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: The device is not ready.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
2009-03-27 09:18:22,885 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: The device is not ready.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
2009-03-27 09:19:13,261 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: The device is not ready.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
2009-03-27 09:20:03,355 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: The device is not ready.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessIndexingQueue()
2009-03-27 09:20:21,402 INFO mojoPortal.Web.Global - Global.asax.cs Application_End

 

 

3/27/2009 8:47:02 AM
Gravatar
Total Posts 18439

Re: Updates

Hi Chris,

Its logging these errors when trying to update the search index. This error could mean the files are locked by another process or on a drive that is no longer accessible, or it could be a hardware problem as this is the same kind of error you see if a cd drive can't read an old disk.  First thing I would try is recycle the application.

Is it possible you or your host moved your site to a new physical path recently? If under medium trust and you had to set the Lucene Lock directory setting it could have an incorrect path, or if the site was moved it could have had rows in the mp_IndexingQueue table with the old path which is no longer accessible and now it tries to write to the incorrect location and logs thhese errors.

Hope it helps,

Joe

3/27/2009 12:28:12 PM
Gravatar
Total Posts 72

Re: Updates

Hi

Yes, the host has moved from one server to another only a couple of weeks ago.  Have sent your reply to them to fix.  Have just noticed that they have an alert on their site "Exchange Server Maintenance Scheduled for March 28".  Not sure if that may be part of the problem.  We'll see.

Cheers - Chris

 

 

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