I made some elaboration runnig KNIME in a batch mode today. I’ve experienced a strange error while my workflow was starting.
ERROR main BatchExecutor IO error while loading the workflow: No workflow directory at /tmp/BatchExecutorInput30352
After I shifted from invoking the workflow from a knwf file using a workflowFile parameter to invoking it from a directory using a workflowDir parameter, the workflow started successfully.
It makes me believe KNIME first extract workflow file into /tmp directory. The user I used for invoking the workflow on the virtual linux machine wasn’t allowed to create subdirectories within /tmp directory there.
I haven’t found it would be configurable where KNIME is expected to extract knwf file before it invokes a workflow. It’d be nice to have such an option in case /tmp directory is not accessible, not being forced to extract the workflow on one’s own.
The whole context is the workflow should run in a client’s linux machine with a system user who has got minimal system privileges. Giving write privileges in the /tmp directory to the user is more than we can get.