Thanks for your response.
My data directory is already outside the NC installation directory. I always install NC in a separate directory in
/var/www and I point symlink
/var/www/oc to it, not sure if it’s good or bad practice, but worked fine so far. Now I want to use
/var/www/nc instead of
In Apache config I basically created a new
nextcloud.conf by copy/pasting what I have for
/oc and that works. But I also left the
owncloud.conf in place as well, that should not be a problem right?
Alias /nc "/var/www/nc/"
SetEnv HOME /var/www/nc
SetEnv HTTP_HOME /var/www/nc
In Nextcloud config.php I changed all
/nc, I restarted Apache several times and also deleted cookies from my web browser and also tried web browser private mode, so should not be a browser issue.