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 » Fri Aug 23, 2019 3:45 pm

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: 5158
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 » Fri Aug 23, 2019 4:09 pm

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

QTS 4.x User Guidex

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


NAS: TS-473-32GB QM2-2P QXG-10G1T 4.4.1.1064 • TVS-463-16GB 4.4.1.1064 QM2-2S10G1TB • TS-459 Pro 2GB 4.2.6 • TS-121 4.3.3.0998 • APC Back-UPS ES 700G •
QPKG's: TwonkyServer 8.51 • Apache73 • QSonarr 3.0.1.503 • QNBZGet 21.0 • phpMyAdmin 4.9.0.1 • Qmono 5.20.1.19 • McAfee 2.2.1 • Lychee 3.2.15 • HBS 3.0.190802 • LEgo v3.0.0
Network: VM Hub 3.0 <500/35> • UniFi USG Pro 4 • UniFi USW-16-150W • UniFi USW-8-60W • UniFi CloudKey Gen2+• UniFi G3-Flex • UAP AC Pro • UAP AC Lite • SLM2008 • Dell 7050 MFF •

emufan
Getting the hang of things
Posts: 61
Joined: Sun Jun 12, 2011 7:55 pm

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

Post by emufan » Fri Aug 23, 2019 7:27 pm

Thanks bigorno. SMB Connection are not working here as well. Will give this a try, too!

emufan
Getting the hang of things
Posts: 61
Joined: Sun Jun 12, 2011 7:55 pm

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

Post by emufan » Fri Aug 23, 2019 9:37 pm

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: 318
Joined: Fri Dec 14, 2007 11:17 am

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

Post by aesculus » Sat Aug 24, 2019 1:11 am

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: 61
Joined: Sun Jun 12, 2011 7:55 pm

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

Post by emufan » Sat Aug 24, 2019 1:24 am

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 » Sat Aug 24, 2019 2:59 pm

bigorno, many thanks ! you saved me a lot of troubles

intothevoid
Starting out
Posts: 42
Joined: Thu Jan 28, 2010 5:47 pm

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

Post by intothevoid » Sat Aug 24, 2019 5:49 pm

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 » Sat Aug 24, 2019 7:37 pm

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 » 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

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 » Sat Aug 24, 2019 11:52 pm

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 » Sun Aug 25, 2019 2:36 am

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: 14
Joined: Wed Mar 18, 2015 12:59 pm

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

Post by dgypnas » Sun Aug 25, 2019 3:24 am

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: 10923
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 » Sun Aug 25, 2019 3:28 am

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 » Sun Aug 25, 2019 5:24 am

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”