# Removing previous Discourse install and installing the fresh one

**URL:** <https://meta.discourse.org/t/removing-previous-discourse-install-and-installing-the-fresh-one/127508>\
**Category:** Self-hosting\
**Created:** [3 september 2019 om 17:40 UTC](https://meta.discourse.org/t/removing-previous-discourse-install-and-installing-the-fresh-one/127508 "2019-09-03T17:40:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Systmyz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/systmyz/32/157841_2.png) [@Systmyz](https://meta.discourse.org/u/Systmyz)\
**Post date:** [4 september 2019 om 03:36 UTC](https://meta.discourse.org/t/removing-previous-discourse-install-and-installing-the-fresh-one/127508/5 "2019-09-04T03:36:26Z")

</div>

I am trying these commands to clone discourse  
`sudo -s` giving error

 ![](https://global.discourse-cdn.com/meta/original/3X/3/9/39d97262d138fa5ae80365a5dcdd33746bc71234.jpeg)

Then `git clone https://github.com/discourse/discourse_docker.git /var/discourse` giving following error

 ![](https://global.discourse-cdn.com/meta/original/3X/a/6/a6fda8526c7e719067e7a3f19848ba201e0165ad.jpeg)

I think something heavily messed up in the server. How can I do the fresh start without deleting the **DigitalOcean** droplet? Please assist, advance thanks!!

---

_[View the full topic](https://meta.discourse.org/t/removing-previous-discourse-install-and-installing-the-fresh-one/127508)._
