As a newcomer to Raspberry Pi and distributed systems, I found a tutorial on using ownCloud as a remote storage unit. Here is a link to that tutorial: https://pimylifeup.com/raspberry-pi-owncloud
I went through the whole process and everything was fine. However, I made a mistake when creating an admin account for ownCloud. On the “Data folder” option I left the path as “/var/www/owncloud/data”, which has left the Pi’s own internal storage as the data folder instead of the mounted hard drive. For the latter to be the data folder for ownCloud, the data folder path should have been “/media/ownclouddrive”.
In sum, my question is how to I change the data folder directory after creating an admin account.
I feel like an answer to this question could be useful to many other learners, as this is a popular type of project for new Raspberry Pi owners.
Thank you in advance.
Note: I’m running Raspbian and have installed version 10.0.9 of ownCloud.