How to resolve setup warnings in Nextcloud snap
See FAQ’s
Nextcloud snap shows security & setup warnings. What can I do?
“Imagick PHP module is not enabled”
This warning is only a suggestion. The “theming app” uses Imagick to generate favicons. The theming app works fine without the Imagick PHP module enabled, but this may differ from system to system.
NOTE
You will have to live with that warning… Nextcloud snap does not ship the Imagick PHP module!
CAUTION
Imagick is a security concern, and as such isn’t enabled on purpose! You see this warning because the theming app uses Imagick to generate favicons. As a result, that particular feature (favicon generation) isn’t possible while using the snap.
“No High-performance backend configured” warning:
disable setup warning in Administration settings → Talk → disable warning
Add missing indeces warning is displayed, how can I add missing indeces to the database?
The Nextcloud snap “fixer” service nextcloud-fixer
handles these missing indices for you. Be patient this may take a couple of minutes depending on your architecture.
If you’re impatient you can add missing indices manually:
sudo nextcloud.occ db:add-missing-indices
“One or more mimetype migrations are available…” warning is displayed, what can I do?
After automatic upgrade the following upstream warning may be displayed; One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades.
which can be resolved by issuing command:
sudo nextcloud.occ maintenance:repair --include-expensive
IMPORTANT
The following mimetype migrations may take a while depending on system resources, so be patient!
Incorrect version displayed on Nextcloud security scan
If you have previously scanned your domain or subdomain via that scan page, it shows cached data from previous scan by default. There is a button called trigger re-scan → Try hitting that button, then wait for 5 minutes to revisit that scan page to query your domain or subdomain.