How to run 'occ' docker commands in Scale + Nextcloud

cdog89

Explorer
Joined
Jan 19, 2024
Messages
75
Hi. My apologies in advance for the noobie question. I've researched this, really, but can't find the answer. I have an error that is displayed in my nextcloud admin settings: 'Some indices are missing in the database. Because adding indexes to large tables may take some time, they have not been added automatically. By executing “occ db: add-missing-indices”, ...'.

I have tried shell into various containers and the main Scale shell, but I can't figure out how to execute this command within the proper NC container. If anyone can give me some guidance, I would be very appreciative.

Thanks!

Update: Found the answer here - Post in thread 'How to run console OCC Nextcloud command in TrueNAS Scale' https://www.truenas.com/community/t...d-command-in-truenas-scale.104409/post-811310
 
Last edited:
Top