diff --git a/install/install.py b/install/install.py index 4d41201e0..3f5618309 100755 --- a/install/install.py +++ b/install/install.py @@ -2361,6 +2361,10 @@ def main(): checks.setupPort() checks.setupPythonWSGI() checks.setupLSCPDDaemon() + + if args.redis != None: + checks.installRedis() + checks.fixCyberPanelPermissions() if args.postfix != None: @@ -2381,9 +2385,6 @@ def main(): preFlightsChecks.stdOut("Pure-FTPD will be installed and enabled.") checks.enableDisableFTP('on', distro) - if args.redis != None: - checks.installRedis() - checks.installCLScripts() logging.InstallLog.writeToFile("CyberPanel installation successfully completed!")