Debian stretch Pureftp + newer MariaDB fixes

Discussion in 'Tips/Tricks/Mods' started by, Jul 16, 2018.

  1. ISPConfig Developer ISPConfig Developer

    Howto setup newer Mariadb is covered here:

    If you install newer MariaDB-Server on your stretch box because the new features are overwhelming... keep in mind that if you need
    PureFtp with mysql-extension ( like ISPConfig needs ) there has been a change in the libraries ( long story exists ) which are not backported to old Debian release...

    Error is like
    you need to recompile PureFtp against the new library to get full support for mariadb:
    apt-get install devscripts
    mkdir /usr/src/pure-ftpd
    cd /usr/src/pure-ftpd
    apt-get source pure-ftpd
    apt-get build-dep pure-ftpd
    cd pure-ftpd-1.0.43/
    now edit the changelog, or else apt will update to the "previous" version. Use
    dch -i
    It could look like:
    dpkg-buildpackage -uc -b
    cd ..
    dpkg -i pure-ftpd-mysql_1.0.43-3.1_amd64.deb pure-ftpd-common_1.0.43-3.1_all.deb
    systemctl restart pure-ftpd-mysql.service
    And it starts again :)

    it should not touch the settings in /etc/default/pure-ftpd-common
    Last edited: Jul 18, 2018
  2. ISPConfig Developer ISPConfig Developer

    *editbump: need devscripts, bump version so apt won't bug you with outstanding update, keep an eye on your versions
  3. ISPConfig Developer ISPConfig Developer

  4. ISPConfig Developer ISPConfig Developer

    you forgot to run
    service mysql restart

Share This Page