My data directory is not changing

Hey, I had it working but after fresh distro install my data_directory is not changing.
I have full permissions on external drive.

my logs:

Error: fopen(/home/pi/USB2/data/leo/files/Templates/ Failed to open stream: No such file or directory at /snap/nextcloud/30878/htdocs/lib/private/Files/Storage/Local.php#363

my config:

‘datadirectory’ => ‘/home/pi/USB2/data/’

I’ve seen the dir linking solution but i had it working fine before so im confused.

Tnx for help.

Hello there ,

welcome to the community of Nextcloud.

You started a topic in support category.
Unfortunately you ignored the template and a lot of information to help you is missing.

Please add all necessary information like Nextcloud version, webserver type and version, os version, related log file content.

Without additional information the community members cannot help you.


NB: Maybe it’s just that you need to add your path to your snap…