@jasonblais Thank you for the suggestion. I have checked the config and there are no null values - everything is either set or "".
I have now tried this on both Amazon Lightsail and cloudron.me Digital Ocean hosting and I get the same result so I am starting to think it's an issue in the way Cloudron deploys Mattermost.