# Lumber update do not update ForestAdmin

**URL:** <https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917>\
**Category:** Help me!\
**Created:** [July 16, 2021, 9:15am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917 "2021-07-16T09:15:49Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 16, 2021, 9:15am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/1 "2021-07-16T09:15:49Z")

</div>

Hi, I’m using your service and I updated my db models, but it’s not updated on ForestAdmin dashboard. I deleted old models and use ‘lumber update’ to recreate them, and no changes. Can you help me ? Thanks

---

<div class="post-metadata">

**Author:** ![anon16419211](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anon16419211](https://community.forestadmin.com/u/anon16419211)\
**Post date:** [July 16, 2021, 9:25am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/2 "2021-07-16T09:25:37Z")

</div>

Hello @John06 and welcome on our community forum ! 🙂

What version of lumber are you currently using ?

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 16, 2021, 12:30pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/3 "2021-07-16T12:30:06Z")

</div>

Hi, I’m using Lumber 4.1.10

---

<div class="post-metadata">

**Author:** ![anon16419211](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anon16419211](https://community.forestadmin.com/u/anon16419211)\
**Post date:** [July 16, 2021, 1:18pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/4 "2021-07-16T13:18:14Z")

</div>

Do you have a config/database.js file in your repository ?

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 16, 2021, 1:37pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/5 "2021-07-16T13:37:42Z")

</div>

Yes I’ve config/database.js file

---

<div class="post-metadata">

**Author:** ![anon16419211](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anon16419211](https://community.forestadmin.com/u/anon16419211)\
**Post date:** [July 16, 2021, 1:59pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/6 "2021-07-16T13:59:21Z")

</div>

What are the logs you have on your server side when running this command?

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 16, 2021, 2:12pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/7 "2021-07-16T14:12:05Z")

</div>

It says that the templates are created without any problem, and when I look at the files, the new information is well displayed.

Only Forestadmin is not updated

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [July 16, 2021, 2:20pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/8 "2021-07-16T14:20:50Z")

</div>

Hello @John06,

If I understand, you already performed these tasks:

- Delete files under `./models/*.js`
- Run the command `lumber update`
  - Then you were able to see your new models files under `./models/`

- you expect to see new models content in Forest UI.

Is all that true?  
Please note that your server needs to be restarted in order to have changes sent to Forest.

Can you please describe the model fragments that are in the _new models_ but are absent from forest UI? For example, you added a new field, drop a table, etc.

Also please share your project name.

Regards

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 16, 2021, 2:28pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/9 "2021-07-16T14:28:59Z")

</div>

Yes it’s all true ! I restarted the server already !

```
transactionId: {
  type: DataTypes.STRING,
},

```

and

```
isBot: {
  type: DataTypes.BOOLEAN,
  defaultValue: false,
  allowNull: false,
},
```

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [July 16, 2021, 2:54pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/10 "2021-07-16T14:54:44Z")

</div>

I received the project name, thanks.

The issue is related to your dev environment, that’s it?

The latest Forest schema receptions I can see were on July 8th and 7th.  
They did not trigger a schema change.  
In your dev environment, the forest schema date is 23/06/2021 11:18:50. Is it normal from your side?

That may certainly mean your server did not send the schema to Forest after this date.

Can you please:

- Restart your server again
- Post here the date of the restart
- Check the server logs for errors while sending the schema
- Check [api.forestadmin.com](http://api.forestadmin.com) is reachable for your server

Regards

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 16, 2021, 3:13pm UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/11 "2021-07-16T15:13:59Z")

</div>

I restart server `NODE\_ENV=production npm run start" at 07/16/21 3:11 PM UTC

I tried to ping [api.forestadmin.com](http://api.forestadmin.com) and 100% packet loss ! I think it’s the reason!

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [July 19, 2021, 8:24am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/12 "2021-07-19T08:24:58Z")

</div>

Hi @John06,

I received your IP by private message, thank you.

We do not have any blacklisting features on our side.  
As mentioned [here](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/10), successful communication happened until 8th of July. Maybe you can rely on this date with changes in your infrastructure?

Regards

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [July 19, 2021, 8:35am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/13 "2021-07-19T08:35:45Z")

</div>

Also, please note that when you have `NODE_ENV=production` it will not regenerate the schema.  
This is the desired behavior: effectively, when in production, the forestadmin-schema.json has to come with the release, and should not be edited directly on production.

Regards

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 19, 2021, 8:53am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/14 "2021-07-19T08:53:09Z")

</div>

I saw that your server is hosted on Heroku, maybe my IP is blacklisted on their side ? Pretty strange that I can’t ping [api.forestadmin.com](http://api.forestadmin.com)

No I didn’t change anything on my infra

---

<div class="post-metadata">

**Author:** ![Sliman\_Medini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/sliman_medini/32/19_2.png) [@Sliman\_Medini](https://community.forestadmin.com/u/Sliman_Medini)\
**Post date:** [July 19, 2021, 10:36am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/15 "2021-07-19T10:36:50Z")

</div>

Hi @John06,

Did you notice my previous message about NODE\_ENV?  
It seems to be the source of the problem.

Regards

---

<div class="post-metadata">

**Author:** ![John06](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@John06](https://community.forestadmin.com/u/John06)\
**Post date:** [July 19, 2021, 10:50am UTC](https://community.forestadmin.com/t/lumber-update-do-not-update-forestadmin/2917/16 "2021-07-19T10:50:25Z")

</div>

Ok you right ! I ran development env and it’s up to date ! Thanks !
