You should be able to just remove all the sympl and other packages, then reinstall then again - none of then should delete any thing from /srv or similar.
If the OS is a mess, you’re probably best just doing a clean install and putting /srv, /etc/sympl and the databases back.