zammad / zammad-docker-compose

Zammad Docker images for docker-compose
https://hub.docker.com/r/zammad/zammad-docker-compose/
GNU Affero General Public License v3.0
273 stars 223 forks source link

Fresh install SearchIndexAssocJob stuck #420

Closed tarreislam closed 4 months ago

tarreislam commented 4 months ago

Infos

Expected behavior

Actual behavior

{
"healthy": false,
"message": "Stuck data privacy task (ID 2) detected. Last update: 2024-05-14 10:17:08 UTC;emails that could not be processed: 18;Failed to run background job #1 'SearchIndexAssociationsJob' 1 time(s) with 17 attempt(s).",
"issues": [
"Stuck data privacy task (ID 2) detected. Last update: 2024-05-14 10:17:08 UTC",
"emails that could not be processed: 18",
"Failed to run background job #1 'SearchIndexAssociationsJob' 1 time(s) with 17 attempt(s)."
],
"actions": []
}

Steps to reproduce the behavior

  1. Install fresh 6.3.1 via docker-compose
  2. Add imap mail
  3. Wait a couple of days/weeks
  4. Bad health and earchindex failed
mgruner commented 4 months ago

Can you please provide relevant error logs of the scheduler and elasticsearch containers?

Did you correctly configure elasticsearch as described in https://docs.zammad.org/en/latest/install/docker-compose.html#step-2-setting-vm-max-map-count-for-elasticsearch?

tarreislam commented 4 months ago

Deleting the stuck data privacy tasks worked.

Running rake tasks to refresh indexes and process inboxes worked.

I did not correctnly configure elasticsearch, I will do that now :)

mgruner commented 4 months ago

Thanks for the update. I'll close this issue now.