Full Fledged Interface for CSF

yeah the upgrade does not run this for you. Probably for the best as some people might have customizations that would get lost.

For anyone else who wants to rapidly do this post upgrade see the below link

Backup conf
cp /etc/csf/csf.conf /root/csf.conf

You could also use the below commands to modify the different things manually vs uninstalling.

Mv the default ssl keys out of the way and create the symlinks.
mv /etc/csf/ui/server.crt /etc/csf/ui/server.crt-bak; ln -s /usr/local/lscp/conf/cert.pem /etc/csf/ui/server.crt;
mv /etc/csf/ui/server.key /etc/csf/ui/server.key-bak; ln -s /usr/local/lscp/conf/key.pem /etc/csf/ui/server.key;

Specify your username and password in the below you want it to use
sed -i ‘s/^UI_USER =./UI_USER = “username”/g’ /etc/csf/csf.conf
sed -i 's/^UI_PASS =.
/UI_PASS = “password”/g’ /etc/csf/csf.conf

Enable UI UI port and disable
sed -i ‘s/^UI =./UI = “1”/g’ /etc/csf/csf.conf
sed -i 's/^UI_PORT =.
/UI_PORT = “1025”/g’ /etc/csf/csf.conf
sed -i ‘s/^UI_ALLOW =.*/UI_ALLOW = “0”/g’ /etc/csf/csf.conf

To restart both lfd/csf via -ra aka --restart-all
csf -ra