Create missing indexes in the Nextcloud database

Execute the following command on the console in the directory of the Nextcloud: 

sudo -u www-data php occ db:add-missing-indices