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

 

 

3/27/2009 12:39:01 PM
Gravatar
Total Posts 18439

Re: Updates

If you have a setting like this in Web.config or user.config (ie you would need it if you are in Medium Trust hosting):

<add key="Lucene.Net.lockdir" value="C:\__dev\mojoportal\joe\Web\Data\Sites\1\index" />

Then the path may need to be corrected since your site got moved and its a file system path (obviously the above path is just an example from my machine). The /Setup/Default.aspx page should tell you the correct path if it detects you are in medium trust.

You may also want to delete rows from the mp_IndexingQueue table if they have the old incorrect index path in them. Rows get deleted after processing so you can probably safely just delete all rows from that table to be sure.

I don't think Exchange Server maintenance is likely to affect your site unless it relays email through exchange, then maybe some email would fail during that time.

Hope it helps,

Joe

 

3/27/2009 4:57:04 PM
Gravatar
Total Posts 72

Re: Updates

Hi

Have removed all the files from the mp_index.. as the path was wrong.   I try and run setup and I cam not getting any error logs in the Data folder any more - would this be the expected outcome - as website still not doing anything different - all I get is the "Server Error in '/' Application."  runtime error screen now - not your custom error page.

Can't find anywhere in the config file re the addkey...lockdir as below and wouldn't have added this myself. 

Unfortunately, my old host sold out to EasyCGI and they have been nothing but Easy for me ever since the migration across.  It takes forever to get anything done and something as simple as recycling the application hasn't been done in the 12 hours since I first contacted them.  Its so hard to find a decent host these days :)

 

 

3/27/2009 8:47:38 PM
Gravatar
Total Posts 72

Re: Updates

Still having no luck with this - the host seemed to be doing something like recycling the app but still nothing happening - still getting the same .net error page coming up.  Any more ideas on what I might be able to my end or tell the host to do their end - they seem to have no idea at the moment.

 

Cheers

3/28/2009 7:00:50 AM
Gravatar
Total Posts 18439

Re: Updates

Hi Chris,

Usually there is a button somewhere in the hosting control panel to recycle the app. Touching the Web.config by downloading it and uploading it again should also recycle the app most of the time.

None of the errors you posted previously are stoping the site fromk running so we need to find out what the real error is.

Please look for this in Web.config:

 <customErrors mode="RemoteOnly" defaultRedirect="Error.htm">

and change it to:

<customErrors mode="Off" defaultRedirect="Error.htm">

That should get you past the generic .NET error page and give more error info.

Please start a new thread and post the error. 

Best,

Joe

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