Sorry for not yet including platform (Orange Pi, have to check which one, I think via Armbian) and versions (relatively new, less than half a year); I will add those later. Maybe it is not necessary for my problem.
TL;DR: will old app-data (Wordpress, nextcloud) be found when reinstalling?
Long version:
The installation of Yunohost went very well. Some apps were installed (nextcloud, opensondage, roundcube, wordpress), and a letsencrypt certificate was added with no problem.
After a couple of weeks/months, the admin page was not available anymore: please run yunohost tools postinstall
.
The postinstall gave an error (invalid password) all the time, but no changes were necessary and other things caught my attention, until the certificate expired a couple of days ago.
There was no way to access the web GUI, either as a user or as an admin. Via CLI access was possible, but no yunohost-commands were available.
At first, to get a valid certificate, I used part of the pre-2.5-letsencrypt ( alexAubin/ letsencrypt_ynh ), so the site was available for users and visitors.
Now I was set on solving the admin page as well, and the postinstall.
I did manage to break more, by purging slapd and reinstalling yunohost. Login was not possible anymore for users, and postinstall still did not work.
Then I came accross Alex’s resetpostinstall, which let me finally run the postinstall.
Of course all configuration is gone now.
Since postinstall was broken before I made any backups, I don’t have any backup.
The configuration can be done again, but I do not want to lose user data, especially wordpress and nexctloud.
Can I reinstall the apps, and will it reuse the old database? Or will it make a new random password? Is, together with the configuration, all access to the database impossible?
Which datafiles do I need to save?
PS: web admin gives 403-forbidden