New install File Server monitor incorrect
short description
On a new install, the $conf['services']['file'] variable may be set incorrectly.
- the variable is initially set using
dist/conf/*.conf.php(current line 143) - then the variable is set to
falsea little later ininstall.php(current line 251) - when
apacheis selected for theweb_server, the variable is set totruewithout checking for the presence ofpure-ftpd(current line 312) - when
nginxis selected for theweb_server, the variable is not changed at all, so will remainfalseeven ifpure-ftpdis installed and working (current line 314) - In either case, the Monitor File Server status may be incorrect; a manual setting is required to correct the monitor process
correct behaviour
-
$conf['services']['file']should be set totruewhenpure-ftpdis present andfalsewhen it is not regardless of whichweb_serveris selected -
$conf['services']['file']should be set totruewhenpure-ftpdis forced to be configured during theexpertconfiguration to serve as a reminder to the sysadmin to see that it gets installed correctly
environment
ISPConfig version: Since 3.1
proposed fix
see: !1320 (closed)
references
https://www.howtoforge.com/community/threads/running-ispconfig-without-installed-ftp-server.81264/
Edited by Jon Reese