Open ferdiga opened 4 months ago
Is this a new or upgraded Installation?
new AIO - it comes without enabled mail - and I enabled it
I have the same problem
Just add your +1
the same problem, but i delete table oc_mail_messages all index(except primary key); then try occ db:add-missing-indices,
no error but still get the info "Missing optional index "mail_messages_mb_id_uid_uidx" in table "mail_messages"."
and i try to find out added index, but nothing
I have the same issue on a bare metal install of Nextcloud on a TrueNAS Core/FreeBSD jail using version 29.0.4. Nextcloud shows the message 'Missing optional index "mail_messages_mb_id_uid_uidx" in table "mail_messages"'
, which persists even after executing occ db:add-missing-indices
.
+1
nextcloud/server#48148 looks similar.
It's still happening after upgrading to 30.0.1
Detected some missing optional indices. Occasionally new indices are added (by Nextcloud or installed applications) to improve database performance. Adding indices can sometimes take awhile and temporarily hurt performance so this is not done automatically during upgrades. Once the indices are added, queries to those tables should be faster. Use the command `occ db:add-missing-indices` to add them. Missing indices: "mail_messages_mb_id_uid_uidx" in table "mail_messages", "mail_smime_certs_uid_email_idx" in table "mail_smime_certificates", "mail_trusted_senders_idx" in table "mail_trusted_senders", "mail_coll_idx" in table "mail_coll_addresses"
All plugins are up to date and I've tried to run sudo -u www-data php -d memory_limit=512M occ db:add-missing-indices
multiple times, but the warning doesn't go away.
I've checked the mail plugin and I'm still able to send and receive email, so it doesn't seem to hurt basic functionality there.
Steps to reproduce
Expected behavior
all indices should be created
Actual behavior
missing indices
Mail app version
3.7.2
Mailserver or service
No response
Operating system
AWS ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
PostgreSQL
Additional info
No response