I set up a Samba share via drive_manager and it created the following fstab entry:
Code: Select all
//192.168.1.180/george /mnt/george1 cifs username=nextcuser,password=[password],iocharset=utf8,uid=dietpi,gid=dietpi,file_mode=0770,dir_mode=0770,vers=3.1.1,_netdev,nofail,noauto,x-systemd.automount
Code: Select all
root@DietPiNextCloud:/mnt# ls -rtl
total 8
drwxr-xr-x 2 root root 4096 Jul 10 22:59 ftp_client
drwxrwx--- 2 dietpi dietpi 0 Jan 2 19:05 george1
drwxrwxr-x 8 dietpi dietpi 4096 Jan 7 21:20 dietpi_userdata
In Nextcloud, I installed the 'External Storages' app and tried to add the locally mounted drive 'george1' as a folder named 'George2'. I used numbers to keep things straight as to what was being referenced no matter where I looked. The green check means that Nextcloud can access the storage location.
Under External Storages, Nextcloud now shows the shared folder I created: However, when I click on 'George2', it doesn't bring up the actual contents of the share on my NAS. Instead, I get this: ... which appears to be the contents of:
Code: Select all
root@DietPiNextCloud:/mnt/dietpi_userdata/nextcloud_data/George/files# ls
Documents 'Nextcloud intro.mp4' 'Nextcloud Manual.pdf' Nextcloud.png Photos
Any idea what's going on?