Rake site_settings:import does not detect setting changes

Hi guys,

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?

image

Thanks a lot!

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.

1 Like

Hi Jay,

Thank you for your support.

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?

image

Thanks!

From file

image

Hmm. Are the missing settings from plugins?

Hi Jay,

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?