When installing Spotfire Service for R, the following error may be seen when attempting to install the service on a Linux node manager.
ERROR 2024-01-23T18:51:06,607+0000 [main] springframework.boot.SpringApplication: Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'SBDFController': Unsatisfied dependency expressed through field 'configurationPayload': Error creating bean with name 'DockerImageBuilder' defined in class path resource [com/tibco/spotfire/topology/ServiceConfig.class]: Failed to instantiate [com.tibco.spotfire.topology.utility.DockerImageBuilder]: Factory method 'dockerImageBuilder' threw exception with message: java.io.IOException: com.sun.jna.LastErrorException: [13] Permission denied
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:716) ~[spring-beans.jar:6.0.11]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:696) ~[spring-beans.jar:6.0.11]
The reason for this error is that the spotfire user has not been added to the docker group on the node manager machine.
To resolve this issue, add the spotfire user to the docker group as follows:
usermod -aG docker spotfire
Then verify with
groups spotfire
If the install was already attempted which resulted in this error, remove the service and try the install again.
Comments
0 comments
Article is closed for comments.