IceWhaleTech / CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
https://casaos.io
Apache License 2.0
23.74k stars 1.28k forks source link

[Bug] SMB issues, NAS drive / network share not connecting #1770

Open BACONGUDEN opened 3 months ago

BACONGUDEN commented 3 months ago

linux rookie here, been trying to get my buffalo ls220 nas to attach to CasaOS but its not working. tried asking on the support discord but I haven't gotten any responses yet.

How to reproduce:

  1. Go into Files App
  2. Click "attach network storage"
  3. Enter 192-adress to nas, enter credentials.
  4. Drive shows up under "Location" and the first folders in the directory tree, but all sub folders and files are missing in them.

Key points:

any help in this is greatly appreciated, been running my head around this for a while now and im super frustrated

image image

x3llaz commented 3 months ago

I just tested this on CasaOS v0.4.8 using a specified user account and not guest and it works for me (guest account should work too) but I'm using a Synology NAS and not Buffalo. All files are accessible and I can even play supported videos directly within the File Explorer.

This is not my preferred way of mounting my shares on CasaOS though as the accounts on my NAS has many shared folders. Mounting it this way instantly shares all those folders and I'm too lazy to create more accounts with limited access. I want to be able to specify which folders are shared so I manually mounted the NAS folders I want to share using fstab in CasaOS 'DATA' folder then pinned them to the left. This might work for you. Check my attached image below:

casa_shares

You might see that my 'DATA' folder is shared but I manually edited the smb config on the server CasaOS is running on to make it that only a specific user can access it so others on the network can't.

Your issue might be with permissions or your Buffalo NAS or both.

oliversaal commented 3 weeks ago

If you're running CasaOS on an Proxmox LXC container, this reddit thread might help: https://www.reddit.com/r/CasaOS/comments/16bltbw/casaos_blank_network_share_mount_through_gui/