SMB bug in 4.3.6.1040 (2019/08/20)

FTP Server, File Server, DDNS, SAMBA, AFP, NFS
bigorno
New here
Posts: 7
Joined: Tue Oct 09, 2012 8:37 pm

SMB bug in 4.3.6.1040 (2019/08/20)

Post by bigorno »

On a TS-453S Pro with firmware 4.3.6.1040 (2019/08/20), in /etc/init.d/smb.sh at line 1038, we have:

Code: Select all

homes_smb_encrypt=`/sbin/getcfg homes "smb encrypt" -d "disable" -f /etc/config/smb.conf`
Which creates entries in /etc/config/smb.conf:

Code: Select all

smb encrypt = disable
These entries are invalid, it should be "disabled" with a "d", not "disable".
As a consequence, SMB fails to start properly, and it is not possible to connect to the NAS.

Replacing "disable" by "disabled" in the script fixes the problem.

How should I report this issue in a proper way, if not here?
User avatar
Toxic17
Ask me anything
Posts: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by Toxic17 »

raise a ticket with QNAP. either using the online forms

https://service.qnap.com/en-uk/user/create-ticket

or using the "Helpdesk" app on your NAS
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
emufan
Getting the hang of things
Posts: 67
Joined: Sun Jun 12, 2011 7:55 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by emufan »

Thanks bigorno. SMB Connection are not working here as well. Will give this a try, too!
emufan
Getting the hang of things
Posts: 67
Joined: Sun Jun 12, 2011 7:55 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by emufan »

Argh. Is there any way to solve this myself, so that SMB Connections are working temporarily?

If I edit smb.sh, this is overwritten after reboot. Though, that I can edit this.
User avatar
aesculus
Easy as a breeze
Posts: 346
Joined: Fri Dec 14, 2007 11:17 am

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by aesculus »

bigorno wrote: Fri Aug 23, 2019 3:45 pm Replacing "disable" by "disabled" in the script fixes the problem.

How should I report this issue in a proper way, if not here?
Thanks for this. I also reported it with a link to this thread.

Cannot understand why this has gotten this far.
Chris
emufan
Getting the hang of things
Posts: 67
Joined: Sun Jun 12, 2011 7:55 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by emufan »

aesculus wrote: Sat Aug 24, 2019 1:11 am Cannot understand why this has gotten this far.
Same here. The quality from their updates is horrible at the moment. HBS is not working anymore -> no Cloud backups possible with this tool. Now SMB -> no SMB-backups from the PCs possbiel without work arounds.

If this is the future Quality of QNAP NAS. Wow.
and600
Starting out
Posts: 39
Joined: Thu Feb 14, 2008 1:50 am

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by and600 »

bigorno, many thanks ! you saved me a lot of troubles
intothevoid
Starting out
Posts: 43
Joined: Thu Jan 28, 2010 5:47 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by intothevoid »

I have the same problem on my 453U.

noob question : What do I need to do once I've edited the smb.conf? Stop/starting MS networking from the GUI just overwrites the file and puts me back to square one.

thx
NAS:
Model: TS-453U
Firmware: 4.3.6
HDD: 4 * Western Digital Red 2TB (WD20EFRX)
Asset media server: 4.5

Infrastructure:
Router: TP-Link TL-ER5120
Switch: D-Link DGS-1224T 24 port Gigabit switch
Network: CAT6 & Ubiquity Wireless Access Points
ISP: Virgin Media
Broadband: Cable @ 100Mbit/s
effetredici
Starting out
Posts: 15
Joined: Wed Dec 01, 2010 4:56 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by effetredici »

Firmware 4.3.6.1040 has been deleted from the qnap servers.
fstueckradt
New here
Posts: 5
Joined: Tue Dec 22, 2015 11:08 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by fstueckradt »

Almost same issue here (TS453Pro).
I can access the shares reading without any problems.
But I can't bulk-write - like copying a folder to a network share or doing a backup or folder sync.
Is there any solution with manual intervention to this yet?
I intended to do some serious software updates on the windows machines this weekend and wanted to backup data before.
(OK, backup is for wimps...)
Cheers!
Frank
effetredici
Starting out
Posts: 15
Joined: Wed Dec 01, 2010 4:56 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by effetredici »

fstueckradt wrote: Sat Aug 24, 2019 11:46 pm Almost same issue here (TS453Pro).
I can access the shares reading without any problems.
But I can't bulk-write - like copying a folder to a network share or doing a backup or folder sync.
Is there any solution with manual intervention to this yet?
I intended to do some serious software updates on the windows machines this weekend and wanted to backup data before.
(OK, backup is for wimps...)
Cheers!
Frank
Simply go back to firmware 4.3.6.0993 build 20190704.
fstueckradt
New here
Posts: 5
Joined: Tue Dec 22, 2015 11:08 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by fstueckradt »

Simply go back to firmware 4.3.6.0993 build 20190704.
Thanks for the prompt feedback!

Never done it before...
Is the procedure the following (Assume that I'm an IT professional with some 30 years of experience, but not OS-based, more application.side of the world.)?
- Get the legacy firmware file somewhere from the QNAP website. Carefully searching if it's suitable for the machine.
- Invoke the Update routine in QNAP.
- Specify the update file manually.
- Have a strong liquor while waiting for the update running with a couple of beeps.
- Enjoy the successful backflip.

Are there any side effects in the downgrade?
Like for example the freshly updated version of the virtualisation station no longer running on the old firmware release?

Thanks!

Frank
Last edited by Toxic17 on Mon Aug 26, 2019 2:21 am, edited 1 time in total.
Reason: wrong quote format.
dgypnas
Starting out
Posts: 23
Joined: Wed Mar 18, 2015 12:59 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by dgypnas »

I was overjoyed when I found this thread because I thought my problem would be solved! I am running Windows clients and a TS-251. The clients could all see the contents of folders/shares but I couldn't open any files - if I tried to open even a small text file I'd get the error "The system cannot find the file specified" (curiously, I could CREATE a file just fine).

Anyway, I found this thread, went through the steps to downgrade the firmware. The qnap download site had "TS-X51_20190816-4.4.1.1031.img" as the first choice, without thinking I went ahead and downgraded but when it all rebooted... SAME PROBLEM!

(for those looking to downgrade - google it.. you'll need to install Qfinderpro and find the .img to download, that app has a tool that'll let you load firmware from an image)

It wasn't until afterward that I noticed the firmware version available for download is "4.4.1" yet the thread here is 4.3.6.. WTH? I really didn't pay attention to the fact it was the same version# and a "beta" version. So after failure - I went back to the download page and the most recent non-Beta vesion is from July: TS-X51_20190704-4.3.6.0993.

Using THAT version and the same tool after 1.5 hours of panic I now have my files back!

So... Make sure you use the NON-BETA version and yes, use the downgrade method to restore!

ouch - this one hurt!
P3R
Guru
Posts: 13192
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by P3R »

fstueckradt wrote: Sun Aug 25, 2019 2:36 am Is the procedure the following (Assume that I'm an IT professional with some 30 years of experience, but not OS-based, more application.side of the world.)?
- Get the legacy firmware file somewhere from the QNAP website. Carefully searching if it's suitable for the machine.
No it's much simpler. Go to the Qnap Download Center, specify what NAS you have and download 4.3.6.0993 build 20190704 (avoid the beta versions at the top of the list).

Also I wouldn't call 4.3.6.0993 (released less than 50 days ago) legacy firmware. In fact it's currently the latest stable build available. :wink:
- Invoke the Update routine in QNAP.
- Specify the update file manually.
- Have a strong liquor while waiting for the update running with a couple of beeps.
- Enjoy the successful backflip.
Yes
Are there any side effects in the downgrade?
Like for example the freshly updated version of the virtualisation station no longer running on the old firmware release?
Hopefully not but you'll know for sure when you've installed it. If something doesn't work, open a case with Qnap support. They will only fix problems they're made aware of.

Edit: okay, I was too slow and someone already made the mistake of installing a beta. Also avoid the firmwares with the title vQTS as those are intended for use in VMs only.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
fstueckradt
New here
Posts: 5
Joined: Tue Dec 22, 2015 11:08 pm

Re: SMB bug in 4.3.6.1040 (2019/08/20)

Post by fstueckradt »

P3R wrote: Sun Aug 25, 2019 3:28 am No it's much simpler. Go to the Qnap Download Center, specify what NAS you have and download 4.3.6.0993 build 20190704 (avoid the beta versions at the top of the list).
Also I wouldn't call 4.3.6.0993 (released less than 50 days ago) legacy firmware. In fact it's currently the latest stable build available. :wink:
Thanks a lot P3R!
This rocked. It was a piece of cake, not even enough to get out the strong liquor.
Looks like the machine comes back on 4.3.6.0993 in good health.
I'm spechless about the firmware upgrade...
Because, if there would be the one essential function that a NAS should always and ever be able to provide, well, network shares would be a good choice.
How can deployment with this kind of error get though internal testing?

However, that's QNAP to find out and decide how to treat their customers.

Thanks a lot for your specific and qualified help!

Frank
Last edited by Toxic17 on Mon Aug 26, 2019 2:22 am, edited 1 time in total.
Reason: wrong quote format used again.
Post Reply

Return to “File Sharing”