Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
After installing NextcloudPi, the wizard guided me until the option Move data to USB after I declined formatting as the drive is already formatted. When I click this option, the error message occurs:
ERROR: the user www-data does not have access permissions over /media/root/ncdata
Either you haven’t output everything or this is where the error actually lies. Because the error message says:
so it cannot access /media/root/ncdata, while the disk is obviously mounted at "/media/root/Samsung T7", as you can see here:
It is also a mount point with a space in the name, which unnecessarily complicates the whole thing.
I have to say, though, that it’s very difficult to really help if you only provide soooo little information. I and many others here would be happy to help, but to do so you, as the only person with access to your system, should be a little bit more generous with information.