Since FreeNAS 11.3 Can't use "previous version" with only Ms Office Files

Description

I really like the ZFS snapshots on my SMB shares. It allows users to easily restore their files by themselves when the files get lost or screwed up.

It seems that it's no longer possible to use the windows features "previous version" since FreeNAS 11.3

It's possible to see all the previous version from the snapshots.

But, when I click on any of those versions and try to open it, I get this error message

It seems to do that only for MS Word and MS Excel and in fact in files from the MS Office suite.

I tried it with Office 2016 and Office 2019 with the latests patches and updates on the latest windows 10 version 2004.

I am able to browse the snapshot folder by using \\servername\Sharename@GMT-date.of.day-time.of.day format. I can see the files there but, it's still not possible to open it.

I tried to add the location in the Office trusted location and it's still not working.

Now, here is the interesting part. I am able to use the previous version with the exact same Office and Windows machine but, from FreeNAS 11.2.

It's very strange as like I mentioned, it's possible to restore pdf, jpg, png, txt from a FreeNAS 11.3. It really seems that Office screwed up something, but why would it work with 11.2?

I will downgrade and rebuild to 11.2, but before doing that I wanted to know if other people experience that and/or if someone has an idea where to start looking to fix this?

First time poster here, let me know if you need more info.

Thanks for your help

Jean Debogue

Working FreeNAS 11.2 specs
Version:
FreeNAS-11.2-U5
Uptime:
7:48AM up 90 days, 16:46, 0 users
Physical Memory:
16232 MiB
Model:
Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
Average Load:
0.25 0.17 0.16

NOT Working FreeNAS 11.3 specs
Version: FreeNAS-11.3-U2
Uptime:
7:45AM up 2 days, 15:07, 0 users
Physical Memory:
8082 MiB
Model:
Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
Average Load:
0.41 0.38 0.34

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Andrew Walker 
January 13, 2021 at 1:54 PM

Shadow copies work as intended in 12.0. Not to be fixed in 11.3 branch.

Jean Debogue 
August 19, 2020 at 5:35 PM

Wow! good catch! Indeed drag and drop is working. I'm impress. I'll let you and your team decide for the next actions and feel free to ask me for more testing in case you need.

Andrew Walker 
August 19, 2020 at 4:37 PM

Never mind. I was able to reproduce on 11.3. Issue is not present in 12.0. There are significant changes in Samba's VFS between 12.0 and 11.3 and so backporting shadow_copy_zfs is non-trivial. May not hit U5 deadline.

Issue affects opening of files in snapshot directory. Files can still be copied to desktop and then opened as workaround.

Andrew Walker 
August 19, 2020 at 1:13 PM

[2020/08/18 14:59:20.435040, 1] ../../source3/smbd/service.c:348(create_connection_session_info)
create_connection_session_info: guest user (from session setup) not permitted to access this share (Archive)
[2020/08/18 14:59:20.435099, 1] ../../source3/smbd/service.c:531(make_connection_snum)

Can you remove auxiliary parameter and in test machine with little or no traffic to it, set log level to DEBUG for the SMB service and reproduce the issue?

Jean Debogue 
August 18, 2020 at 7:03 PM

Adding a debug from another computer FreeNAS 11.3U4

 

I added the samba aux parameters  level =1,shadowzfs:5 and I tried to open a word document called test.docx

 

The new debug file is attached

Not to be Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created August 17, 2020 at 4:55 PM
Updated July 1, 2022 at 4:55 PM
Resolved January 13, 2021 at 1:54 PM