Jump to content
LAST CALL on the Unraid Summer Sale! 😎 ⌛ ×

NO SMB ACCESS AFTER UPDATE TO VERSION: 6.12


Go to solution Solved by serch826,

Recommended Posts

Hello everyone, today updated to ver. 6.12 and suddenly my server lost SMB access in Windows 11, but if i STOP and START the ARRAY on Ver. 6.12, so it works fine, but after server reboot the issue is back again, I have searched everywhere but can't find any solution to this problem, if I go back to ver. 6.11.5, so no problem with SMB, all my Shares are available, attached the diagnostics and much appreciate the help

 

 

tower-diagnostics-20230615-1930.zip

Edited by serch826
  • Like 1
Link to comment
2 hours ago, JorgeB said:

Try rebooting in safe mode, also comment or remove the line you have on SMB extras.

Thanks for your advice, i did that, but still the issue, don't know what to do, attached the new diagnostics, thanks again.

Edit: When in safemode it works after i started the Array so all my shares are OK, before the Array is started works also but ofcourse it show just the Flash drive that isn't in the Array.

When in normal mode it also works after i Stop and Start the Array manually, but after a reboot nothing works again.

tower-diagnostics-20230616-1157.zip

Edited by serch826
Link to comment
3 hours ago, JorgeB said:

Disable array auto-start, then reboot in normal mode, do you still have assess to flash over SMB?

But what is the point of canceling array autostart?, yes i've access till flash over SMB

Thanks for your time

 

Edited by serch826
Link to comment
17 minutes ago, serch826 said:

But what is the point of canceling array autostart?

To confirm if SMB was working before array re-start:

19 hours ago, serch826 said:

but if i STOP and START the ARRAY on Ver. 6.12, so it works fine, but after server reboot the issue is back again

So it's just after first array start that it stops working? That's very strange, do you have any user scripts running at first array start?

Link to comment
3 minutes ago, JorgeB said:

To confirm if SMB was working before array re-start:

So it's just after first array start that it stops working? That's very strange, do you have any user scripts running at first array start?

Hi, okay i understand, no i don't have any script at först array star, with the ver.6.11.5 worked awesome

Link to comment
18 minutes ago, JorgeB said:

I have no other ideas other then trying a stock Unraid install and restoring only the bare minimum, like the key, super.dat and pools folder for the assignments, then re-test.

Thanks, i also think to do that, but i will try a little more to see if i get some fix, thanks again

Link to comment

I believe you might have an interface issue.  These are the interfaces in your 'testparm' output:

interfaces = 192.168.50.200 10.253.0.1 127.0.0.1

 

Check that these look right.  The 192.168.50.200 is your server.  The issue might be the application of the interfaces/networking is not taking on first boot.  The are networking changes new to 6.12.

 

When this happens go to a command line and do this command:

/etc/rc.d/rc.samba restart

and see if SMB will work.

Link to comment
9 minutes ago, dlandon said:

The are networking changes new to 6.12.

That's a good point, but in that case why does it work at boot if the array is not started? He can still access the Flash share over SMB, after array start it stops working, then it works again after an array re-start, very weird...

Link to comment
20 minutes ago, JorgeB said:

That's a good point, but in that case why does it work at boot if the array is not started? He can still access the Flash share over SMB, after array start it stops working, then it works again after an array re-start, very weird...

Sequence of events to start services after setting up network?  Samba is restarted on array start and stop.

  • Like 2
Link to comment
37 minutes ago, dlandon said:

I believe you might have an interface issue.  These are the interfaces in your 'testparm' output:

interfaces = 192.168.50.200 10.253.0.1 127.0.0.1

 

Check that these look right.  The 192.168.50.200 is your server.  The issue might be the application of the interfaces/networking is not taking on first boot.  The are networking changes new to 6.12.

 

When this happens go to a command line and do this command:

/etc/rc.d/rc.samba restart

and see if SMB will work.

Yes, you're right i'll look at that and will back, thanks a lot

Link to comment
1 hour ago, serch826 said:

Yes, you're right i'll look at that and will back, thanks a lot

If i run the samba restart command it works fine

 

1 hour ago, serch826 said:
interfaces = 192.168.50.200 10.253.0.1 127.0.0.1

The interface:  10.253.0.1 is from Wireguard i think, how to fix that with the interfaces? Thanks again.

Edited by serch826
Link to comment

That's good information, thanks.  I tried to reproduce your issue and I couldn't.

 

Unraid 6.12 sets up some networking for Samba to be sure it is only listening on the appropriate interfaces - the 'interfaces' command.  I don't know how you have your networking setup, but those 'interfaces' are the IP addresses that Samba is listening on.  What are you doing with the Wireguard interface?  The 127.0.0.1 is the localhost or 'lo'.

 

What I don't understand is why you had to restart Samba to get SMB shares to be visible.

 

I see one thing I'd like you to check.  Take a look at your networking setup and confirm this setting:

Screenshot 2023-06-16 133007.png

 

I'm suspicious because the 'interfaces' in my test system shows:

interfaces = 192.168.1.4/24 127.0.0.1

notice the /24?  You're missing the mask.  This really shouldn't have anything to do with needing to restart Samba, but I'm a little suspicious the 'interfaces' is not getting set properly in a certain case keeping SMB shares from being visible, and a Samba restart fixes it.

Link to comment
3 minutes ago, dlandon said:

That's good information, thanks.  I tried to reproduce your issue and I couldn't.

 

Unraid 6.12 sets up some networking for Samba to be sure it is only listening on the appropriate interfaces - the 'interfaces' command.  I don't know how you have your networking setup, but those 'interfaces' are the IP addresses that Samba is listening on.  What are you doing with the Wireguard interface?  The 127.0.0.1 is the localhost or 'lo'.

 

What I don't understand is why you had to restart Samba to get SMB shares to be visible.

 

I see one thing I'd like you to check.  Take a look at your networking setup and confirm this setting:

Screenshot 2023-06-16 133007.png

 

I'm suspicious because the 'interfaces' in my test system shows:

interfaces = 192.168.1.4/24 127.0.0.1

notice the /24?  You're missing the mask.  This really shouldn't have anything to do with needing to restart Samba, but I'm a little suspicious the 'interfaces' is not getting set properly in a certain case keeping SMB shares from being visible, and a Samba restart fixes it.

Hi and thanks, the Wireguard is my VPN services for accessing the LAN outside the home, i use the a lot, The /24 is automatical configured by Unraid

Link to comment
1 minute ago, serch826 said:

Hi and thanks, the Wireguard is my VPN services for accessing the LAN outside the home, i use the a lot, The /24 is automatical configured by Unraid

So it shows 192.168.50.200/24 in the network setup?

 

Do this command when SMB is working and see if the 'interfaces' command has the /24 added to 192.168.50.200:

testparm -s

it will be near the top.

Link to comment
11 minutes ago, dlandon said:

So it shows 192.168.50.200/24 in the network setup?

 

Do this command when SMB is working and see if the 'interfaces' command has the /24 added to 192.168.50.200:

testparm -s

it will be near the top.

In the setup my interface is 192.168.50.200:24

In testparm -s not there are just those tree interfaces but no /24

network.jpg

Link to comment
14 minutes ago, serch826 said:

No problem, you did your best, thanks for your time, i can stay at the ver. 6.11.5, as then works awesome, thanks again.

Hi, again i managed it to work, but for this i configured Wireguard to not autostart, very stanger, i've to continius to work on this as you said the network has little problem in my settings for ver. 6.12

Yes it works

Edited by serch826
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...