Topic: Spiderd ERROR [FTS] Failed in querying latest messages
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi everyone,
I'm testing Spiderd and like it so far. There's only one crucial issue I hope to get help with. Once Spiderd is installed and initial import if finished, I can't login with Auditor.
The web browser says "Too many redirects".
In spiderd.log i see lots of messages like this:
ERROR [FTS] Failed in querying latest messages: json: cannot unmarshal array into Go struct field ResultMessage.Headers.To of type string
Nothing interesting in http.log:
302 GET /search 84.81223ms
302 GET / 2.099198ms
302 GET /search 79.997697ms
302 GET / 1.910297ms
302 GET /search 76.558264ms
302 GET / 1.93845ms
I'm importing 2 mailboxes with ~180000 messages. Import goes normal, no issues.
This happens only with users with Auditor role. Admin users work fine. I can login with auditor user before I do the import, so it seems the issue is specifically with showing messages list / data.
Would appreciate any help with this.
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.