How to move the directory "data" for another location

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version : 16.0.2
Operating system and version : 10.00
Apache or nginx version : Apache 2.4.38
PHP version : 7.3

Hi,

I set the location for my data directory on a USB storage limited to 16 Go. I figured that this is not enough because I want to save all pictures from my iPhone.

So, I want to move the data directory to a new USB storage with 128 Go.

How can i change that?

I use Nextcloud on a Raspberry Pi.

Thanks in advance.

Maybe this is helpful?