I upgraded a Tiki from 24 to 25 after completing the installation I landed on the homepage with errors displayed :
Field searchable does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field_searchable.
And many No results for query.
While this is normal, as I didn't ran the index:rebuild command, this is not very elegant and can be improved;
First, in such case a message with a link should be displayed about completing an action and not a page full of errors as that doesn't look good.
When the unified-index doesn't exist a modal warning over the page "Tiki detected that..." with an invitation to action "for your Tiki to work properly you must run rebuild command". If you have a small database you can run it from here else please use console.php.
A option to close the modal (admin choice to continue) and display the page.
Ideally the installer should automatically do such operation.
One difficulty is that we don't want run from the HTML the index:rebuild command to run on a large database as there are chances of timeout.
Tiki could suggest at the end of the installation process;
"You upgraded, before entering your new/upgraded Tiki you must run the index:rebuild command"
If possible a database size detection and offering suggestion;
"The Tiki installer script detected that your database size is: nnn"
We recommend:
If the database size detection is not possible or too complicate (it may depend of server OS ?) we can simply give recommendation and offer to run the command for the user or suggest him to do it using console.php.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |