dlandon / unassigned.devices

Unassigned Devices plugin for unRAID
Other
81 stars 39 forks source link

Can't Remove Device SMB Share #5

Closed tenebris0011 closed 7 years ago

tenebris0011 commented 8 years ago

I goofed adding in an SMB share incorrectly, and now can't remove it. When I click remove, it doesn't do anything, and uninstalling then reinstalling the plugin does nothing as well. Is there a config I can modify to remove this share? I love the App, asides from this though.

dlandon commented 8 years ago

How did you 'goof'. I'd like to know how you created this problem so I can fix or prevent it.

tenebris0011 commented 8 years ago

Where you were supposed to put the server name, I tried putting the path not putting my full attention to it. After doing that, I tried to delete the share, and it won't delete.

dlandon commented 8 years ago

Can you post the /flash/config/plugins/unassigned.devices/samba_mount.cfg file so I can see why you can't delete it? I would really like to prevent or fix this problem.

This is the file that has the smb mount entry.

tenebris0011 commented 8 years ago

Sorry about the late reply, have been quite busy. Below is the contents of the config file as requested.

[//\tower\downloads\iso/Comics] protocol = "SMB" ip = "\tower\downloads\iso" path = "Comics" user = "" pass = "" share = "Comics" automount = "no" mountpoint = "/mnt/disks/\tower\downloads\iso"

dlandon commented 8 years ago

Can you tell me how you did this so I can prevent it from happening? The issue is with the break '/' characters.

tenebris0011 commented 8 years ago

In the "IP/Host" section I put the network path, I do believe is what I did. Then from there, I added the share in the "Share" location. That is when it broke.

avluis commented 7 years ago

Bumping this as I have come across this issue while attempting to get an NFS share working (would not mount).

Steps outlined in the comment above is how it is reproduced -- essentially, instead of just typing in the name of the server, also include \\ as if you were writing the UNC path to said server, e.g; \\avnet.ws

dlandon commented 7 years ago

Fixed in latest version.

avluis commented 7 years ago

Thank you for the fix~ This will prevent others from encountering this issue. For those already affected by the issue: