添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I often getting this error in mongo db practice labs

Please advise on how to fix this

/scripts/mongosh.sh: line 2: /app/.env: No such file or directory
Current Mongosh Log ID: 66f7c4c002c0770693964032
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.3.1
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017

Hi @sadham_hussain ,

Thanks for reaching out.

Can you clarify in which lab you face this issue?

Thank you,

Davenson Lombard

The issue is still here attempt to restart the lab but still it persists. Please advice if there is any workaround.

Hi @LIM_SHENG_XUE ,

Sorry for the delay. We are deploying a fix which resolved the issue.

Let me know if you face this issue again.

Thanks,

Davenson Lombard

I have the same problem in the lab MongoDB Indexes II

/scripts/mongosh.sh: line 2: /app/.env: No such file or directory
Current Mongosh Log ID: 670fca5657cc25d984fe6910
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.3.2
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017

How can I fix this?

Hi @Joke_Vereertbrugghen ,

The labs in MongoDB Indexes II have been fixed.

If you still face this error, please let me know. Restarting the lab normally fixes this issue as it is transient.

Thank you,

Davenson Lombard

Hi @Davenson_Lombard
I could do 3 labs without problems. Now I start the lab for lesson 8 and I have the same problem again.
Restarting the lab didn’t help, closing my webbrowser and restart the lab also didn’t help.