Here's a new issue though. Now every time the server is started, it starts converting settings.ini to have DOS style carriage return new lines, and I see ^M at the end of each line, which sometimes confuses text editors in Linux.
Thank you for the URL!

That is, for some reason, intentional. The INI-file library we're using does that on purpose, although I cannot remember the reason they declared.