# Our server encountered an error when opening Admin panel

**URL:** <https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524>\
**Category:** Help me!\
**Tags:** howtos, setup\
**Created:** [October 13, 2021, 5:52am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524 "2021-10-13T05:52:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mufarotiiie](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@mufarotiiie](https://community.forestadmin.com/u/mufarotiiie)\
**Post date:** [October 13, 2021, 5:52am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/1 "2021-10-13T05:52:44Z")

</div>

Hi there, had to get in touch so after express-mongoose installation and backend server setup success. I seem to can’t go to the [app.forestadmin.com](http://app.forestadmin.com) page so I can access the admin panel, the process seems so easy but complicated

![forest error](https://europe1.discourse-cdn.com/flex013/uploads/forest/optimized/2X/2/2ffe3fe3d479fd36d0c8ebfc33770e19486590bc_2_690x56.jpeg)

How best can I go past this since I also can’t access the [app.forestadmin.com](http://app.forestadmin.com) site

## Expected behavior

Manage to login into [https://app.forestadmin.com/\*\*\*\*\*\*\*\*/Development/](https://app.forestadmin.com/ ******** /Development/)

Please describe here the behavior you are expecting.

 ![forest-admin-error](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/5/59477149156a88bf8e6ef1cad926879628cab9d2.jpeg)

## Actual behavior

What is the current behavior?

## Failure Logs

Please include any relevant log snippets, if necessary.

## Context

Please provide any relevant information about your setup.

- Package Version:^8.3.7
- Express Version:~4.16.1
- Sequelize Version: n/a
- Database Dialect: Mongo DB
- Database Version: n/a
- Project Name:banc-abc-dashboard

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [October 13, 2021, 8:23am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/2 "2021-10-13T08:23:19Z")

</div>

Hello @mufarotiiie,

Thank you for your feedback.

Could you please confirm your project name? I cannot find “banc-abc-dashboard” on my end.

Also, can you show me the command you type to get the first screenshot with the “cannot create your development environment” error?

Thank you

---

<div class="post-metadata">

**Author:** ![mufarotiiie](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@mufarotiiie](https://community.forestadmin.com/u/mufarotiiie)\
**Post date:** [October 15, 2021, 8:11am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/3 "2021-10-15T08:11:30Z")

</div>

Hi, trading-desk-banc-abc is the project name, the development error has gone but can’t seem to access the admin dashboard, here is a screenshot of the page that appears when I try opening the admin portal link

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/2/28bf25b43342ebc64841159fb4ce8c1718279294.png)

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [October 15, 2021, 8:56am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/4 "2021-10-15T08:56:29Z")

</div>

Hello @mufarotiiie,

Thank you for your answer.

I ran some commands internally to try to fix your issue, can you tell me if the issue is still there?

If yes, can you please check the `network` tab of your browser’s developer tools, and share with me the details (request, headers, response, url…) of any query with an error status?  
This will help me pinpoint the source of this issue.

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [October 15, 2021, 10:08am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/5 "2021-10-15T10:08:53Z")

</div>

Also,

When I look into your project, there is no model/collection listed.  
We do no properly support connecting to mongoDB instances where there is not collection to access.

Is this the case on your side?  
If yes, can you add a model? If not, your can try running `forest schema:update` to update the definitions.

---

<div class="post-metadata">

**Author:** ![mufarotiiie](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@mufarotiiie](https://community.forestadmin.com/u/mufarotiiie)\
**Post date:** [October 18, 2021, 8:08am UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/6 "2021-10-18T08:08:50Z")

</div>

How do I specify the models for the application? and I ran `forest schema:update` but I got informed that databases.js does not exist, is this where I specify the models?

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [October 19, 2021, 1:06pm UTC](https://community.forestadmin.com/t/our-server-encountered-an-error-when-opening-admin-panel/3524/7 "2021-10-19T13:06:18Z")

</div>

@mufarotiiie,

Models matching you MongoDB collections should have been created in the `/models` subdirectory of your project when you onboarded your project.

Could you make sure that your run the schema update from within your project directory, and share the full output with me? This will help understanding your issue.

Can you also confirm the project ID corresponding to your project? It seems you created 3 of them.  
You can find it in the network tab of your developper tools, in the headers of the requests going to [api.forestadmin.com](http://api.forestadmin.com)

Thank you
