fix(update): v2.7.1 avoid transient Nginx 502 error during 1-click web update
This commit is contained in:
1 parent
64b8339d14
commit
5cb3900c67
4 files changed
+59
-31
No files matched your search
@@ -2621,6 +2621,7 @@ try {
|
||||
break;
|
||||
|
||||
case 'run_update':
|
||||
@set_time_limit(300);
|
||||
$output = [];
|
||||
$code = 0;
|
||||
exec("sudo /var/www/nexus-pbx/scripts/update.sh 2>&1", $output, $code);
|
||||
|
||||
Reference in new issue
Block a user