When I use docker to deploy skywalking, I always report an error: no provider found for module storage
Details are as follows:
Conditions:
- skywalking 9.1
- elasticsearch 7
Execute command:
docker run --name skywalking-oap --restart always -d \
-p 12800:12800 \
-p 11800:11800 \
--link es7:es7 \
-e SW_STORAGE=elasticsearch7 \
-e SW_STORAGE_ES_CLUSTER_NODES=es7:9200 \
skywalking-oap-server
report errors:
no provider found for module storage
Solution:
Modify
docker run --name skywalking-oap --restart always -d \
-p 12800:12800 \
-p 11800:11800 \
--link es7:es7 \
-e SW_STORAGE=elasticsearch7 \
-e SW_STORAGE_ES_CLUSTER_NODES=es7:9200 \
skywalking-oap-server
to
docker run --name skywalking-oap --restart always -d \
-p 12800:12800 \
-p 11800:11800 \
--link es7:es7 \
-e SW_STORAGE=elasticsearch \
-e SW_STORAGE_ES_CLUSTER_NODES=es7:9200 \
skywalking-oap-server
Modify sw_ Storage=elasticsearch7
to sw_ STORAGE=elasticsearch
Cause analysis:
- Before skywalking 8.8, it cannot automatically sense what the storage source is, and you need to manually specify whether it is es6 or 7;
- After 8.8, the version of the storage source can be automatically sensed, and there is no need to manually specify es6 or 7, just write es directly;
Read More:
- [Solved] Centos7 Install docker Error: iptables v1.4.21: Couldn‘t load target `DOCKER-ISOLATION‘
- [Solved] Docker Start Error: System.InvalidOperationException Failed to set version to docker-desktop exit code
- How to Upload Docker Image to docker hub
- [How to Fix]No executorfactory found to execute the application
- [Solved] The Bean Validation API is on the classpath but no implementation could be found
- Mybatis sets the primary key Auto-Increment error: No setter found for the keyProperty
- How to Solve Error: No suitable driver found for
- [Solved] org.apache.ibatis.executor.ExecutorException: No constructor found in void matching [java.lang.String]
- IDEA Package Error: No valid Maven installation found.
- springboot jsp: There was an unexpected error (type=Not Found, status=404). No message available
- [Solved] No validator could be found for constraint ‘javax.validation.constraints.NotBlank’ validating type ‘java.lang.String’
- ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration…
- [Solved] Docker Elasticsearch8.4.0 Error: Exception in thread “main” java.nio.file.FileSystemException
- [Solved] docker Error response from daemon driver failed programming external connectivity on endpoint lamp
- How to Solve Docker Portainer Connect Error
- [Solved] Docker-maven-plugin Build Mirror Error: failed: Connection refused: connect
- [Solved] docker Start jar package and Set JVM parameter Error
- How to Solve JasperFillManager.fillReport Stuck issue (No Error and No Processing)
- [Solved] Docker Run Tomcat Error: Cannot find /usr/local/tomcat/bin/setclasspath.sh
- [Solved] Docker Start Error: Error response from daemon: oci runtime error: container with id exists: 7f4336393ab