# Random default env

**URL:** <https://community.forestadmin.com/t/random-default-env/6355>\
**Category:** Help me!\
**Created:** [May 31, 2023, 1:32pm UTC](https://community.forestadmin.com/t/random-default-env/6355 "2023-05-31T13:32:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyal\_Hakim](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/eyal_hakim/32/1151_2.png) [@Eyal\_Hakim](https://community.forestadmin.com/u/Eyal_Hakim)\
**Post date:** [May 31, 2023, 1:32pm UTC](https://community.forestadmin.com/t/random-default-env/6355/1 "2023-05-31T13:32:58Z")

</div>

## Feature(s) impacted

Default environment

## Observed behavior

For some reason, one of our development remote environments got set up as the default environment of the project. We have no idea how this happened or how to revert it but it causes an error for everyone of our users trying to access the project since it first tries to load this env which they don’t have access to.

## Expected behavior

I believe the production environment should be the default one.

## Failure Logs

## Context

- Project name:
- Team name: …
- Environment name: …
- Agent (forest package) name & version: …
- Database type: …
- Recent changes made on your end if any: …

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [May 31, 2023, 1:41pm UTC](https://community.forestadmin.com/t/random-default-env/6355/2 "2023-05-31T13:41:26Z")

</div>

Hello @Eyal_Hakim,

Can you please fill in the required information about your project:

```javascript
Project name:
Team name: …
Environment name: …
Agent (forest package) name & version: …
Database type: …
Recent changes made on your end if any: …

```

I’m unable to help you without this information.

---

<div class="post-metadata">

**Author:** ![Eyal\_Hakim](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/eyal_hakim/32/1151_2.png) [@Eyal\_Hakim](https://community.forestadmin.com/u/Eyal_Hakim)\
**Post date:** [May 31, 2023, 1:43pm UTC](https://community.forestadmin.com/t/random-default-env/6355/3 "2023-05-31T13:43:26Z")

</div>

Hi @GuillaumeGautreau unfortunately I prefer not to fill in our internal project information on a public space, this was one point of feedback I gave your team when they decided to stop offering support via email and only offering the community.

I am more than happy to send you this information privately via email.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [May 31, 2023, 1:48pm UTC](https://community.forestadmin.com/t/random-default-env/6355/4 "2023-05-31T13:48:45Z")

</div>

In your project settings:

- Select the “Environments” tab
- Select your production environment
- Click on the button “Set as production” on the bottom of the page.

Does it fix your issue?

---

<div class="post-metadata">

**Author:** ![Eyal\_Hakim](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/eyal_hakim/32/1151_2.png) [@Eyal\_Hakim](https://community.forestadmin.com/u/Eyal_Hakim)\
**Post date:** [May 31, 2023, 3:32pm UTC](https://community.forestadmin.com/t/random-default-env/6355/6 "2023-05-31T15:32:10Z")

</div>

The button is disabled with the message above it saying: “This environment is your production environment.”

---

<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:** [May 31, 2023, 5:06pm UTC](https://community.forestadmin.com/t/random-default-env/6355/7 "2023-05-31T17:06:54Z")

</div>

Hey @Eyal_Hakim

Your issue is similar to [this one](https://community.forestadmin.com/t/error-message-when-trying-to-deploy-changes-to-production/6357), and we will keep you updated about the resolution there.

Sorry for the inconvenience.

---

<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 2, 2023, 10:22am UTC](https://community.forestadmin.com/t/random-default-env/6355/8 "2023-06-02T10:22:41Z")

</div>

Hey @Eyal_Hakim,

The issue should be fixed on your end, as visible on the thread I previously mentionned.

Let me know if you are still encountering an issue, and sorry for the inconvenience otherwise.
