This CMS is a very good, but a lot of things modified. As difficult installation, modification, and so the addition of a plugin and etc.
I want uninstall my discourse website? Which command do I have to write for that?
A user, eminov, wants to uninstall their Discourse website. pfaffman suggests using rm -r /var/discourse to delete Discourse and all backups. However, this does not completely remove Docker and Discourse from the system.
To completely remove Docker, pfaffman recommends using apt-get purge docker-engine and then rebooting. BattleMage provides a step-by-step guide to remove Discourse:
docker imagesdocker image rm discourse/discourse:1.3.10rm -r /var/discourseAdditionally, pfaffman notes that before removing the image, you need to stop the Discourse container using docker stop app or . /launcher stop app.
BobbyZopfan asks about the relationship between Docker and the underlying Ubuntu Server OS. marianord explains that Docker is an application installed in the OS, and Discourse runs on top of Docker.
Finally, Bathinda asks how to completely remove all Discourse settings, users, and posts. pfaffman recommends removing the /var/discourse/shared folder using rm -rf /var/discourse/shared and then rebuilding Discourse.
This CMS is a very good, but a lot of things modified. As difficult installation, modification, and so the addition of a plugin and etc.
I want uninstall my discourse website? Which command do I have to write for that?
I’m not sure what you are asking? Are you looking to wipe the content of the forum?
rm -r /var/discourse
Will delete Discourse and all backups and everything. I’m not clear why not just shut down the droplet, though.
After
rm -r /var/discourse
site down.
500 Internal Server Error
If you are the administrator of this website, then please read this web application’s log file and/or the web server’s log file to find out what went wrong.
I want remove delete discourse cms from my website. How delete docker and discourse?
Edit: I just checked, and if you installed Docker with the http://get.docker.com’s script and are running Ubuntu,
apt-get purge docker-engine
should remove docker. You’ll probably need to reboot to make sure all docker processes get killed.
In short: whatever you did to get Discourse running, do the reverse of that.
If you want to completely remove discourse:
docker imagesREPOSITORY TAG IMAGE ID CREATED SIZE
discourse/discourse 1.3.10 95332d4db04b 5 weeks ago 1.52GB
docker image rm discourse/discourse:1.3.10. Remember to use the exact same name and version your docker output showed you.rm -r /var/discourse should do it.Very good commands. I too was wondering for them.
2 small things:
I received the msg "Unable to remove repository reference “image name” (must force) container iccfa6e6d14b is using its referenced image 654a4f02e531.
How can we stop the image from being used? If we turned off the droplet, then console wouldn’t work.
Is docker a separate thing from underlying Ubuntu Server OS?
Thanks.
If you destroy the droplet then discourse is gone with it, so none of this matters, but…
I think you need to do a
docker stop app
Or
. /launcher stop app
Before you can remove the image
Thanks again.
But I wished if you could also answer my 2nd question, which I believe must almost be a single line answer.
I’ve googled to know this answer for around 1 hour.
And I’ve read this whole discussion on this topic on meta, here.
But I couldn’t understand.
I could repeat my dilemma:
Whether it is such that
There is Ubuntu OS, and then there is a normal docker installation in it/on it.
And in that docker installation there is Discourse docker running?
Or its simply Ubuntu Server OS and Discourse Docker installed/running in it?
Or it is not called ‘Discourse Docker’ but something else?
P.S: I also tried to understand the same thru this long topic post. But it just fell short of telling my query (almost did, but just not).
Yes. You have Ubuntu as the OS, then Docker as an application installed in the OS, and Discourse running on top of Docker.
Docker creates the possibility to isolate applications in containers (let’s simplify it as a light weight Virtual Machine), where you can run multiple applications without messing up the OS
docker 데이터 컨테이너(그리고 web_only도 포함되었을 수 있음)를 삭제했지만, 데이터 컨테이너를 다시 설치/재생성해도 동일한 관리자/사용자(및 설정)가 표시됩니다.
discourse를 처음부터 새로 설치하기 위해 깨끗한 상태로 시작하고 싶었습니다. 이를 위해 docker를 완전히 제거해야 하는가요? 아니면 /var/discourse 폴더를 통째로 삭제해야 하나요?
discourse의 설정, 사용자, 관리자, 게시글 데이터를 모두 저장하는 특정 폴더나 위치가 있을까요? 해당 위치를 삭제하면 모든 데이터가 초기화될 수 있을까요?
감사합니다.
rm - rf /var/discourse/shared
그 후 다시 빌드하세요. 기본적으로 영속 볼륨은 여기에 저장됩니다.