Arch: how to change data folder location

How to change data folder location in nextcloud? I just installed next cloud and it is up and running. At the moment the data folder is located under /usr/share/webapps/nextcloud/data (I need to move this to /mnt/drivex/data) and I don’t have any conf folder under /usr/share/webapps/nextcloud

The only conf file I found is; /etc/httpd/conf/extra/nextcloud.conf

Alias /nextcloud "/usr/share/webapps/nextcloud"

<Directory /usr/share/webapps/nextcloud/>
  Options +FollowSymlinks
  AllowOverride All
  Require all granted

 <IfModule mod_dav.c>
  Dav off
 </IfModule>

 SetEnv HOME /usr/share/webapps/nextcloud
 SetEnv HTTP_HOME /usr/share/webapps/nextcloud

</Directory>

any suggestions on “how to change the location of data folder?” thank you

Here you go

wwe: close old topics