Months ago I set up a Univention Nextcloud applicance, and it’s worked great through a couple Nextcloud major revision upgrades. I’ve got around 3TB of content on it now. I wanted (still want) to be able to access those files not only via the Nextcloud sync tool, but directly from my Windows PCs via CIFS. To try to accomplish this, I installed Samba 4 via the Active Directory Domain Controller app. Because I was not trying to use my Nextcloud appliance as a domain controller, it never got configured correctly, and I got busy with other things and I just left it, AD non-working but Nextcloud working like a champ.
Last weekend I decided that since I now have an AD Docker container appliance elsewhere on my network, I could just remove the AD from my Univention Nextcloud VM and join it to my new test domain. Unfortunately, removing the app appears to have resulted in my VM being unable to do all the Nextcloud things: Nextcloud clients can’t connect to the server, and I can attempt to login to Nextcloud but I get an error. I am able to log into the Univention interface, and I can go to App Center, but then when I try browsing apps (to reinstall the one I removed) I get “An unknown error with status code 502 occurred while connecting to the server, please try again later.”. The software update module tells me there are updates, but Package Updates loads indefinitely. Logging into Nextcloud returns the following:
The server was unable to complete your request. If this happens again, please send the technical details below to the server administrator. More details can be found in the server log. ### Technical details * Remote Address: 10.1.10.111 * Request ID: hy3V0gptf37rnmgAugYb
The currently installed release version is 4.4-2 errata294. Nextcloud is 16.0.4-0. I still have SSH access to the VM, and the etc/hosts file looks like I would expect it to. I did not have the foresight to take a snapshot prior to removing the AD app. So from here, what are my options for troubleshooting and restoring whatever I’ve broken by removing the app? My goal is to have Nextcloud functional again, and it would be nice if I didn’t have to recreate the VM and move 3TB over, but I guess that’s always a final option…