Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BACONGUDEN opened this issue Apr 8, 2024 · 1 comment
Open

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

BACONGUDEN opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BACONGUDEN
Copy link

BACONGUDEN commented Apr 8, 2024

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:

  • if I connect to the 192-address it shows the first directory folders, but all folders are empty and the sub directories are not shown
  • trying to connect to the smb://ls220/popcorn share (how im connecting to it on my windows machine) gives me "dial tcp: lookup ls220 on 127.0.0.53:53: server misbehaving"
  • connecting to the 192-adress throws me the error: cifs_mount failed w/return code = -22 in debian
  • if i use Alist on CasaOS i can find the nas and browse the files using the exact same info as im entering into CasaOS
  • running on debian 12
  • nas supports smb1 and smb2 (not smb3), trying to log in with credentials (not as guest)

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

image
image

@BACONGUDEN BACONGUDEN added the bug Something isn't working label Apr 8, 2024
@BACONGUDEN BACONGUDEN changed the title [Bug] [Bug] SMB issues, NAS drive / network share not connecting Apr 8, 2024
@x3llaz
Copy link

x3llaz commented Apr 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants