E-Mail not shown on gui

Issue #847 closed
Hannes created an issue

Hello,

after the cron jobs startet, the e-mails will not shown any longer on the gui. If I start reindex -a on the console the email will shown again. Have you any ideas how to fix the problem?

Comments (14)

  1. Janos SUTO repo owner

    You didn't describe your environment. What piler version, what OS, what distribution, what release, what sphinx version, etc.

  2. Janos SUTO repo owner

    Something must have destroyed your index files. One thing is for sure: it's not any of the indexer jobs. So figure out what updates the piler index files in /var/piler/sphinx.

    Update: Also, I'd like to see the permissions on both /var/piler/sphinx directory and the files inside.

  3. Hannes reporter
      Size: 200         Blocks: 8          IO Block: 4096   regular file
    Device: 802h/2050d  Inode: 2234675     Links: 1
    Access: (0644/-rw-r--r--)  Uid: ( 1000/   piler)   Gid: ( 1000/   piler)
    Access: 2017-10-03 19:30:01.685477319 +0200
    Modify: 2017-10-03 19:30:01.661477105 +0200
    Change: 2017-10-03 19:30:01.689477354 +0200
     Birth: -
    
    
    
    
    
    permissions:
    file: -rw-r--r-- 1 piler piler  288 Oct  3 19:35 att1.spa
    directory: drwxrwxr-x 2 piler piler 12288 Oct  3 19:45 sphinx
    
  4. Janos SUTO repo owner

    Please format the output using bitbucket's icons. This just tortures my eyes. Anyway do you have 2 files in the directory? Btw. I asked for an ls -la /var/piler/sphinx output.

  5. Janos SUTO repo owner

    Thanks! I can see that you have a few emails archived, and it survived at least one day. I recommend you to add more emails to the archive, let the indexer jobs from piler's crontab do the rest. Let's see the same ls output a day or two later.

  6. Janos SUTO repo owner

    Can you check the sphinx files and whether they still have index data for the older emails?

  7. Janos SUTO repo owner

    Something must running indexer --all which basically resets the index files. You have to find it, and kill it.

  8. Janos SUTO repo owner

    Check out all the cron jobs, also you may set up process accounting to see all the commands run on your node.

    Also be sure that /usr/local/etc/piler/sphinx.conf is NOT linked to /etc/sphinxsearch/sphinx.conf, and /etc/default/sphinxsearch has

    START=no
    
  9. Log in to comment