HI,
using recoll I have buld from source under Ubuntu 14.04 in the cron like this :
MAILTO="" RCLCRON_RCLINDEX= RECOLL_CONFDIR="/home/jacques/.recoll/" /usr/local/bin/recollindex
I have a message like this:
:3:common/rclinit.cpp:308::Configuration directory: /home/jacques/.recoll
:3:index/recollindex.cpp:609::recollindex: changing current directory to [/tmp]
:3:index/recollindex.cpp:641::recollindex: starting up
:3:rcldb/rcldb.cpp:1915::Db::waitUpdIdle: total xapian work 0 mS
:3:index/fsindexer.cpp:240::fsindexer index time: 10655 mS
:3:./utils/workqueue.h:194::DbUpd: tasks 0 nowakes 0 wsleeps 1 csleeps 0
:2:./utils/workqueue.h:153::WorkQueue::waitIdle:DbUpd: **not ok**
:3:rcldb/rcldb.cpp:1915::Db::waitUpdIdle: total xapian work 0 mS
:3:rcldb/rcldb.cpp:1915::Db::waitUpdIdle: total xapian work 211 mS
:3:./utils/workqueue.h:194::DbUpd: tasks 0 nowakes 0 wsleeps 1 csleeps 0
:3:./utils/workqueue.h:194::Internfile: tasks 24467 nowakes 22136 wsleeps 5406 csleeps 9380
:3:./utils/workqueue.h:194::Split: tasks 0 nowakes 0 wsleeps 2 csleeps 0
I don't know if its an error, as, in .recoll folder, I have this:
jacques@gadel-pc2:~/.recoll$ ls -ail
total 5172
1842556 drwxrwxr-x 3 jacques jacques 4096 mars 25 17:04 .
1835009 drwxr-xr-x 52 jacques jacques 4096 mars 30 13:48 ..
1843448 -rw-rw-r-- 1 jacques jacques 5264480 mars 30 02:00 aspdict.fr.rws
1843248 -rw-rw-r-- 1 jacques jacques 225 mars 25 16:47 history
1843251 -rw------- 1 jacques jacques 97 mars 30 02:00 idxstatus.txt
1843255 -rw-r--r-- 1 jacques jacques 5 mars 30 02:00 index.pid
1843192 -rw-rw-r-- 1 jacques jacques 0 mars 25 14:51 mimeview
1843266 -rw-rw-r-- 1 jacques jacques 0 mars 30 02:00 missing
1843241 -rw-rw-r-- 1 jacques jacques 0 mars 25 14:51 ptrans
1839215 -rw-rw-r-- 1 jacques jacques 151 mars 30 13:50 recoll.conf
1843398 drwxr-xr-x 2 jacques jacques 4096 mars 30 02:00 xapiandb
It seems that index seems to be updated.
What is the signification of this message ?
If recoll works like expected, what is the way not to have a mail sent.
I suppose that the mail Fwd: Mail delivery failed: returning message to sender
is delivered just because MAILTO=""
Thanks for this very good product, and for helping me.
A+
Discussion
-
medoc
2018-04-07Hi,
It's not recoll sending the message, it's cron, just because there was output to stderr.
Either change the log output (logfilename in recoll.conf), or redirect stderr to /dev/null (probably better actually because this will also get rid of external commands output.
/usr/local/bin/recollindex > /dev/null 2>&1
(you can set the logfilename anyway if you want to have a look at the log messages).
You can ignore the 'not ok' thing, it's spurious.
-
medoc
2018-04-12- status: open --> closed
- milestone: -->