Interface on multiserver-node necessary

Discussion in 'General' started by cfoe, Jun 18, 2012.

  1. cfoe

    cfoe ISPConfig Developer ISPConfig Developer

    Hi guys,

    it might be a stupid question but here it is:

    Is "/usr/local/ispconfig/interface" even necessary on a node in a multiserver installation?
    To my understanding I can delete it on all machines but the one the frontend is running on.
    I like minimize the file count in my backups by identifying all unnecessary files :D
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    I don't think so ;)
    The directory contains the scripts called by the ispc cronjob to create all the server-related stuff like vhosts.
    The master just promotes the needed database entries to the nodes, but it cannot create anything that needs root access.
     
  3. cfoe

    cfoe ISPConfig Developer ISPConfig Developer

    I think you are right. Only "/usr/local/ispconfig/interface/web" might be unnecessary on the nodes.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can delete the whole /usr/local/ispconfig/interface directory, it does not contain any files used by the server part or cronjobs.

    ISPConfig consists of 2 independant parts:

    /usr/local/ispconfig/interface

    which conatins the interface and

    /usr/local/ispconfig/server

    which contains the server scripts. Server and interface do not share any files. The interface part is basically a normal website and runs even on a php enabled windows server.
     
    Last edited: Jun 18, 2012
  5. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    If you select not to install the interface on a multiserver node - is the interface directory copied anyway?
     
  6. cfoe

    cfoe ISPConfig Developer ISPConfig Developer

    I think it is. at least on my nodes the directory is present
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the installer copies alsways all files, but the interface is not configured or enabled in apache / nginx.
     
  8. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Ok, so is there a reason that those files are installed, too? Or is it just because it's easier to copy the whole ispc directory?
     

Share This Page