Can anyone tell me why changing site_url in config_php from the server IP to the domain name doesn’t survive a server reboot.
If I don’t reboot the server it will stay as the domain name and all my links in emails will show the domain name and work outside the network. If I reboot the server the IP address is back in this line and the links show the IP address which won’t work for anyone outside the network.
The config_override.php doesn’t look to have anything in it that would revert the site_url back to the IP.
<?php
/***CONFIGURATOR***/
$sugar_config['default_module_favicon'] = false;
$sugar_config['dashlet_auto_refresh_min'] = '30';
$sugar_config['stack_trace_errors'] = false;
$sugar_config['developerMode'] = false;
$sugar_config['email_xss'] = 'YToxMzp7czo2OiJhcHBsZoiYXBwbGV0IjtzOjQ6I$
$sugar_config['dbconfigoption']['collation'] = 'utf8_general_ci';
$sugar_config['default_currency_name'] = 'Canadian Dollar';
$sugar_config['default_currency_iso4217'] = 'CAD';
$sugar_config['aos']['quotes']['initialNumber'] = '139';
$sugar_config['http_referer']['list'][0] = 'crm.example.com';
$sugar_config['email_allow_send_as_user'] = true;
/***CONFIGURATOR***/
I am unsure of any script that would do this. I am not proficient in linux so am using a Bitnami built stack that I update. I will have to look into what scripts they include.
Thanks
This turned out to be a Bitnami issue. Their configuration tool that was running on startup (bnconfig) was the issue and disabling it as they recommend has fixed it.