Change upload directory

Hello.

Is there a way to change path to upload directory where nextcloud temporary store chunks of file while uploading process?

At now it is in data_directory/user/uploads

My data_directory is on NFS storage, and i am facing with issue copying data back and forth while uploading file and finalizing it from chunks.
Thanks.

I think the easiest way under Linux would be to create a directory whereever you want and replace the existing upload directory with a symbolic link to the new directory. Please keep in mind, that the user,under which the web server is running, e.g. www-data or wwwrun etc. is able to write to that directory.

Thanks for your reply, j-ed.

I thought about it, but we have a lot of users imported from LDAP. Make symlink seems not a good idea in that case.

I hoped to find in documentation some configuration parameter (no luck), that can set path to upload directory for all users. And that path I will allocate on local disk.