This is an example of a HTML caption with a link.
:::

Nextcloud 設定

improve oc_****
run 
a2enmod headers

High performance server for talk installation refer this:


偵測到一些缺少的選擇性索引。有時會新增索引以改善資料庫效能(由 Nextcloud 或安裝的應用程式)。新增索引可能需要一點時間,並會暫時降低效能,因此不會在升級期間自動完成。新增索引後,對這些資料表的查詢應該會更快。使用命令 `occ db:add-missing-indices` 以新增它們。缺少索引: 「mail_messages_strucanalyz_idx」在資料表「mail_messages」中, 「mail_class_creat_idx」在資料表「mail_classifiers」中, 「mail_acc_prov_idx」在資料表「mail_accounts」中, 「mail_alias_accid_idx」在資料表「mail_aliases」中, 「systag_by_objectid」在資料表「systemtag_object_mapping」中, 「mail_messages_mb_id_uid_uidx」在資料表「mail_messages」中, 「mail_smime_certs_uid_email_idx」在資料表「mail_smime_certificates」中, 「mail_trusted_senders_idx」在資料表「mail_trusted_senders」中, 「mail_coll_idx」在資料表「mail_coll_addresses」中.


Go to the NextCloud folder:

cd /var/www/nextcloud

Run the following command:

sudo -u www-data php occ db:add-missing-indices
sudo -u www-data occ maintenance:repair --include-expensive