mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Improve install process (#7223)
Fix incorrectly updating session with build-ok before start of schema update Set a timeout for progress on the schema build 40s (lock wait time is 30s, so must be more than that). Allow the user to restart the process if this timeout is reached. Animate the progress bar while waiting for the schema update. Stop animation on failure or success. Properly destroy the session after install. This allows the user to restart if they need to without any tricks. Move next step buttons to the right.
This commit is contained in:
committed by
Neil Lathwood
parent
38cf424417
commit
96cc9bfaa0
@@ -14,7 +14,6 @@
|
||||
|
||||
session_start();
|
||||
if (isset($_SESSION['stage']) && $_SESSION['stage'] == 2) {
|
||||
$_SESSION['build-ok'] = true;
|
||||
$init_modules = array('web', 'nodb');
|
||||
require realpath(__DIR__ . '/..') . '/includes/init.php';
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user