# How to reinstall all?

**URL:** <https://help.egroupware.org/t/how-to-reinstall-all/78707>\
**Category:** English\
**Created:** [October 31, 2024, 1:40pm UTC](https://help.egroupware.org/t/how-to-reinstall-all/78707 "2024-10-31T13:40:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![novak](https://help.egroupware.org/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@novak](https://help.egroupware.org/u/novak)\
**Post date:** [October 31, 2024, 1:41pm UTC](https://help.egroupware.org/t/how-to-reinstall-all/78707/1 "2024-10-31T13:41:00Z")

</div>

Hello,

I have installed Egroupware (egroupware-docker) on a new installation of Debian 12.  
Everything worked nice! 🙂

Then I try to use LDAP and got stuck with errors “can¨t connect to LDAP”, “502 bad gateway”, and others.

I wanted to uninstall egroupware-docker and install it again, but still have problems “Job for nginx.service failed”, …

How and what do I have to uninstall to be able to install the egroupware-docker again?

Thanks,  
Pavel

---

<div class="post-metadata">

**Author:** ![itwo](https://help.egroupware.org/letter_avatar_proxy/v4/letter/i/ecc23a/32.png) [@itwo](https://help.egroupware.org/u/itwo)\
**Post date:** [October 31, 2024, 1:48pm UTC](https://help.egroupware.org/t/how-to-reinstall-all/78707/2 "2024-10-31T13:48:17Z")

</div>

Not sure this help you:

> [@Möglichkeit alle Spuren von EGW aus UCS zu löschen?](https://help.egroupware.org/t/moeglichkeit-alle-spuren-von-egw-aus-ucs-zu-loeschen/78089/2):
>
> Ja, die Deinstallation der App Löscht (aus Sicherheitsgründen) NICHT die Daten. Sprich App löschen und dann manuell: rm -rf /var/lib/egroupware mysql -p$(cat /etc/mysql.secret) --execute "drop database egroupware; drop user egroupware@'%';" Modulu Syntax errors wink Ralf

You must delete all data and the database to start from scratch, but I never tried this…

---

<div class="post-metadata">

**Author:** ![novak](https://help.egroupware.org/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@novak](https://help.egroupware.org/u/novak)\
**Post date:** [October 31, 2024, 5:23pm UTC](https://help.egroupware.org/t/how-to-reinstall-all/78707/3 "2024-10-31T17:23:59Z")

</div>

I think there is needed more to start from scratch.

Uninstalling egroupware-docker is not enough.

I think there is needed to uninstall egroupware-docker, nginx, egroupware-collabora, database maybe and sure some more packages.  
Than to delete some folders, but I do not know which ones.  
/etc/egroupware-docker/  
/var/lib/egroupware/  
and what else?

If I unistall egroupware-docker only, the new installation fails with some errors “Job for nginx.service failed”, “nginx[25581]: 2024/10/31 14:19:07 [emerg] 25581#25581: open() “/etc/nginx/sites-enabled/egroupware.conf” failed” and more…

So I am looking for help how to uninstall all things related with egroupware to make the new installation working again.

Thanks.

---

<div class="post-metadata">

**Author:** ![novak](https://help.egroupware.org/letter_avatar_proxy/v4/letter/n/6de8d8/32.png) [@novak](https://help.egroupware.org/u/novak)\
**Post date:** [November 6, 2024, 6:04pm UTC](https://help.egroupware.org/t/how-to-reinstall-all/78707/4 "2024-11-06T18:04:46Z")

</div>

The page [Update recommendations and troubleshooting](https://github.com/EGroupware/egroupware/wiki/Update-recommendations-and-troubleshooting) helps a lot 🙂
