# Nextcloud Install

**URL:** <https://dietpi.com/forum/t/nextcloud-install/17387>\
**Category:** Troubleshooting\
**Created:** [21 July 2023 16:39 UTC](https://dietpi.com/forum/t/nextcloud-install/17387 "2023-07-21T16:39:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl52](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@Carl52](https://dietpi.com/forum/u/Carl52)\
**Post date:** [21 July 2023 16:39 UTC](https://dietpi.com/forum/t/nextcloud-install/17387/1 "2023-07-21T16:39:56Z")

</div>

Hello,

about 2 years ago I had installed Nextcloud. Due to my ignorance it could no longer be used meaningfully and it was deleted.  
Now I wanted to reinstall NC and the installer still found parts of the old installation. The system drive I had formatted and Dietpi reinstalled. So there are no old files and folders here.  
I had both then and now swapped out the user data.  
Now I ask for help for a suitable reinstallation of Nextcloud-.  
Thanks

Carl52

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [21 July 2023 17:19 UTC](https://dietpi.com/forum/t/nextcloud-install/17387/2 "2023-07-21T17:19:37Z")

</div>

Can you share the error message please

---

<div class="post-metadata">

**Author:** ![Carl52](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@Carl52](https://dietpi.com/forum/u/Carl52)\
**Post date:** [22 July 2023 12:51 UTC](https://dietpi.com/forum/t/nextcloud-install/17387/3 "2023-07-22T12:51:37Z")

</div>

```auto
root@NAS:~# sudo apt-get remove nextcloud
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paket »nextcloud« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@NAS:~#

 Use the spacebar to select the software you would like to remove: │
│ │
│ [] 0 OpenSSH Client: Feature-rich SSH, SFTP and SCP client │
│ [] 1 Samba Client: access SMB/CIFS/Samba network shares │
│ [] 3 MC: Midnight Commander - a powerful file manager │
│ [] 5 ALSA: Advanced Linux Sound Architecture │
│ [] 31 Kodi: The media centre for Linux │
│ [] 96 Samba Server: Feature-rich SMB/CIFS server │
│ [] 103 DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot │
│ [] 105 OpenSSH Server: Feature-rich SSH server with SFTP and SCP support │
│ [] 152 Avahi-Daemon: Hostname broadcast via mDNS (Zeroconf, Bonjour)

Nextcloud not installed

```

nevertheless, there is the folder Nextcloud under " /var/www/ " , " /mnt/dietpi\_userdata/nextcloud\_data " " /mnt/dietpi\_userdata/nextcloud\_data " and under " x:\dietpi\_userdata\mysql\nextcloud\ " as well.

Existing Nextcloud Nginx configuration found, will preserve the old one and save the new one for │  
│ review and comparison to: /etc/nginx/sites-dietpi/dietpi-nextcloud.conf.dietpi-new

Why is it that all data is not deleted during an uninstallation?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [22 July 2023 13:07 UTC](https://dietpi.com/forum/t/nextcloud-install/17387/4 "2023-07-22T13:07:12Z")

</div>

Nextcloud is a web server application that can’t be removed using apt. We keep some backup data during uninstall. If not need they can be removed manually. How does Nextcloud has been removed before?

---

<div class="post-metadata">

**Author:** ![Carl52](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@Carl52](https://dietpi.com/forum/u/Carl52)\
**Post date:** [22 July 2023 14:51 UTC](https://dietpi.com/forum/t/nextcloud-install/17387/5 "2023-07-22T14:51:10Z")

</div>

previously nextcloud was removed with dietpi software.  
Now I have deleted everything “by hand” and the installation succeeded.

I thank you for the quick answers.
