thingsboard / thingsboard-ce-k8s

ThingsBoard Community Edition Kubernetes scripts and docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insallation Error on Azure Microservices - PSQLException: The connection attempt fail

imananuar opened this issue · comments

I run the script from Azure VM, trying to install with azure/microservices file but keep failing.

tb-node-db-configmap.yaml

  SPRING_JPA_DATABASE_PLATFORM: org.hibernate.dialect.PostgreSQLDialect
  SPRING_DRIVER_CLASS_NAME: org.postgresql.Driver
  SPRING_DATASOURCE_URL: jdbc:postgresql://my-app-postgresql.postgres.database.azure.com:5432/myapp?user=myappusername&password=mypass?sslmode=require
  SPRING_DATASOURCE_USERNAME: myappusername
  SPRING_DATASOURCE_PASSWORD:  mypass

Then I run ./k8s-install-tb.sh, this error pop up:

Starting ThingsBoard Installation...
Installing DataBase schema for entities...
Installing SQL DataBase schema part: schema-entities.sql
Unexpected error during ThingsBoard installation!

Which part I do wrong and please help me with this! Thank you!!

Im having the same issue - did you ever resolve this?