CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] SAMBA share, no files in the folders

Open zarevskaya opened this issue 2 years ago • 8 comments

What happened?

Hey,

I don't see folders or files in shared folders. I'm connected with a local account.

Screenshots

Capture d’écran de 2022-08-16 23-21-42 Capture d’écran de 2022-08-16 23-21-57

zarevskaya avatar Aug 16 '22 21:08 zarevskaya

I can reproduce this.

When i create new files then they are saved on the SMB share.

After rebooting / remounting i can no longer see them in casaos.

Hedius avatar Aug 16 '22 21:08 Hedius

Same here as connecting to a SMB share only result in showing the parent folder of that share (No sub folder nor files).

AuthorShin avatar Aug 16 '22 23:08 AuthorShin

Fixed, the mount was not successful after reboot. Now it can be mounted normally after adding the delay.

LinkLeong avatar Aug 17 '22 09:08 LinkLeong

It's still the same even with alpha.2 (John mentioned this as fixed in changelogs of alpha.2), so I'm reopening this.

AuthorShin avatar Aug 18 '22 10:08 AuthorShin

It's still the same even with alpha.2 (John mentioned this as fixed in changelogs of alpha.2), so I'm reopening this.

@LinkLeong Is it fixed in alpha.2 ?

JohnGuan avatar Aug 24 '22 03:08 JohnGuan

It's still the same even with alpha.2 (John mentioned this as fixed in changelogs of alpha.2), so I'm reopening this.

Mount a samba first, then reboot? I need steps

LinkLeong avatar Aug 24 '22 08:08 LinkLeong

@LinkLeong Yes, I mounted a samba share, then reboot the server but no change. Plus I guess it should work without the need to reboot the server.

AuthorShin avatar Aug 25 '22 10:08 AuthorShin

@ETWang1991 Since you took over IceWhaleTech/CasaOS-Doc#134 , can you take a look at this too?

AuthorShin avatar Sep 08 '22 15:09 AuthorShin

This is the problem of omv's user and user group settings, please share according to omv's official documentation.

LinkLeong avatar Oct 24 '22 10:10 LinkLeong

I ran into the same problem as mentioned in the first post. I'm trying to samba to a Seagate Center or synology NAS network drive with the correct username and password. Authorization is successful, I can see the structure of the root drive, but all folders and subfolders are empty. Although there is information on the disks. (LXC Proxmox)

sacredx72 avatar Mar 13 '23 12:03 sacredx72

I'm having the same issue after updating to 0.4.4.2, reboot doesn't help

DaanSchoukens avatar Sep 08 '23 09:09 DaanSchoukens

This is the problem of omv's user and user group settings, please share according to omv's official documentation.

not the omv issue. I tried adding my smb shares from debian server, and also from my windows server. same issue. the folders are empty.

vikramsoni2 avatar Oct 04 '23 20:10 vikramsoni2

This is the problem of omv's user and user group settings, please share according to omv's official documentation.这是omv的用户和用户组设置的问题,请根据omv官方文档分享。

not the omv issue. I tried adding my smb shares from debian server, and also from my windows server. same issue. the folders are empty.不是omv问题。我尝试从 debian 服务器以及 Windows 服务器添加我的 smb 共享。同样的问题。文件夹是空的。

With me my query is not compatible with the version of the problem caused, we are compatible with smb2-3, you check the other end of the version is not smb1, or smb1, the way to mount.

LinkLeong avatar Oct 07 '23 02:10 LinkLeong

I have the same problem as OP. I mounted my Synology NAS in the Files app, and I can see the folders - but they are all empty.

Have a Synology DS920+ with DSM 7.2.1-69057 Update 3. CasaOS (0.4.6) is installed on a Proxmox LXC. Created a specific user in DSM with only access to SMB and the shared folders. Default settings for SMB (Max SMB3, Min SMB2).

Nuffern avatar Feb 26 '24 00:02 Nuffern

I have the same problem as OP. I mounted my Synology NAS in the Files app, and I can see the folders - but they are all empty.

Have a Synology DS920+ with DSM 7.2.1-69057 Update 3. CasaOS (0.4.6) is installed on a Proxmox LXC. Created a specific user in DSM with only access to SMB and the shared folders. Default settings for SMB (Max SMB3, Min SMB2).

Same issue but with Synology D1019+ DSM 7.1.1-42962 update 2 CasaOS (0.4.6) is installed on a Proxmox LXC

RemcoHekker avatar Feb 27 '24 16:02 RemcoHekker

Repro'ed this on CasaOS v.0.4.9 as well hosted as a Proxmox LXC. SMB shares are visible from other client computer (MacOS and Windows) but CasaOS only shows the top-level folders with no subfolder or file/s content.

I "mounted" the SMB share using the Files app and it shows the network/host listed even after reboot with the /mnt/<host>/<topfolder>/* is always empty. As others have mentioned this does not involve guest authentication and uses username+password creds

Running 'mount' in a shell shows no network drive mounted so it's likely not really mounted.

oliversaal avatar Jun 21 '24 03:06 oliversaal

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/

oliversaal avatar Jun 21 '24 04:06 oliversaal