GUI empty

Issue #1095 resolved
Kevin Lieser created an issue

I have setup piler, used pilerimport to import mails from an IMAP account which worked.

In admin interface of piler there are 4 messages / my database is filled.

When I log in (via IMAP auth) in piler with the same email address I imported from, the GUI is still empty. Also the auditor GUi is empty. GUI database is the same, for sure.

Is it a bug or am I missing something?

– Edit

I tried another approach and created a regular user in admin panel “archive@piler.mydomain.com” and setup postfix to BCC to that email address which piler-smtp fetches. Also the new fetched message got count in admin stats. But even here the GUI logged in a archive@piler.mydomain.com is still empty.

– Edit 2

The problem seems to be sphinx. When I stop searchd reindex with indexer -all an restart sphinx some mails are visible (and when I do it again, some are gone) So it seems that sphinx is not constantly indexing new emails.

Another Problem is that the emails visible in the GUI are empty and only metadata provided by MySQL is visible. Also the error “message failed verification” is displayed.

– Edit 3

Got Search working. Didn’t know that shpinx needs to “manuelly” index. Though it will do that in background. So I created a cronjob with

`usr/bin/reindex -a && /usr/bin/indexer --rotate --config /etc/piler/sphinx.conf --all`

That worked – without reindex -a some mails got lost.

The only problem now seems to be that the mails in GUI are not accessible.

Comments (6)

  1. Kevin Lieser reporter

    Got it working with

    $config['DECRYPT_BINARY'] = '/usr/bin/pilerget';
    $config['DECRYPT_ATTACHMENT_BINARY'] = '/usr/bin/pilerget';
    

    On my debian Buster system.

  2. Log in to comment