Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
imananuar opened this issue Apr 5, 2023 · 1 comment

Comments

@imananuar
Copy link

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!!

@Maxwh21
Copy link

Maxwh21 commented Mar 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants