CSF installation errors

Today, I had a displeasure of encountering errors while installing CSF on an Ubuntu 18.04 VPS. I get 2 “chcon invalid context” lines, which I never saw until now. I also get “no such file in directory” error, which is simply not true. What to do here?!