Ubuntu 20.04: SSO, pilerpurge.py

Issue #1068 closed
alu-one created an issue

Hi,

during installing a new Ubuntu 20.04 distribution with piler, I encountered some small issues:

  • libapache2-mod-auth-ntlm-winbind (needed for SSO) is not available via apt any more. I had to copy the module from the previous 18.04 system (/usr/lib/apache2/modules/mod_auth_ntlm_winbind.so).
  • pilerpurge.py does not run because you need Python 2 with mysql-python. Python 2 seems to be deprecated, pip has to be installed manually, “pip install mysql-python” fails afterwards with some errors, I guess regarding MariaDB; mariadb_config has to be linked to mysql_config, then pip package install fails again because of a missing “reconnect” method. I gave up here, hoping pilerpurge.py is not necessarily needed if I don’t need retention rules.

It would be great if you could find some improvements or workarounds for this in the future.

Thank you, best regards

Comments (5)

  1. Janos SUTO repo owner

    Well, ubuntu 20.04 is not supported yet. Anyway, I’m not sure how I could provide a better workaround than what you did. Also pilerpurge.py has already switched to python3 recently. Though you are right, you don't need it if you don’t want to purge any emails.

  2. Ryan Blenis

    FYI @alu-one I just installed piler 1.3.8 on Ubuntu 20.04 and it’s running fine.

    For mariadb_config, just apt install libmariadbclient-dev (IIRC, I believe that’s the one)

    No issues running pilerpurge.py here (though looking in apt I have python3 and python2 installed). I don’t have pip installed either, so I didn’t try the pip package, but it is not needed.

  3. Janos SUTO repo owner

    Just upgraded my ci/cd pipeline to support Ubuntu 20.04 (and dropped 16.04), and it seems to work properly.

  4. Log in to comment