Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
sphinx error after update of gitorious. search no more working
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Wiz of Id  
View profile  
 More options Jul 1 2011, 6:22 am
From: Wiz of Id <trumbi...@gmail.com>
Date: Fri, 1 Jul 2011 03:22:00 -0700 (PDT)
Subject: sphinx error after update of gitorious. search no more working

Hello.

Almost a week ago:
- fetched the latest master branch of gitorious
- reinstalled the gem bundle
- run rake db:migrate
- restarted apache
- fixed some minor issues

all worked but the search

Whenever i try to reindex, here's the error and a useless 0 bytes index:

git-user@myserver:~$ cd /var/www/gitorious.host/gitorious && rake
ultrasphinx:index RAILS_ENV=production
(in /var/www/gitorious.host/gitorious)
$ indexer --config '/var/www/gitorious.host/gitorious/config/ultrasphinx/production.conf'
--rotate --all
Sphinx 0.9.8.1-release (r1533)
Copyright (c) 2001-2008, Andrew Aksyonoff

using config file '
/var/www/gitorious.host/gitorious/config/ultrasphinx/production.conf'...
indexing index 'main'...
ERROR: index 'main': sql_range_query: Unknown column 'base_tags.name' in
'field list'
(DSN=mysql://mysqluser:***@localhost:3306/gitorious_production).
total 0 docs, 0 bytes
total 0.013 sec, 0.00 bytes/sec, 0.00 docs/sec
Index rotated ok

Can't figure out what to do... I did rake db:migrate on top of the gitorious
folder when I updated....


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Johansen  
View profile  
 More options Jul 4 2011, 1:59 am
From: Christian Johansen <christ...@cjohansen.no>
Date: Mon, 4 Jul 2011 07:59:49 +0200
Local: Mon, Jul 4 2011 1:59 am
Subject: Re: [gitorious] sphinx error after update of gitorious. search no more working

Hi,

Can you try to also regenerate the sphinx configuration? Seems like you have
stale database information. `bundle exec rake ultrasphinx:configure`

Christian

On Fri, Jul 1, 2011 at 12:22, Wiz of Id <trumbi...@gmail.com> wrote:

--
MVH
Christian

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JereKrischel  
View profile  
 More options Jul 2 2011, 12:13 am
From: JereKrischel <j...@krischel.org>
Date: Fri, 1 Jul 2011 21:13:41 -0700 (PDT)
Local: Sat, Jul 2 2011 12:13 am
Subject: Re: sphinx error after update of gitorious. search no more working
try this:

vi /home/git/gitorious/config/ultrasphinx/production.conf
        # replace base_tags with tags

bundle exec rake ultrasphinx:index RAILS_ENV=production

On Jul 1, 3:22 am, Wiz of Id <trumbi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wiz of Id  
View profile  
 More options Jul 4 2011, 5:13 am
From: Wiz of Id <trumbi...@gmail.com>
Date: Mon, 4 Jul 2011 02:13:23 -0700 (PDT)
Local: Mon, Jul 4 2011 5:13 am
Subject: Re: [gitorious] sphinx error after update of gitorious. search no more working

Thank you, just added RAILS_ENV=production to that command and it worked and
fixed the issue.
Is there a web page or a document I should have read before asking here?

Thank you again,
Wiz


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jimit Ndiaye  
View profile  
 More options Jul 28 2011, 10:49 am
From: Jimit Ndiaye <jimitndi...@gmail.com>
Date: Thu, 28 Jul 2011 07:49:34 -0700 (PDT)
Local: Thurs, Jul 28 2011 10:49 am
Subject: Re: sphinx error after update of gitorious. search no more working

'bundle exec rake ultrasphinx:configure' didn't work for me. I had to use
JereKrischel 's solution above.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »