Update.php launch via cli

  • dev sfp
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 1 day ago #117196 by dev sfp
Update.php launch via cli was created by dev sfp
Hi Tuan,

We have a problem with the post install running via web client (redirect to index.php?option=com_eventbooking&task=update.update&install_type=update).

We are using CLI to update our components via Jinstaller (on 20 sites).
In this configuration, update.php is not called.

Is it possible to have post intall if using CLI?

Regards,

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #117212 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Update.php launch via cli
Hi

Unfortunately, it's not possible at the moment. Since we still support updating directly from Events Booking 1.x to latest version, there are many process needed in the update process

I am worry that if we do all these tasks in one process, it will be timed out. That's why I have to move post install to a separate process option=com_eventbooking&task=update.update&install_type=update

I am thinking of stopping support update directly from 1.x to latest version, and we can make the update works in one process like all other Joomla extensions and it will be possible to update via CLI

I will let you know when I do that. But for now, it's not safe to update via CLI (somehow, you will need to run update method in update controller to have the process fully processed)

Tuan

Please Log in or Create an account to join the conversation.

  • dev sfp
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 1 day ago - 1 week 1 day ago #117217 by dev sfp
Replied by dev sfp on topic Update.php launch via cli
Thanks for your answer.

Glad to read that you keep it in mind ;-)

This would be greatly appreciated.

Regards.
Last edit: 1 week 1 day ago by dev sfp. Reason: Typo

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc