Help me understand ispconfig / pureftp users

Discussion in 'Installation/Configuration' started by Doug Porter, Dec 12, 2015.

  1. Doug Porter

    Doug Porter New Member

    I'm having trouble getting pure-ftpd-mysql to work. I have many ftp users setup in ispconfig (has worked for years). Recently upgraded everything on my server.
    So, if I manually add a user to the pureftpd.ftpd table, then it works and I can login.
    But there are no users added to that table automatically.
    Settings from /etc/pure-ftpd/conf that seem possibly relevant:
    Code:
    BrokenClientsCompatibility: Yes
    ChrootEveryone: Yes
    CreateHomeDir: Yes
    DisplayDotFiles: Yes
    DontResolve: Yes
    FSCharset: UTF-8
    MinUID: 33
    MySQLConfigFile: /etc/pure-ftpd/db/mysql.conf
    NoAnonymous: Yes
    PAMAuthentication: no
    PureDB: /etc/pure-ftpd/pureftpd.pdb
    TLS: 2
    UnixAuthentication: yes
    VerboseLog: yes
    
    --------------------------
    I notice that there is no /etc/pureftpd.pdb file, though it's specified in the config file PureDB.
    So where does ispconfig setup users for pureftp?
     
    Last edited: Dec 12, 2015
  2. webguyz

    webguyz Active Member HowtoForge Supporter

    Uses Mysql. Look in dbispconfig -> ftp_user
     
  3. Doug Porter

    Doug Porter New Member

    Ahhhh. I had it setup using the pureftp database. Changed to dbispconfig, rewrote sql queries for mysql.conf, and it works.
    Can't believe that didn't occur to me to check.
    Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally you do not have to setup config files for pure-ftpd manually, that's all setup by the ispconfig install.php script and in case that you accidently removed config files, then all you have to do is to run update.php in the ispconfig install folder and let ISPConfig reconfigure the services.
     
  5. Doug Porter

    Doug Porter New Member

    Thanks, Till, I appreciate the help.
    In my case, I accidentally removed the pure-ftp-mysql package so reinstalled it, but didn't occur to me to run update.php.
     

Share This Page