It turns out lots of our customer are using data linked from files located in shared folder in a file server.
So this difference between Web Player on Windows and Linux is critical for them to migrate to Linux (in order to utilize docker & container deployment)
=============
Analyses with linked data to files are generally not supported on Linux due to differences in file paths and case-sensitivity on Linux and Windows.
=============
I tried to mount the windows share folder to Linux server (Web Player) with the same path (/winx/share/Baseball.txt), but still data cannot be loaded from there.
WARN ;2022-09-22T15:24:38,937+09:00;2022-09-22 06:24:38,937;0472d330-de59-4402-a6dd-aadc77d7f60f;2215083139FNwN;WorkThread 170_165;admin WAT 4;7fd1513e27db4e0e5c390597594e650b;Spotfire.Dxp.Data.AsyncImport.DataTablesLoader;"Prompting for failed to open table 'Baseball'."
Spotfire.Dxp.Data.Exceptions.ImportException: File not found.
---> System.IO.FileNotFoundException: Could not find file '/opt/tibco/tsnm-12.0.1.x86_64/nm/services/WebWorker NET Core-56.1.17613.5473-ccd523f0-c5f7-4f59-94f4-3fa900a492e0/\\winx\share\Baseball.txt'.
File name: '/opt/tibco/tsnm-12.0.1.x86_64/nm/services/WebWorker NET Core-56.1.17613.5473-ccd523f0-c5f7-4f59-94f4-3fa900a492e0/\\winx\share\Baseball.txt'
Hi Miguel,
TSS (and WP) is deployed inside a Linux VM, not a container.
I used Analyst (on Windows) to load data from a shared folder (\\winx\share\Baseball.txt), saved it to the library and tried to open it in Web Player (on Linux) then I got this error.
By "a hybrid environment with both Windows and Linux." I guess you mean multiple WP on both Windows and Linux together. This difference in file paths doesn't only apply to that, it also applies to the scenario Analyst on Windows + WP on Linux which would be more widely used (because Analyst only works on Windows).
Thanks for investigating this on your side, please let me know if there is any to do it.
Hi Wei,
Are you deploying the services with containers or using VMs?
That path looks like belonging to the installation of one of the servers and I think you are not sharing the path properly:
/opt/tibco/tsnm-12.0.1.x86_64/nm/services/WebWorker NET Core-56.1.17613.5473-ccd523f0-c5f7-4f59-94f4-3fa900a492e0/\\winx\share\Baseball.txt
As you noted, "Analyses with linked data to files are generally not supported on Linux due to differences in file paths and case-sensitivity on Linux and Windows."
File path translations were not included in 12.0 when we introduced support for Web Player on Linux since, and it is still unclear how many cases we are going to have of customers using a hybrid environment with both Windows and Linux.
I would recommend you to use a simpler path and a shared drive that is not belonging to any of the web player instances. Anyhow, I will investigate from my side if there is a way you can do it.