appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.75k stars 3.76k forks source link

[Bug]: Adding external Mongo DB URI in the Advance Settings of Admin section is bringing instance down. #37703

Closed btsgh closed 2 days ago

btsgh commented 4 days ago

Is there an existing issue for this?

Description

On changing the mongo db uri on the local installation of nightly image, the instance does not come up.

Steps To Reproduce

  1. Take a local pull of nightly image
  2. Sign up and as the admin user, navigate to Admin Settings
  3. Here in the advanced tab, change the mongo db uri to a mongo db that you have created.
  4. Save and Restart. Note the system does not come back up at all. We note rts stdout errors on docker. Attached are the rts logs. rts-8efabaacff2a.log We also see that collections are created for the db on the mongo Atlas instance.

DB URI used - mongodb+srv://aparna:<password>@cluster0.n9wtk.mongodb.net/upgradetest_26nov

Screenshot 2024-11-26 at 2 32 46 PM

Note: Same steps tried on latest tagged version v1.49 and it worked without any issues.

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

v1.50

btsgh commented 4 days ago

Backend logs - backend-8efabaacff2a.log