iotexproject / iotexproject/pebble-backend

Problems with ./setup-dev.sh

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
10
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hello everyone,

I am currently trying to set everything up and during the `./setup-dev.sh` I have received an error, after every step was successfully built and the configure files were copied, but it is looking like that at the end...

```
WARNING: The PEBBLE_VAR_CONF_PROXY_DIR variable is not set. Defaulting to a blank string.
ERROR: Named volume "letsencrypt:/etc/letsencrypt:rw" is used in service "proxy" but no declaration was found in the volumes section.
Starting...
Stop...
ERROR: Named volume "letsencrypt:/etc/letsencrypt:rw" is used in service "proxy" but no declaration was found in the volumes section.
Error: No such container: docker-compose_thingsboard-gateway_1
Overwrite the default configurations
'/home/yiny/pebble-backend/configs/conf/tb-gateway/tb_gateway.yaml' -> '/home/yiny/pebble-var/conf/tb-gateway/conf/tb_gateway.yaml'
'/home/yiny/pebble-backend/configs/conf/tb-gateway/mqtt-dev.json' -> '/home/yiny/pebble-var/conf/tb-gateway/conf/mqtt.json'
Done.
After the first startup, you need to create
a gateway in the device chapter of thingsboard,
and then use the token configuration of this
gateway to modify the
thingsboard.security.accessToken
in the configuration file
/home/yiny/pebble-var/conf/tb-gateway/conf/tb_gateway.yaml,
Compile the deployment contract and complete
/home/yiny/pebble-var/conf/api-server/apiEnv
and then restart the service.
```

Although this command terminates, the other commands like `./start-dev.sh` are causing errors since the previous step are not right.
I am using the Docker version 20.10.9 and docker-compose version 1.29.2

Does anyone know how to solve this problem?

Kind regards,
ynynloxx

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.