Christian Weiske <cweiske@cweiske.de> writes: > Hello, > > > I setup notmuch in my user account "cweiske" and now want to use the > browser-based "notmore" UI for it. > I setup notmore on Apache + PHP, and it runs as www-data user. > > The directory permissions should be fine; I changed via "su -s /bin/bash > - www-data" to the user and executed "notmuch --config /home/cweiske/... > search test" and it returned results. > > When "notmuch search" is run via apache's mod_php, it exits with > status code 1, and no output in stdout nor stderr. > > What could the reason be for that? > > ---- > > Running "notmuch config list" via apache works. > There are no selinux/apparmor errors in jourctl or dmesg. > > "strace -f" output it not really helpful, but is attached. I am not familiar with PHP or Apache (TIL about "notmore"), so I'm not sure how much help I can be. If possible I'd try running the PHP directly; at least with the python web stuff this allows better debugging. One thing you can try is setting NOTMUCH_DEBUG_QUERY to some nonempty value. That should generate some output if it gets as far as parsing the query. _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org