Nextcloud 14 upgrade follow up warnings


  • Service Provider

    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.

    0_1537035622630_56189225-10a6-4e6e-854c-d79db10311ef-image.png

    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.


  • Service Provider

    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 calling php as the webserver user, in the case of Fedora/RHEL, that is as apache.

    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.
    

  • Service Provider

    Just did this too, only took a second.



  • Is this necessary when doing a new install too?


  • Service Provider

    @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.