The original poster, aaaaaaasss, is experiencing an issue where rake site_settings:import is not detecting changes in their site settings. pfaffman suggested that running the command twice in a row may not show any updates since the settings already match those in the import file.
However, aaaaaaasss noticed a discrepancy between the overridden settings in the UI (77) and the settings file (66 entries). pfaffman asked if the missing settings were from plugins, and aaaaaaasss confirmed that some settings were from plugins. Rupal also mentioned that a few missing settings were from plugins.
pfaffman pointed out that plugin settings may not be updated by the rake site_settings:import command and asked if the same set of plugins were installed on both sites. He also noted that figuring out the issue may require admin and command line access to the server(s).
We have been using rake site_settings:import < /shared/site_settings.yml for updating the site setting changes in our forum. But it does not detect the changes recently when running the same command and forum can not be updated using the command. Anyone has any idea?
Do you have evidence that some settings are not being set? It looks like it’s expected that running it twice in a row will have no effect. There will be no updates since all settings match those in the file you’re importing.
I am seeing different numbers of overridden settings. From the UI, I can see 77 settings are overridden. And in the settings file, we only have 66 entries (excluding — in line 1). Do you know any possible reason that can cause this to happen?
there are a few settings from the plugins. Could that be the reason why the number not match? Does the command only update the site settings for the discourse and not the plugins?