Unable to edit smb shares

Since upgading to 25.10 recently and the hotfix last night I realised today that I can no longer edit my samba shares, they are missing.

Had an image here, not allowed to attach it but it shows smb running with no shares and the placeholder text for samba shares

If I go to the datasets page and click the link to the share from there I see again no shares but a bright red stop sign with Cannot retrieve response

Here is the JS error from the console:

console.js:34 ApiCallError: Method call error - 3 validation errors for SmbShareQueryResult
result.list[SmbShareQueryResultItem].0.options.TIMEMACHINE_SHARE.timemachine_quota
Input should be less than or equal to 109951162777600 [type=less_than_equal, input_value=1048576000000000000, input_type=int]
For further information visit
result.SmbShareQueryResultItem
Input should be a valid dictionary or instance of SmbShareQueryResultItem [type=model_type, input_value=[{ā€˜purpose’: 'TIMEMACHINE…alse}, ā€˜locked’: False}], input_type=list]
For further information visit
result.int
Input should be a valid integer [type=int_type, input_value=[{ā€˜purpose’: 'TIMEMACHINE…alse}, ā€˜locked’: False}], input_type=list]
For further information visit
at api.service.ts:188:33

1 Like

Okay. That looks like another validation issue to fix for 25.10.1. Jira

1 Like

Is there any way to edit the broken one to fix the UI? Im guessing its the timemachine backup share with the huge size is the issue…

Commenting to follow this since I am getting the same message on TrueNaS scale 25.10.1 - Goldeye. Note that my SMB shares are still remotely accessible, I just cannot add/modify them from the Web admin interface.

Should I submit a bug report? or does that Jira ( that I don’t have access to view ) cover it?

Can you PM me a debug from the system?

I opened Jira ticket NAS-139088 for this issue , with debug logs and screenshot attached.

1 Like

There is no system debug attached to the ticket and so it’s not actionable.

Weird, I checked the option to attach debug information when I submitted it. I’ll try again if I cannot attach the debug logs I manually.

Update

It allowed me to attached the debug logs! Let me know if you need any additional information or actions.

My Jira ticket is closed with the fix coming in 25.10.2. It appears that the root was that my Time Machine share quota was over the 7 TB limit , so it failed validation. That is probably a user error as I generally set the quote to twice the size of the drive I’m backing up, which would be 8 TB.

Now, I might need this much storage space for backups one day, but definitely not in the foreseeable future.

That’s 7 exabytes, not tebibytes. :wink:

2 Likes

Hi,

I Have actually the same issue.

I opened a Jira ticket but was closed with the response : ā€œWill be solve in 25.10.2ā€œ.

But during this time, I can’t edit any smb share.

ApiCallError: Method call error - 3 validation errors for SmbShareQueryResult
result.list[SmbShareQueryResultItem].1.options.LEGACY_SHARE.path_suffix
Value error, %u: not a supported naming schema component [type=value_error, input_value=ā€˜%u’, input_type=str]
For further information visit
result.SmbShareQueryResultItem
Input should be a valid dictionary or instance of SmbShareQueryResultItem [type=model_type, input_value=[{ā€˜id’: 16, ā€˜enabled’: Tr…: }, ā€˜locked’: False}], input_type=list]
For further information visit
result.int
Input should be a valid integer [type=int_type, input_value=[{ā€˜id’: 16, ā€˜enabled’: Tr…: }, ā€˜locked’: False}], input_type=list]
For further information visit

If someone has a solution to solve this before the truenas update please ?

Thanks.

Regards

I too am having this issue. I’m using the %m parameter on some of the my shares and that’s failing validation. I just updated to 25.10.2 but the error persists. :frowning:

1 Like

I suggest using Report a Bug and attaching a debug dump with your issue.

Post the ticket number or a link to it in this forum

I kind of assumed I’d have to open another one. I did one a few days back but it was closed pretty quickly like @phenixar ticket. I’ll do so when I have a spare moment.

1 Like

Or I would but the bug report feature isn’t working. I get the error below. :confused:

Cannot connect to host support-proxy.truenas.com:443 ssl:default [Name or service not known]

Using the GUI or are you using Report a Bug at top right of the forum?

TrueNAS WebUI to report a bug.

I guess try using Report a Bug at the top of the forum. Post if that one doesn’t work either. You can include the GUI Report a Bug info also. I don’t know where the problem is but I have seen a few reports of that related to checking for TrueNAS OS updates also.

1 Like

The forum bug report link worked - NAS-139892

1 Like

I confirm … the DNS ā€œsupport . truenas . comā€ doesn’t working anymore … so impossible to send a bug :frowning:

I also would like to create a another ticket because the version 25.10.2 should have solved the SMB share page issue but it’s not the case !!

update after update I found bug … I’m now not worries about truenas and won’t trust in it anymore :frowning:

I never had this kind of problem with Core version.