I first installed nextcloud on an external USB key, but I found out it was to slow. So I copied the nextcloud directory into /var/www and modified the Apache files accordingly. So I just realized that when I upload files, they still go in the old directory on the USB key. How can I fix that? I want everything to be on /var/www/nextcloud.
Thanks a lot for the link! I applied what it says, with the difference that I had to merge the two directories, which I did like so: $ rsync -a /old/nextcloud/ /new/nextcloud/.
I pointed my browser to my NextCloud server, and I see the following: