A bit of late answer, but did some testing on upgrade. Needed steps are bellow, but of course every system is a bit different so remember backups and don't just blindly copy&paste.
1) Upgrade your Debian (change /etc/apt/sources.list from jessie to stretch and run apt-get update && apt-get upgrade && apt-get dist-upgrade) and reboot
2) Change you license from Jessie to Stretch
3) Update Directadmin manually:
https://help.directadmin.com/item.php?id=29
4) Rebuild everything.
Code:
bash /usr/local/directadmin/custombuild/build update
bash /usr/local/directadmin/custombuild/build all y
I found following problems when using Debian 9, adjust for your needs before building everything
Clamav does not support openssl 1.1. Using beta client is easiest option at this moment.
Code:
cd /usr/local/directadmin/custombuild
wget https://www.clamav.net/downloads/beta/clamav-0.99.3-beta2.tar.gz -O clamav-0.99.3-beta2.tar.gz
echo "clamav:0.99.3-beta2:0148b11269137e6ff794f880cc8b70fa" >> ./custom_versions.txt
Apache mod_ruid2 causing segmentation fault if enabled. Check from /usr/local/directadmin/custombuild/options.conf that it's disabled (mod_ruid2=no). Note! If you are using mod_php then you need to change to php-fpm. This might causing breakage of sites if customers has set something like php_value in their htaccess.
https://help.directadmin.com/item.php?id=459
MySQL Socket location changed. My solution was to change compile parameter to php options
Code:
cp -a /usr/local/directadmin/custombuild/configure/fpm/configure.php70 /usr/local/directadmin/custombuild/custom/fpm/configure.php70
nano /usr/local/directadmin/custombuild/custom/fpm/configure.php70
Change --with-mysql-sock=/var/lib/mysql/mysql.sock to point correct location (in our case --with-mysql-sock=/home/mysql/mysql.sock)
Spamassasin needed some extra modules:
Code:
cpan -i Net::DNS NetAddr::IP Digest::SHA1 Mail::SPF Geo::IP Net::CIDR::Lite Razor2 IO::Socket::INET6 Mail::DKIM DBI Encode::Detect::Detector Net::Patricia Net::DNS::Nameserver
HTTP2 Debian 9 has native support for HTTP/2 thou in our case it was needed to enable manually:
Code:
echo "http2=1" >> /usr/local/directadmin/conf/directadmin.conf