Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Cannot disable SMB share if "directory does not exist" (this *is* a bug, believe me!)

Description

If someone wishes to disable an SMB share, the middleware GUI will spit out an error about how the "path doesn't exist", and refuse to let the user disable the share.

This can be a case of where a locked dataset remains locked, and the user wishes to temporarily disable the particular SMB share for one reason or another.

The point is: TrueNAS should allow the user to toggle a share (enable/disable), regardless of if the path is available.

What's funny is that I must first unlock a locked dataset to be able to disable an SMB share, and then re-lock the same dataset again. I cannot simply uncheck "Enabled" for the share.

This is likely also true for NFS shares (same concept); however, I only tested this against SMB shares. In fact, I did not intentionally test this, since I keep bumping into this bug by mistake, and found it frustrating that it doesn't follow sensible behaviors.

Ideally it should be like this ( regardless if the path is available or not):

Go to Shares
Disable the share

Unfortunately, this is the current behavior:

Go to Pools
Unlock a currently locked dataset
Go to Shares
Disable the share
Go back to Pools
Re-lock the dataset you just unlocked

Problem/Justification

None

Impact

None

Activity

Show:

Andrew Walker 
July 21, 2022 at 2:20 PM

This works as expected in SCALE 22.02.2

Winnie Linnie 
April 6, 2022 at 3:41 PM

Can this bug also be fixed for TrueNAS Core 13.0-U1, or the next patch update for the Core series?

Michelle Johnson 
April 6, 2022 at 12:31 PM

Thank you for your report, .

This issue is now in the queue for review. An Engineering representative will update with further questions or details in the near future.

Cannot Reproduce

Details

Assignee

Reporter

Labels

Impact

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created April 5, 2022 at 7:19 PM
Updated July 21, 2022 at 2:20 PM
Resolved July 21, 2022 at 2:20 PM