how to instal missing-index in nextcloud on truena scale

LDM

Cadet
Joined
Feb 24, 2024
Messages
7
Hi,
to begining I'm new on Truenas and I'm French so sorry if my Inglish isn't perfect.
I have install Nextcloud on my Truenas scale and when I go to the administrator pannel in overview I have the yellow pragraph who say I have missing index (like : " fs_storage_path_prefix " and "filecache" ) and to resolve it I need to execute "occ db:add-missing-indices" but when I run it in "Pod Shell" of the docker of nextcloud I have this answer "/bin/sh: 1: occ: not found". I have make some research and I have found this command "sudo -u www-data php occ db:add-missing-indices'" who should solve my problem but when I run it I have this answer"/bin/sh: 89: sudo: not found". I didn't know if I have fail anything or if my research aren't good so I came here sorry if the answer is very simple.

Warmly
 
Top