You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
robocoder opened this issue
Mar 18, 2010
· 5 comments
Assignees
Labels
BugFor errors / faults / flaws / inconsistencies etc.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
failing because users lack sufficient mysql privileges
Pseudo-code:
pre-flight checklist (useful at time of installation too)
if not php cli mode
ignore_user_abort
disable max_execution_time
if exec() is not disabled
exec('nohup php index.php >/dev/null 2>/dev/null &') // run the update in the background
redirect to tmp/latest/progress.html // a static file that is overwritten by the updater
else
run updater // for each update, echo 'something' to the client and flush output buffers to (try) keep connection alive
else
run updater // foreach update, write to progress.html
Anthon, we've made some good improvements to the update screen in 0.5.5 and users have not had issues it seems. I'd like to move this to post 1.0 - thoughts?
My suggestion would be to be to show the report only if there are errors (not warnings, as warnings could have been shown during the install too and would be the same). The exception being the file integrity warnings that we already display.
That said, I think this would be a must do only if we happen the change the requirements (that would trigger an "error") for Piwik before 1.0.
I just tested piwik upgrade on a 10Gb piwik_log_* DB and the shell option worked like a charm. I don't think there would be users without shell option and with a very large DB that would cause problem in the UI.
BugFor errors / faults / flaws / inconsistencies etc.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
Pain points:
Pseudo-code:
See also #910
The text was updated successfully, but these errors were encountered: