I run an Odroid HC4 SBC with NextCloudPi 1.47.2 (Debian Bullseye). I activated samba in NCP settings and the share for the users works as expected.
I tried to setup an additional share for my attached backup storage (SATA drive) to have it available as network share on my desktop computer so I can create backups of my backup ;-). I cloned the section that was attached by NCP to /etc/samba/smb.conf and only changed the “path” key to point to my backup drive (/media/Nextcloud_Backup in this case). But I can’t connect to the share.
Do I need to setup a new samba user for that? Anything else I need to change?
Here is the section NextcloudPi generates for the NC-User “Andy” in smb.conf:
# NextCloudPi automatically generated from here. Do not remove this comment [ncp-Andy] path = /media/Nextcloud_Data/Data/Andy/files writeable = yes ; browseable = yes valid users = Andy force user = www-data force group = www-data create mask = 0770 directory mask = 0771 force create mode = 0660 force directory mode = 0770
My backup-folder is at “/media/Nextcloud_Backup” and is owned by the user “odroid”. Just changing the path and “force user = odroid” didn’t work.