Dears,
we have an issue with the creation of profiles when trying to restart knime executor. The following error can be found in the knime.log
2022-07-08 12:04:46,152 : ERROR : main : : ProfileManager : : : Could not download profiles from http://localhost:8080/knime/rest/v4/profiles/contents: F:\Knime\executor-workspace.metadata.plugins\org.knime.product\profile-download9211418627858993706 → F:\Knime\executor-workspace.metadata.plugins\org.knime.product\profiles. No profiles will be applied.
java.nio.file.AccessDeniedException: F:\Knime\executor-workspace.metadata.plugins\org.knime.product\profile-download9211418627858993706 → F:\Knime\executor-workspace.metadata.plugins\org.knime.product\profiles
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsFileCopy.move(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
at java.base/java.nio.file.Files.move(Unknown Source)
at org.knime.product.profiles.ProfileManager.downloadProfiles(ProfileManager.java:375)
at org.knime.product.profiles.ProfileManager.fetchProfileContents(ProfileManager.java:268)
at org.knime.product.profiles.ProfileManager.applyProfiles(ProfileManager.java:168)
at com.knime.enterprise.executor.KNIMEExecutorApplication.start(KNIMEExecutorApplication.java:45)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
What we observed:
- After restarting the executor the combined-preferences.epf is empty. Another folder ‘profile-download9211418627858993706’ is available and contains all the profiles that are specified in the knime.ini file.
- There is no profile folder available under org.knime.product
- Creating manually the folder profiles does not help.
- The executor user is a local admin on the server and it can rename/create/adjust files and folders.
Do you have any suggestion how to tackle the issue?
BR
Cornelius