That was it. No idea how that happened. Thanks a lot.

Stefan

Am Donnerstag, 5. Juni 2014 10:55:35 UTC+2 schrieb Bruce Cran:
>
> Your search index directory appears to be wrong: it should be something 
> like /var/www/reviews/search-index/ and not the root directory.
>
> -- 
> Bruce
>
>
> On Thu, Jun 5, 2014 at 2:04 AM, Stefan Bohne <
> stefan...@sentec-elektronik.de <javascript:>> wrote:
>
> Hello all,
>>
>> since upgrading to RB2.0 and then RB2.0.1 my reviewboard stopped working 
>> periodically. Luckily, as far as I can tell, no information was lost. Today 
>> I found the culprit: a line in crobtab doing a full reindex.
>>
>> Here is some command line log to show the problem.
>>
>> stbohne@sentec116:~$ ls -l /var/www/reviews
>> insgesamt 20
>> drwxr-xr-x 2 root     root     4096 Jun  5 09:09 conf
>> drwxr-xr-x 3 www-data www-data 4096 Jun  5 09:10 data
>> drwxr-xr-x 4 root     root     4096 Jun  5 09:09 htdocs
>> drwxr-xr-x 2 root     root     4096 Jun  5 09:09 logs
>> drwxrwxrwx 2 root     root     4096 Jun  5 09:09 tmp
>> stbohne@sentec116:~$ sudo "/usr/bin/python" "/usr/local/bin/rb-site" 
>> manage "/var/www/reviews" index -- --full
>> Removing all documents from your index because you said so.
>> All documents removed.
>> Indexing 1782 review requests
>> stbohne@sentec116:~$ ls -l /var/www/reviews
>> insgesamt 20176
>> -rw-r--r-- 1 root root     4128 Jun  5 09:16 _MAIN_2.toc
>> -rw-r--r-- 1 root root 10934530 Jun  5 09:16 MAIN_mhao8rj5qykon23w.seg
>> -rw-r--r-- 1 root root  9714845 Jun  5 09:16 MAIN_ouvhv91nwxh0w4io.seg
>> -rwxr-xr-x 1 root root        0 Jun  5 09:16 MAIN_WRITELOCK
>>
>> rebuild_index does the same thing.
>>
>> stbohne@sentec116:~$ sudo rb-site manage /var/www/reviews/ rebuild_index
>>
>> WARNING: This will irreparably remove EVERYTHING from your search index 
>> in connection 'default'.
>> Your choices after this are to restore from backups or rebuild via the 
>> `rebuild_index` command.
>> Are you sure you wish to continue? [y/N] y
>> Removing all documents from your index because you said so.
>> All documents removed.
>> Indexing 1782 review requests
>> stbohne@sentec116:~$ ls -l /var/www/reviews/
>> insgesamt 20176
>> -rw-r--r-- 1 root root     4128 Jun  5 09:30 _MAIN_2.toc
>> -rw-r--r-- 1 root root 10934528 Jun  5 09:30 MAIN_5yig6ynh5eil7tmx.seg
>> -rw-r--r-- 1 root root  9714847 Jun  5 09:30 MAIN_jnxk79y5l3dhomio.seg
>> -rwxr-xr-x 1 root root        0 Jun  5 09:29 MAIN_WRITELOCK
>>
>> Any ideas what could cause this?
>>
>> Stefan
>>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to