Change nextcloud Folder

Hi everyone,
I’m running nextcloud 16.03 on Raspbian Buster. In the beginning, I installed nextcloud to /var/www/html/nextcloud. Now I want to change nextcloud folder to /var/www/html/cloud. What should I do.

I am not an expert, but I would change the name as you want and apply changes in the config file, and make the change in apache/nginx to read from /var/www/html/cloud

start with that and see what happens… Do not forget to change the ownership of the folder after changing the name

sudo chown -R www-data:www-data /var/www/html/cloud

Have you try that method before

I cannot remember actually if I’ve done it before. But these are the steps I would make