server job is not able to access local input files during execution and fails

#1

Hello team

i devloped this workflow on client ,
selected option - deploy on server
in workflow i have given some txt and csv files as input…
when i run workflow on server then also it runs fine cause i have given path of file…

but when i shedule workflow then it converts to job and fail because job cant find file or permission denied.

error -

File Reader 0:73 - WARNING: Can’t access ‘file:/root/knime-workspace/Es_local_datamart_daily_wrkf/demography_mart%2019may/Company_name_Final.csv’. (/root/knime-workspace/Es_local_datamart_daily_wrkf/demography_mart 19may/Company_name_Final.csv (Permission denied))

String Replace (Dictionary) 0:34 - WARNING: No file at “/root/knime-workspace/Es_local_datamart_daily_wrkf/demography_mart 19may/address.txt”

0 Likes

#2

Hi Navinjadhav,

Probably the best solution is to add the files to the KNIME Server repository, and then use the knime:// protocol to access the files: https://www.knime.com/knime-introductory-course/chapter2/section1/absolute-and-relative-paths-knime-protocol

That makes sure that the correct permissions are respected, and that the files are accessible as expected.

Best,

Jon

1 Like

#3

Thanks jonfuller

please look into screenshot -

this way path i am putting .

i am bit confused - i have given correct file and path.

.

it will be great if you can suggest rigth path –

0 Likes

#4

Thanks team , i the got solution .

0 Likes

closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

0 Likes