Technical Anshu
Tutorials Blog
Nextcloud Warnings

Nextcloud Security and Setup Warnings Explained and Fixed One by One

Settings says there are problems with your installation. That yellow list is a checklist written by the server itself - here is what each common line means and the exact command that clears it.

By Technical AnshuUbuntu ServerSelf Hosted9 minute read
Watch the full video - the one-step Nextcloud install on Ubuntu, step by step

Open Settings - Overview on a fresh install and Nextcloud greets you with a list of security and setup warnings. New admins read it as an error; it is actually the server's own to-do list, and most lines clear with one command through the snap's occ tool, sudo nextcloud.occ. Work through them in the order below. A warning is not the server failing - it is the server asking for a finishing touch, and an empty list is a genuinely well-kept install.

Settings - Overview - a typical warnings list
Database is missing some indexesFIX BELOW
No default phone region setFIX BELOW
No maintenance window setFIX BELOW
Email server not configuredFIX BELOW
Memory cacheSNAP HANDLES IT
Example list in the style of the real panel - your exact lines vary with version
1

The Database Pair - Missing Indexes and Big Numbers

Two related lines appear as an install ages and are normally fixed together:

  1. Your database is missing some indexes - run sudo nextcloud.occ db:add-missing-indices. It can take a while on a big install; let it finish
  2. Some columns in the database are missing a conversion to big int - the fix is offered by occ as sudo nextcloud.occ db:convert-filecache-bigint, best run while users are quiet. On current versions this one is largely historical

Both are housekeeping, not damage - the database grew features faster than the tables did, and these commands bring them up to date.

2

Phone Region and the Maintenance Window

Two one-line settings clear two stubborn warnings:

3

PHP Memory Limit

If the panel says the PHP memory limit is below the recommended 512 MB, the snap answers with its own style of setting instead of a php.ini edit:

  1. sudo snap set nextcloud php.memory-limit=512M
  2. sudo snap restart nextcloud

The snap pre-tunes most PHP settings including the OPcache, so warnings in that family are rare on this route - if one appears right after a big update, a snap restart clears it more often than any edit does.

4

Email Server Not Configured

This warning is about reachability, not storage: without an email server, Nextcloud cannot send password-reset mails, share notifications or activity summaries. Configure it in Settings - Basic settings - Email server with your mail provider's SMTP details and send the test email the page offers. A home server with no outside users can honestly leave this one - but the day someone forgets a password with no admin nearby, you will wish you had not.

5

The Ones the Snap Already Handles

General Nextcloud advice warns about things this install route settles for you, which is worth knowing so you do not fix what is not broken:

After each fix, reload the Overview page - the list re-checks itself, and watching lines disappear is the proof the commands landed.

🔴 How to read the panel: warnings are a checklist, not a verdict. Clear them at leisure, in order, and re-check after updates - new versions occasionally add a new line with a new one-command fix. A server with an empty warnings list and a tested backup is a finished install.

Watch the Install, Then Clear Its Warnings

The one-step install in the video, then this list - the complete finishing routine.

Watch Full Video
Frequently Asked Questions

Are these warnings dangerous to ignore?

Most are optimisation and hardening notices, not holes - the server runs fine with them present. Treat them as a quality checklist: fix them in a quiet half hour, and prioritise anything the panel itself words as a security item.

A warning came back after I fixed it. Why?

Usually one of two reasons: the fix needs a restart to register (restart the snap and reload the page), or a version upgrade reintroduced the item with a fresh fix. Re-run the matching occ command - they are safe to repeat.

Do I need Redis to clear the cache warning?

Not at home or small-office scale. The snap's built-in local cache is the standard configuration for installs of this size; Redis enters the picture on large multi-server deployments.

This guide is based on the Technical Anshu Nextcloud install video - stuck on a step? Ask in the video comments and you will get a reply.