Site search no results, no index files

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/9/2009 12:14:12 PM
Gravatar
Total Posts 2

Site search no results, no index files

I have a new install and the application seems to be working well until I tried to perform a site search.

The search returns nothing. I looked in the site id\index folder and there are no files there. I press the Rebuild Search Index, wait for 30m and still nothing. No search results and no index files.

I searched the fourms and could not find anyone else having this issue.

Did I miss a config item?

my site http://jeapea.com

OS: W2003 R2

DB: MSSQL 2005

mojo: 2.3.0.4 MSSQL

 

 

6/9/2009 12:55:23 PM
Gravatar
Total Posts 18439

Re: Site search no results, no index files

Hi,

The most likely problem is if the file and folder permissions are not correct. I would check that index folder is writable by the web process user.

You may also find clues in the mojoPortal log under Admin > System Log, assuming the /Data folder is writable and it can write to the log.

Hope it helps,

Joe 

6/11/2009 6:21:17 PM
Gravatar
Total Posts 2

Re: Site search no results, no index files

Joe,

Thanks for the quick responce.

I had the hosting service verify the permissions and thye said everything is correct. I am able to use the File Manager to create and delete files and folders under the index folder.

Is this a good test to see to verify that the web process user has the correct permission?

I deleted all the entries in the db index table and saw them come back when a search is performed but still  no files were written.

I have a copy of this site locally and it works as expected. Copying the files in the index folder from the local site to the index on the hosted site makes the hosted site work. After pressing the re-index button the files are deleted and then nothing else happens.

Is this still a web process user permission issue?

The system has no info about the index. It is working and I used it to help get the email working.

Thank you

Bill

 

6/12/2009 7:46:59 AM
Gravatar
Total Posts 18439

Re: Site search no results, no index files

Hi Bill,

If its a multi site installation hosted in Medium Trust it could be the problem, or if you have this setting in Web.config/user.config with an invalid path or a path without write permission:

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

note the value is just an example, it would need to be a real server path on your server and this setting would need to be correct in Medium Trust but it could be a problem in multi site installation since it would use the same lock directory for all sites.

If that is the case, it should be fixed in the next release of mojoportal so that this config setting is not needed and it uses the site specific index folder automatically as the lock directory.

If running in full trust, this setting is not needed in the current release, but if it exists and has an incorrect path it could also cause the problem.

Hope it helps,

Joe

8/24/2009 12:07:46 AM
Gravatar
Total Posts 3

Re: Site search no results, no index files

Got the same issue. Single site, and have permissions correct. Another install on another domain on same server works.

Beyond me :)

8/24/2009 3:55:54 PM
Gravatar
Total Posts 18439

Re: Site search no results, no index files

Are you seeing anything in the mojoportal logs under key icon > System Log that looks related?

Really the most likely problem is you think permissions are correct but they are not.

Hope it helps,

Joe

9/20/2009 6:39:10 PM
Gravatar
Total Posts 125

Re: Site search no results, no index files

I have the same problem. Permissions are what you describe when using medium trust. Is anything more needed ?

And yes, i have an error in the log.

 

2009-09-21 00:01:01,093 ERROR mojoPortal.Business.WebHelpers.IndexBuilderManager - System.Configuration.Provider.ProviderException: No IndexBuilderProvider found.

at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()

Is that related to the search ?

 

thanks

9/21/2009 1:19:24 PM
Gravatar
Total Posts 18439

Re: Site search no results, no index files

Sounds like missing files. I would re-upload the /Setup/ProviderConfig folder

Hope it helps,

Joe

9/21/2009 4:51:16 PM
Gravatar
Total Posts 125

Re: Site search no results, no index files

Re-uploading the suggested folder did eliminate the error.

However some problems with search, as not searching the forums and finding old articles (erased).

Still searching the software

Thanks.

9/22/2009 6:49:29 AM
Gravatar
Total Posts 18439

Re: Site search no results, no index files

I think you need to rebuild your search index to clean out deleted content and make it up to date with current content. It got out of sync because those files were missing.

Hope it helps,

Joe

9/22/2009 3:56:19 PM
Gravatar
Total Posts 125

Re: Site search no results, no index files

Deleted the data in Index folder, searches, and still nothing is in there.

Apparently it doesn't work in my installation.

And i see NO log for the indexer. Doesn't start ?

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