# Forest Admin folder not created on postgres and docker setup

**URL:** <https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652>\
**Category:** Help me!\
**Tags:** setup\
**Created:** [June 9, 2021, 3:35pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652 "2021-06-09T15:35:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![adebayoileri](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adebayoileri](https://community.forestadmin.com/u/adebayoileri)\
**Post date:** [June 9, 2021, 3:35pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/1 "2021-06-09T15:35:06Z")

</div>

This is a template you can use to report issues. You can also drag images, videos and include `Preformatted text`

```javascript
docker pull forestadmin/lumber
docker run \
-v `pwd`:/usr/src/app --init \
-e DATABASE_SCHEMA="public" \
-e DATABASE_URL="postgres://app:app@host.docker.internal:5432/app" \
-e DATABASE_SSL="false" \
-e APP_NAME="MYAPP" \
-e FOREST_EMAIL=REDACTED \
-e FOREST_TOKEN=REDACTED \
-e APPLICATION_HOST="localhost" \
-e APPLICATION_PORT="3310" \
-ti forestadmin/lumber

```

## Expected behaviour

After running the above command runs successfully. I expect a folder to be created in my current working directory as stated in the docs([https://docs.forestadmin.com/documentation/v/v4/getting-started/installation/install-in-lumber#1-generate-your-admin-backend](https://docs.forestadmin.com/documentation/v/v4/getting-started/installation/install-in-lumber#1-generate-your-admin-backend)), but instead, the folder can’t be found.

## Actual behaviour

The commands run successfully but don’t create a folder to get my credentials

## Failure Logs

none

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [June 9, 2021, 3:45pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/2 "2021-06-09T15:45:35Z")

</div>

Hey @adebayoileri, and welcome to our community 👋

I just did a quick test on my end, and I’m unable to reproduce. On my end, a folder is created, just like in the documentation.  
I can actually see the

```javascript
-v `pwd`:/usr/src/app --init

```

So I can’t really think of any specific reason you would not have the generated folder.

What is the OS you are using? And your docker version?

Just in case that might unlock the situation, our lumber based installation would also generate a `docker-compose.yml`, allowing you to also run your generated backend from docker

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![adebayoileri](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adebayoileri](https://community.forestadmin.com/u/adebayoileri)\
**Post date:** [June 9, 2021, 3:49pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/3 "2021-06-09T15:49:52Z")

</div>

Thanks for helping out @anon39848301

I use a Windows 10 Home OS and Docker version v20.10.6.

I’m unable to use the lumber setup cause I am trying to set up an already existing project locally.

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [June 9, 2021, 3:54pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/4 "2021-06-09T15:54:17Z")

</div>

@adebayoileri I may have missed something here. You already have an existing lumber application you want to setup on your local machine?

If that’s right, you just need to:

- Retrieve the `.env` file of a running project
- Create a new Development environment (From your project settings \> Environments) & replace the value of `FOREST_ENV_SECRET` by the one provided on your screen
- Start your project, running either docker (Using the existing docker-compose file) or `npm|yarn start`

---

<div class="post-metadata">

**Author:** ![adebayoileri](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adebayoileri](https://community.forestadmin.com/u/adebayoileri)\
**Post date:** [June 9, 2021, 6:42pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/5 "2021-06-09T18:42:29Z")

</div>

Yes @anon39848301 I have an existing application to setup, But I don’t have the option of creating a new development environment on the project dashboard

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [June 10, 2021, 6:55am UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/6 "2021-06-10T06:55:19Z")

</div>

@adebayoileri,

Could you share your project name so I can check on our end?

---

<div class="post-metadata">

**Author:** ![adebayoileri](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adebayoileri](https://community.forestadmin.com/u/adebayoileri)\
**Post date:** [June 10, 2021, 1:18pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/7 "2021-06-10T13:18:17Z")

</div>

Hi @anon39848301, thanks for helping out.  
Unfortunately, I can’t share the project name. Let me know if can assist in any other way.  
Thanks.

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [June 10, 2021, 1:24pm UTC](https://community.forestadmin.com/t/forest-admin-folder-not-created-on-postgres-and-docker-setup/2652/8 "2021-06-10T13:24:16Z")

</div>

Could you share it privately (Discourse support direct messages)?  
If not, I’ll not be able to check your project configuration on our end.

Are you an administrator of the project? If not, I would suggest to ask the administrator to create a new development environment for you and share to you the environment secret.
