Any other suggestions? I’m stuck between a rock and a hard place. Had to enable to get the fts module working and now I can’t get rid of this problem.
Just seems like the user is not being passed to the query builder at some point. I’ve taken a look at code pertaining the metadata module and I can’t quite tell where it would be, though my skills are limited.
Regards, Elisamuel Resto
On Dec 1, 2021, at 7:01 AM, Elisamuel Resto sam@samresto.dev wrote:
Aki,
Since the original email, dicts are now on their own. For the metadata I have tried the two dicts (shared/$key, priv/$key), just the priv dict db schema with "pattern = $key" per one of your emails to the ML, and just the "priv/$key" pattern. All of those combinations produce the same issue. In summary, I've tried several things but result is still that I can create folders but deletion causes a panic.
As of last email sending the dict, here is what dovecot knows about the dicts: dict { quota_clone = mysql:/etc/dovecot/dovecot-quota-dict.conf.ext lastlogin = mysql:/etc/dovecot/dovecot-lastlogin-dict.conf.ext metadata = mysql:/etc/dovecot/dovecot-metadata-dict.conf.ext }
And the dovecot-metadata-dict.conf.ext: map { pattern = shared/$key table = metadata_shared username_field = username value_field = meta_value
fields { meta_key = $key }
}
map { pattern = priv/$key table = metadata_priv username_field = username value_field = meta_value
fields { meta_key = $key }
}
I've attached the current dovecot.conf.
-Sam
*From:* Aki Tuomi [mailto:aki.tuomi@open-xchange.com] *Sent:* Wednesday, December 1, 2021, 2:23 AM *To:* Elisamuel Resto; dovecot@dovecot.org *Subject:* imap_metadata plugin panic
It's probably not a good idea to put all the patterns in same dict. I would first try if it still happens if you make a dedicated mysql dict with only the metadata patterns.
Aki
On 22/11/2021 18:52 Elisamuel Resto sam@samresto.dev wrote:
Aki,
My apologies, I thought that it was included in the output of "dovecot -n". I don't have just one, but I concatenated them for ease. See attached.
Thanks! -Sam
*From:* Aki Tuomi [mailto:aki.tuomi@open-xchange.com] *Sent:* Monday, November 22, 2021, 5:13 AM *To:* dovecot@dovecot.org, Elisamuel Resto *Cc:* dovecot@ptld.com *Subject:* imap_metadata plugin panic
Hi, I wanted to see /etc/dovecot/dovecot-dict-sql.conf.ext
Aki
On 22 November 2021 11.08.01 UTC, Elisamuel Resto sam@samresto.dev wrote:
Aki, # 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.16 (09c29328) # OS: Linux 5.14.16-arch1-1 x86_64 ext4