#Need help setting up MongoDB clean install

170 messages · Page 1 of 1 (latest)

upper crater
#

Hi, I'm struggling to set up MongoDB, I've tried several times over and I think I fucked up somewhere along the way and now I have no idea to uninstall it and what to delete so it's like it was never on my system. I've tried using the uninstaller it came with, and the uninstaller via windows settings, and deleting files. I have tried many times to uninstall and reinstall and repair installation, and at this point I have no idea where i went wrong and what to do about it.

So order of priority, 1) I need to figure out how to completely erase any traces of MongoDB from my system to make sure the install is clean (idk if it's necessary but.) and 2) I need to know if I'm doing something wrong while setting it up. I've just been using all default settings, including the Compass app in installation. When I opened compass it gave me ECONNREFUSED error, but that's not really relevant right now.

I've been relentlessly searching the support channels for weeks and I just cannot figure it out on my own. Would really appreciate some help, thanks y'all. For reference, I'm on Windows 10 with an administrator account

#

to clarify, the error message screenshotted above only started happening today, whereas ECONNREFUSED has been reoccurring for weeks. I've done my best to search for solutions in this server and it's helped a bit but this is one issue that i just cant solve on my own. also when it was installed i couldn't start it up via services, bouncing back and forth between 1067 and 1069 errors and that was a whole thing, couldnt figure that out either, will try through task manager next time

glass heath
#

connection refused happens when the service isn't running, nothing more

#

Uninstalling from the windows or mongodb uninstaller is enough. If you're currently there, do the above and then run the installer again

#

Make sure you're doing a standard install with all settings on default

upper crater
#

i have downloaded those and it seems to be onto installing compass, which is farther than it was before, thank you! i had seen that link several times but didn't realize it was the same issue i was having, sorry about that

glass heath
#

You don't need compass, by the way

upper crater
#

still installing but once it's complete i'll try to run it from task manager instead of services this time and i'll let you know how it goes

#

alright, ive seen conflicting things about whether or not it's necessary so good to know that it's not

glass heath
#

If you saw info indicating that you needed compass here, I'd be concerned

#

It has never been needed, and you will not need it unless you want to make edits to your database. You only need the actual database (MongoDB Community Server). Compass is a GUI used to access the contents

#

Unless you were seeing info somewhere telling someone they needed compass to open the database to make changes, which is true.

upper crater
#

that's possibly it, i'm a little lost about all this and it certainly doesn't help that there's so much overwhelming information, my brain just can't keep track of it all...

glass heath
#

The reality is you're likely making it more complex than it is

#

The grasscutter github has the most simple info: requirements, and how to download and start grasscutter

#

The only other thing needed that isn't indicated on the grasscutter github is the game patch

upper crater
#

definitely likely, i have the tendency to overthink things

#

is that the RSA patch? i do have that

glass heath
#

Yes that is the RSA patch

upper crater
#

alright, mongodb has been installed and i am viewing the service from task manager this time. i'm right clicking and clicking start and it's not working, is my computer just slow?

glass heath
#

Define "it's not working"

upper crater
#

i'm gonna reboot my computer actually, hold on

#

like it's still stopped

#

nothing happens when i right click and hit start

glass heath
#

Restart your pc yes, it should be blank when not running.

upper crater
#

oh god, i rebooted and now it's not even in the list

glass heath
#

Probably an effect of your uninstalling/reinstalling business

#

You may just want to run the installer one more time now

upper crater
#

might be yeah 😭

#

alrighty

#

okay, it's reinstalling right now! i'm not sure why, usually when i rerun it when it's installed it asked to repair or to uninstall, but this time it was just the initial installation, so yeah i guess it just didn't fully install or something

#

!!!!!!!! it still says stopped but when i right clicked it said starting for a few seconds so that's progress!!!!

#

gonna reboot again

#

damn.... it still goes back to say stopped after about a half second

glass heath
#

run the installer and pick repair

upper crater
#

alrighty

glass heath
#

after you repair go to your mongodb install folder and delete mongod.lock, then go start the service

upper crater
#

is lock a typo of log ?

glass heath
#

nope

upper crater
#

hm okay what subfolder is it in, i cant find it

glass heath
#

MongoDB\Server\6.0\data

#

or w.e version you have

upper crater
#

AH i see it sorry!

#

totally missed it the first time

glass heath
#

No worries

upper crater
#

huh, okay, i deleted the file and tried to run it and it recreated the file in the same folder, did this a couple times

#

not sure if this is helpful but here's the main directory

#

should i delete that other lock file

glass heath
#

You can if you wish but that may not do anything

upper crater
#

i'll try it, why not

#

both files reappeared again

glass heath
#

they are supposed to

upper crater
#

rebooting again just in case

#

okay

#

what is the problem now then? i'm a bit confused sorry

glass heath
#

Me too, what is the problem?

#

Service isn't starting?

upper crater
#

yeah

glass heath
#

No error messages then

upper crater
#

what do you mean

glass heath
#

You don't get any errors when starting the service

upper crater
#

nah no messages it just doesnt start

#

it says starting for a few seconds and then it says stopped

#

is it supposed to do that?

glass heath
#

Of course not haha'

#

Your other services show blank spaces instead of saying stopped, right?

upper crater
#

they all say either running or stopped

#

i don't see any with blank spaces

glass heath
#

Ok then it saying stopped is normal in that the service is not running

upper crater
#

how do i make it run? it's supposed to run before opening cultivation , right?

#

sorry, i feel like i'm just asking the same thing over and over again. i appreciate your help a lot

glass heath
#

It's unrelated to Cultivation. But it does need to be running before starting Grasscutter

upper crater
#

and grasscutter starts before cultivation, right? or during?

glass heath
#

Whenever you want as long as it's before you launch the game

#

Cultivation is a launcher for grasscutter and the game though so it'd be weird to be running the server separate from it if you were going to use culti in the first place

upper crater
#

could you elaborate ?

glass heath
#

Grasscutter is the discord you are in. It is the server software used to run/host a local server for the anime game you are trying to play

#

Cultivation is a launcher

upper crater
#

yeah ofc

#

what is weird is what i am asking

glass heath
#

You asked "and grasscutter starts before cultivation, right? or during?". I said "Whenever you want as long as it's before you launch the game ... it'd be weird to be running the server [grasscutter] separate from [cultivation] if you were going to use culti in the first place"

#

It would be weird to start grasscutter before Cultivation if you were using Cultivation as a launcher, because then you're just using it as a proxy, skipping out on what would reasonably be defined as core functionality

upper crater
#

well when you check the connect via grasscutter box from the cultivation launcher, it launches both of them, yeah?

glass heath
#

No

#

That checkbox is to use the proxy or not

#

Grasscutter = private server = connect to private server

#

Connect to private server = use proxy

#

checkbox = use proxy or not

#

The button to the right of launch is the start server button

#

as you can see by the server icon on it

upper crater
#

i was not aware that's what the icon is, thank you

#

to clarify, the private server (which is grasscutter) is active, but at the same time not running? it doesn't make sense to me so i think i'm missing something

glass heath
#

You are definitely missing something

#

what are you referring to

#

Grasscutter is active - need clarification what exactly you mean

#

At the same time not running - this is not possible

#

Active = running, they are the same thing

upper crater
#

yeah that's why i;m confused

#

grasscutter is the server that you play on, so it must be running

glass heath
#

In order to play on a locally hosted server yes

#

What are you confused about

upper crater
#

you said it didn't run

glass heath
#

...?

#

You've lost me

upper crater
#

i asked if using the check mark launches grasscutter and you said no

glass heath
#

Correct

#

The checkbox does not launch Grasscutter

upper crater
#

but you cannot connect to the server without using the checkmark

glass heath
#

Yes

upper crater
#

because j ust opening the server doesnt connect to it

glass heath
#

You're on the right track

upper crater
#

so you need the check mark to connect

glass heath
#

Yes

#

I see where you're confused

#

Let me clarify

#

The checkbox has nothing to do with grasscutter

glass heath
#

Checked = yes proxy

#

Unchecked = no proxy

#

Grasscutter is the server

#

It doesn't have anything to do with your proxy

#

It just starts and exists

#

It is on you to redirect the game traffic to Grasscutter

#

You redirect the traffic using a handy tool called a proxy

#

Without a proxy, your traffic is not redirected, and you will never reach the private server

#

So if you uncheck the box, thus not using the proxy

#

You will not be able to play on Grasscutter

#

It is named as it is to make it easy for people with no technical knowledge understand what it means

#

You check it to play on Grasscutter (the private server)

#

you uncheck it to not play on grasscutter (official)

upper crater
#

alright

#

yeah that's as i thought, i don't really care about the pedantic stuff

#

for all intents and purposes, you need to check the box to play on the server

#

because it enables the proxy that connects you

glass heath
#

Yes you need to check the box to play on private

#

"Connect via Grasscutter" = "Play on Grasscutter"

#

it's the same thing

upper crater
#

yeah!

#

nice

glass heath
#

Still has nothing to do with Grasscutter itself though

upper crater
#

but to clarify, you do need mongodb to run before checking that box, yeah?

glass heath
#

Whether the box is checked or not before or after mongodb is running is entirely irrelevant

#

MongoDB is a requirement to run Grasscutter

#

It needs to be running before you start Grasscutter

#

You should just have the box always checked to connect via grasscutter, though

#

No reason at all to have it unchecked at any point

#

I just want to make it clear again:
Grasscutter and Cultivation are separate things and do not share requirements

#

You do not need mongodb, or java, or grasscutter even to use Cultivation

upper crater
#

huh

#

okay

glass heath
#

You do need mongodb, java, and the grasscutter files to run Grasscutter

upper crater
#

okay. completely new question then: where do i input the account creat command? to which console?

#

create*

glass heath
#

Grasscutter, the server. You can't send commands to Cultivation and it wouldn't make sense to do so

#

Cultivation is a launcher

#

Grasscutter is the server

upper crater
#

so i do need grasscutter then

glass heath
#

If you want to run your own local server yes exactly

#

Grasscutter is the server after all

upper crater
#

and in turn, grasscutter needs mmongodb

glass heath
#

Yes

#

You don't need Grasscutter to use Cultivation because you aren't required to play on your own server

#

If you join a public server, you only need the proxy and the game patch

#

Cultivation, being a launcher + proxy, means you only need it and the game patch to play

upper crater
#

listen man, i'm doing my best to be polite here but i really don't like all this pedantic and condescending stuff. i'm trying to ask for help because this is a subject that i am not familiar with and i am doing my best to figure out stuff. i understand that a lot of people come here asking for help and maybe you're sick of it, that's fine, you are entitled to your own emotions. but i would appreciate if you were a little more thoughtful here because i really am trying my best and trying to have a genuine conversation here. i dont want to sound harsh but it's counterproductive for both of us to go on and on about this.

#

i would like to go back to focusing at the task at hand. how do i make mongodb run?

glass heath
#

Yeah you're right, I started doing support because I wanted to help people not because I wanted to be condescending to people. I get that the pedantic stuff maybe seems ridiculous and condescending to you but it's just a distinction I make since people get them confused.

Maybe I am sick of it, it's not like I ever thought long and hard about why I come back every day and answer every post that gets made. I just did it because I wanted to

#

I'm no mongodb pro man, I installed it and it started the service automatically and set it to start auto with my pc. I've looked for solutions for other people before and that's the extent of it