What's the output of the following, from within your rails app's directory:

ls -al
ls -al db/sphinx/staging

Also, it may be worth deleting db/sphinx/staging, and then running the rake 
task again. Are you running the rake task as the user that owns all the rails 
app files?

-- 
Pat

On 17/06/2010, at 1:24 PM, robdoan wrote:

> I change own for all files in db/sphinx. But it still not work :(
> 
> On Jun 16, 8:12 pm, Alex Tomlins <[email protected]>
> wrote:
>> Are all the files in db/sphinx owned by the app user?
>> 
>> I've seen issues like this if sphinx is re-indexed as root.  The db
>> files then get created owned by root, and the app user can't
>> subsequently write to them.
>> 
>> Alex
>> 
>> On 16/06/2010 14:07, robdoan wrote:
>> 
>>> When i run rake ts:index it diplays this error
>> 
>>>   ERROR: index 'performance_core': /var/www/agenda.nl/shared/db/sphinx/
>>> staging/performance_core.tmp.tmp4: write error: 857 of 218931 bytes
>>> written.
>> 
>>> Could you please help me fix this error ?
>> 
>>> Thank you for your help.
>> 
>> --
>> Alex Tomlins    
>> Unboxed
>> Consulting
>> 
>> E:      [email protected]
>> <mailto:[email protected]>
>> M:      +44 78 2469 6890
>> T:      +44 20 3137 2930
>> F:      +44 20 7183 4251
>> 
>> 8 Elder Street
>> London, E1 6BT
>> United Kingdomwww.unboxedconsulting.com<http://www.unboxedconsulting.com>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to