Skip to content

Parse Server and Mongodb in Plesk #4306

@christianbalderrama

Description

@christianbalderrama

Hi, I am new to Parse Server and we are hosting our Node.js projects on Plesk. I have a project using Parse Server whereas I have configured the Parse-Server successfully in my localhost, however my problem is that how do I create a mongodb instance with this kind of format

mongodb://User:Pass@ipHere/databaseName

I did try to add a User with a readWrite access locally and with the environment variables in the project the serverURL I set was mongodb//User:Pass@ipHere/databaseName where the User and Password is what I have added in the user locally.

I am finding solutions for over 48 hours already and pretty much stuck with this problem. I am new to deployments, please bear with me. Thanks!

I've added user for the database from Mongobooster
first

Here is the environment variables in the Plesk Server. I've used express as middleware for this project.
second

I was expecting that automatically the Revolution database will be created once the SERVER_URL is replaced, but I when I tried to connect to the direct mongodb URI mongodb://Revolution:Revolution@serverIp/Revolution where I have set to the environment variable I get this kind of error .
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions