I recently built an instance of NCP. The current NCP version is 1.5.1. The current version of NC is 15.0.2. I would like to run occ based on the below text. However, I’m told on the NC settings page overview the below text. When I SSH into the unit and o to /var/www/nextcloud/, I’m told it can’t be run. What would the proper location be to follow the recommendations? Thank you very much for the assistance.
Security & setup warnings
It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.
There are some warnings regarding your setup.
The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.
Missing index "owner_index" in table "oc_share".
Missing index "initiator_index" in table "oc_share".
This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running 'occ db:convert-filecache-bigint' those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this.
The "Referrer-Policy" HTTP header is not set to "no-referrer", "no-referrer-when-downgrade", "strict-origin", "strict-origin-when-cross-origin" or "same-origin". This can leak referer information. See the W3C Recommendation ↗.
Please double check the installation guides , and check for any errors or warnings in the log.
Check the security of your Nextcloud over our security scan .