Nextcloud 14 upgrade follow up warnings
-
I upgraded to Nextcloud 14 this past mondya, had no erros and moved on.
Well today I went into the settings to get a screenshot of soemthign for another rthread and I see this.
WTF
I mean great, you didn't run some intense indexing on my database without asking.
But, why the fuck was this not noted on the upgrade screen?
@jospoortvliet, if this is important, then you need to tell us. Do not rely on us randomly wandering into the settings. -
To make the warning go away, simply log in to your Nextcloud instance and run the occ command noted in the warning.
Note for those new, you always run
occ
commands by callingphp
as the webserver user, in the case of Fedora/RHEL, that is asapache
.cd /var/www/html/nextcloud/ sudo -u apache php occ db:add-missing-indices
You should see this result.
Check indices of the share table. Adding additional share_with index to the share table, this can take some time... Share table updated successfully. Adding additional parent index to the share table, this can take some time... Share table updated successfully. Adding additional mtime index to the filecache table, this can take some time... Filecache table updated successfully.
If it has already been ran, you will see this.
Check indices of the share table. Done.
-
Just did this too, only took a second.
-
Is this necessary when doing a new install too?
-
@black3dynamite said in Nextcloud 14 upgrade follow up warnings:
Is this necessary when doing a new install too?
Based on the message, I would assume no. But I have not installed a new 14 instance.