Nextcloud version: 24.0.10
Operating system and version: Debian Buster
Apache or nginx version: Apache 2.4.38
PHP version: 8.1-fpm
The issue you are facing:
I upgraded my server from Stretch to Buster and had to manually upgrade postgresql from 9.6 to 11. Something went wrong, and I lost the entire database. I did not have backups (you know, for someone else you always take care of those, but for your own personal stuff you don’t…).
I have run the NC updater, and then ran through the installer with a new admin account, enabled all the apps, including the LDAP user backend. That created new folders in my data folder with the names of those users, but with a different UUID. I know how to re-map the users via the LDAP wizard (‘expert panel’), but I don’t know how to proceed with the actual contents of the previous user-folders…
- Do I just move all files from the previous user-folder to the new user-folder?
- Do I softlink the new user-folder to the old user-folder?
- Do I have to used the occ tool to make sure that other mappings are corrected as well?