Fix wo site update
This commit is contained in:
@@ -492,7 +492,7 @@ class WOSiteUpdateController(CementBaseController):
|
|||||||
data['wo_php'] = pargs_version
|
data['wo_php'] = pargs_version
|
||||||
Log.debug(self, f"data wo_php set to {pargs_version}")
|
Log.debug(self, f"data wo_php set to {pargs_version}")
|
||||||
check_php_version = version
|
check_php_version = version
|
||||||
Log.debug(self, f"check_php_versions et to {version}")
|
Log.debug(self, f"check_php_versions set to {version}")
|
||||||
break
|
break
|
||||||
|
|
||||||
if pargs.hsts:
|
if pargs.hsts:
|
||||||
@@ -524,7 +524,6 @@ class WOSiteUpdateController(CementBaseController):
|
|||||||
Log.debug(self, str(e))
|
Log.debug(self, str(e))
|
||||||
Log.info(self, Log.FAIL + "Check the log for details: "
|
Log.info(self, Log.FAIL + "Check the log for details: "
|
||||||
"`tail /var/log/wo/wordops.log` and please try again")
|
"`tail /var/log/wo/wordops.log` and please try again")
|
||||||
return 1
|
|
||||||
|
|
||||||
# setup NGINX configuration, and webroot
|
# setup NGINX configuration, and webroot
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user