Since recent console.php refactoring the --site parameter is no longer respected in (for instance) the database:update command.
When running php console.php --site=example.com database:update
the code in \Installer::buildPatchList
builds the patch list from the default db/local.php database, not the db/example.com/local.php.
I think related to this, even once i've done the database:update in the browser, i cannot rebuild the index, when i do:
php console.php --site=example.com index:rebuild
i get
Command not available at this stage.
The database needs to be updated. Solved by: php console.php database:update
I think this commit was the source of the regression and i'm afraid i can't fix it 2ee93280
I think \Tiki\Command\Application::getDefaultInputDefinition
needs to be called before tiki-setup.php is included
Thanks Brendan for cadead9b , it seems to work for me, @lindon, can you check too then we close this one?
Use the browser tiki-install.php instead
However, this then means you cannot clear the caches of rebuild the index...
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |