セキュリティ&セットアップ警告 nextcloudメモ2

サーバーのセキュリティとパフォーマンスにとって重要なことは、すべてが正確に設定されていることです。あなたの助けとなるよう、Nextcloudでは一部の自動チェックを行っています。詳細な情報は、リンク先のドキュメントを参照してください。
セットアップに関して警告がいくつかあります。

indexなしにindexを付けてデータベースアクセスを早くする
$ sudo -u www-data php /var/www/*********/*******/occ db:add-missing-indice
s

[sudo] ******のパスワード:
Check indices of the share table.
Check indices of the filecache table.
Adding additional parent index to the filecache table, this can take some time…
Filecache table updated successfully.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_preferences table.
Check indices of the oc_mounts table.
等々Version up 時にはindexが失われるようなので再度実行を要した

config.php修正
メモリキャシュの追加
‘memcache.local’ => ‘\\OC\\Memcache\APCu’,   \\の表示に注意

メモリキャッシングで APCu の使用を設定している場合、「コマンドラインからのPHP実行時にAPCuを有効にする」という設定が必須。
/etc/php/バージョン番号/cli/php.ini の末尾に、
apc.enable_cli=1を追記。

Nextcloud管理画面で「● 最終ジョブ実行は xx時間前 です。何か問題が発生しています。」という警告が表示されて、Cronジョブが上手く動いていないような場合は、これをチェック。

ブルート フォース保護がトリガーされると、ブルート フォースで保護されたエントリポイントを介して IP アドレスから送信されるリクエストが最大 24 時間遅くなります。極端な状況では、問題のある IP アドレスからのアクセスが最大 30 分間完全に阻止される場合があります。検証作業途中のトリガーや問題なしと判断された場合には、以下の対処で手動リセット

sudo -u www-data php occ security:bruteforce:reset IPaddress