Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer – run database build in separate steps #10

Open
mbohal opened this issue Jul 31, 2018 · 0 comments
Open

Installer – run database build in separate steps #10

mbohal opened this issue Jul 31, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@mbohal
Copy link
Contributor

mbohal commented Jul 31, 2018

During installation and update process the db creation and migration tasks can take too long and then there can be PHP or webserver timeout.

The PHP timeout was hackishly solved by disabling it in the script, but there is no clean way to deal with the webserver timeout. The present situation therefore is that if the user disregards the webserver timeout and keeps on waiting, then the PHP script will likely eventually finish on the background and all will be OK. Of course the PHP script could be killed by the OS and the user has no way of knowing other then trying the installation out.

Ideally the db creation and migrations should be run in separate requests that will be triggered sequentially. JS could probably do this. Using JS would also make it reasonably easy to provide the user with a nice progress report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant