server error

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.
6/26/2015 10:25:44 AM
Gravatar
Total Posts 20

server error

Hi Joe,

I'm unable to edit content on a client's website. When saving edits, system throws error: http://www.mydomain.com/Error.htm?aspxerrorpath=/HtmlEdit.aspx

Error in System log in MojoPortal version 2.3.2.9. I know this is a helplessly outdated version. Client is resisting updating CMS.
- This usually points to a search index cache issue, and I cleared/rebuilt that cache with no satisfaction at resolving the error.
- Sometimes this is a permissions issue too. I have not yet determined this.
- Have disabled Lucene.Net search with adding the line <add key="DisableSearchIndex" value="true"/> to user.config and touched the web.config file. No change in error while search is disabled.
- checked tables for errors in MySQL 5.5.29-log. All tables check okay.


System log error that repeats over and over:
> 2015-06-25 12:40:41,883 ERROR mojoPortal.Business.WebHelpers.IndexWriterTask - System.IO.IOException: Lock obtain timed out: SimpleFSLock@D:\Home\pamir.com\wwwroot\Data\Sites\1\index\write.lock
> at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
> at Lucene.Net.Index.IndexReader.AquireWriteLock()
> at Lucene.Net.Index.IndexReader.DeleteDocument(Int32 docNum)
> at Lucene.Net.Index.IndexReader.DeleteDocuments(Term term)
> at mojoPortal.Business.WebHelpers.IndexWriterTask.ProcessQueue(DataTable q, String indexPath)

This was not an issue as of 6/11/2015 2:04:37 PM, last successfully recorded edit to content. There has been no software updates with MojoPortal. I'm beating on Hostek hosting service for answers on server changes, but no satisfactory reply. On shared server, low cost plan and not feeling any love from them :(

Thank you in advance for your kind assistance.

Paul

6/26/2015 10:52:29 AM
Gravatar
Total Posts 18439

Re: server error

I have no way of knowing why you suddenly get that error.

In addition to disable the search index the only suggestion I have is also delete all rows from mp_IndexingQueue and mp_TaskQueue then recycle the app to clear the cache.

That is a very outdated version of mojoportal (released in Nov 2009 so 6 years old) that I would not have in production for any of my customers. There have been important security updates since that version so I would never use it for any site at this point. But it is also so old that upgrading will likely have some challenges. ie upgrading would likely need a change in hosting to a newer version of .NET framework since the latest mojoportal requires .NET 4.5. Likely to have some skin issues and javascript issues to work through after upgrading.

Nevertheless, in spite of the challenges upgrading is what is called for if the site is important to anyone.

6/26/2015 5:08:35 PM
Gravatar
Total Posts 20

Re: server error

Thanks for your quick reply.

Further investigation shows missing tables in MySQL. Notably, mp_TaskQueue.

I have asked the customer to upgrade before. Maybe this will be the wake up they need to move on it. Apparently customer or hosting service screwed up the database.

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