[DOCS-9913] [SERVER] Comment on: "manual/tutorial/install-mongodb-on-ubuntu.txt" Created: 17/Feb/17  Updated: 30/Oct/23  Resolved: 24/Mar/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Mario Loksly Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: collector-298ba4e7, docs-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

debian/ubuntu mongodb uninstall process

Location: https://docs.mongodb.com/master/tutorial/install-mongodb-on-ubuntu/?_ga=1.138304056.909293321.1487318677
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Screen Resolution: 1680 x 1050


Participants:
Days since reply: 45 weeks, 5 days ago
Epic Link: DOCSP-24096

 Description   

Hi!

on the delete instructions may be you should warn the directories shown are the defaults, the user may have changed them using /etc/mongod.conf file.

Why not to let the user check with something like this?

grep dbPath /etc/mongod.conf # database directory
grep path /etc/mongod.conf # log directory

then config these lines with appropriate directories:

sudo rm -r /var/lib/mongodb # Remove Data Directory
sudo rm -r /var/log/mongodb # Remove MongoDB log files.

Note these checks should be done before the apt-get remove/purge command.



 Comments   
Comment by Sarah Olson [ 24/Mar/23 ]

Closing this out on the grounds that:

  • Details of this request are significantly outdated. 
  • Our documentation has evolved substantially since this request was made. 

Based on this, closing as WON'T DO. Please don't hesitate to give me a shout or to reopen if you disagree.

Generated at Thu Feb 08 07:59:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.