# Rake site\_settings:import does not detect setting changes

**URL:** https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026
**Category:** Support
**Created:** [September 18, 2024, 9:58am UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026 "2024-09-18T09:58:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![aaaaaaaasss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaaaaaaasss/32/449970_2.png) [@aaaaaaaasss](https://meta.discourse.org/u/aaaaaaaasss)
#### Post date: [September 18, 2024, 9:58am UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/1 "2024-09-18T09:58:13Z")

</div>

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](https://global.discourse-cdn.com/meta/original/4X/9/7/f/97fac180ed0dde7b42992472028ccc0ce3fbd5c1.png)

Thanks a lot!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 18, 2024, 4:26pm UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/2 "2024-09-18T16:26:20Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![aaaaaaaasss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaaaaaaasss/32/449970_2.png) [@aaaaaaaasss](https://meta.discourse.org/u/aaaaaaaasss)
#### Post date: [September 19, 2024, 8:27am UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/3 "2024-09-19T08:27:01Z")

</div>

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](https://global.discourse-cdn.com/meta/original/4X/1/a/8/1a8bc51c68635da51a31927910d9c51c16b3ca74.png)

Thanks!

---

<div class="post-metadata">

### Author: ![aaaaaaaasss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaaaaaaasss/32/449970_2.png) [@aaaaaaaasss](https://meta.discourse.org/u/aaaaaaaasss)
#### Post date: [September 19, 2024, 8:27am UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/4 "2024-09-19T08:27:34Z")

</div>

From file

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/7/a/37a81d873767d2dd9d67ddac483c2978ee8366b9.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 19, 2024, 10:46am UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/5 "2024-09-19T10:46:21Z")

</div>

Hmm. Are the missing settings from plugins?

---

<div class="post-metadata">

### Author: ![aaaaaaaasss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaaaaaaasss/32/449970_2.png) [@aaaaaaaasss](https://meta.discourse.org/u/aaaaaaaasss)
#### Post date: [September 19, 2024, 11:03am UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/6 "2024-09-19T11:03:42Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Rupal](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@Rupal](https://meta.discourse.org/u/Rupal)
#### Post date: [October 3, 2024, 1:39pm UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/7 "2024-10-03T13:39:33Z")

</div>

Hi Jay,

Few of the missing settings are from plugins. What difference does it make?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 3, 2024, 7:57pm UTC](https://meta.discourse.org/t/rake-site-settings-import-does-not-detect-setting-changes/327026/8 "2024-10-03T19:57:19Z")

</div>

> [@Rupal](#):
>
> Few of the missing settings are from plugins.

Are the same set of plugins installed on both sites?

From this:

> [@Rupal](#):
>
> What difference does it make?

The settings that don’t get copied don’t get copied?

But this doesn’t seem like a problem that’s likely to be very easy to figure out without admin and command line access to your server(s).
