Skip to main content
Question

Workbench deleting all files (including itself) from FME_MF_DIR

  • December 10, 2018
  • 2 replies
  • 39 views

johnt
Contributor
Forum|alt.badge.img+11
  • Contributor

Hi,

I have developed a workbench to process some spreadsheet information (as you would). There are no Python callers, system callers or startup/shutdown scripts in the workbench, and never have been. Opens excels, writes excels.

At some point this morning it suddenly decided that when it is run, it deletes all files (not folders) within the folder it is being run from, including itself (as it is open I can hit save after it runs).

I cannot think of anything that should be causing this unexpected behaviour. Has anyone seen anything like this before?

FME 2018.1.0.3 Build 18552 - WIN64 on Windows Server 2008 R2 Enterprise SP1 64bit.

Regards

 

John

2 replies

johnt
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • December 10, 2018

So I logged off the VM and logged back in and it has stopped deleting files. One other thing I found was that it dumped some files (all empty) on the root of the file server on one of the last bad runs. It doesn't do this anymore either.

Whilst I have seemingly resolved this by "logging off and on again", it does not explain why this has happened, or if it might happen again, and would still like to know.

Puzzling...


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • December 10, 2018

Sounds and looks like somehow your configuration is set to have your root folder (/ or C:\\ ) be used as your temporary directory. FME Server will occasionally purge the temporary directory so its generally an unhappy situation if this is not set right. Check this article https://knowledge.safe.com/articles/176/fme-temp-environment-variable.html for more info, and examine your environment variables to be sure TMP, FME_TEMP, TMPDIR and any others like that aren't set to /

You can look at the logs of a translation to see -- we state in there what the temp directory is, and be sure it is what you think.

If this doesn't solve things, do let us know at https://www.safe.com/support/report-a-problem/


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings