Thingsboard PE (v3.1.1PE) Windows Installation Script Failed!

Good day

I am busy installing Thingsboard PE (v3.1.1) on Windows 8. I have bought a license key through Thingsboard.io and have followed the step-by-step guideline (https://thingsboard.io/docs/user-guide/install/pe/windows/). I have installed PostgreSQL 11.9 and followed all the instructions. The installation went smooth up to Step 7: Run installation script. The following error appears in the Administrator: Command Prompt:

Microsoft Windows [Version 6.3.9600]
© 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd C:\Program Files (x86)\thingsboard

C:\Program Files (x86)\thingsboard>install.bat
Detecting Java version installed.
CurrentVersion 18
Java 1.8 found!
Installing thingsboard …

:: ThingsBoard Professional Edition :: (v3.1.1PE)

Starting ThingsBoard Installation…
Installing DataBase schema for entities…
Installing SQL DataBase schema part: schema-entities.sql
Unexpected error during ThingsBoard installation!
org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check t
hat the hostname and port are correct and that the postmaster is accepting TCP/I
P connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
ctionFactoryImpl.java:262)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
y.java:52)
at org.postgresql.jdbc.PgConnection.(PgConnection.java:216)
at org.postgresql.Driver.makeConnection(Driver.java:404)
at org.postgresql.Driver.connect(Driver.java:272)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.thingsboard.server.service.install.SqlAbstractDatabaseSchemaServi
ce.createDatabaseSchema(SqlAbstractDatabaseSchemaService.java:81)
at org.thingsboard.server.service.install.SqlAbstractDatabaseSchemaServi
ce.createDatabaseSchema(SqlAbstractDatabaseSchemaService.java:72)
at org.thingsboard.server.install.ThingsboardInstallService.performInsta
ll(ThingsboardInstallService.java:220)
at org.thingsboard.server.ThingsboardInstallApplication.main(Thingsboard
InstallApplication.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner
.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLau
ncher.java:597)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI
mpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
va:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
Impl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at org.postgresql.core.PGStream.(PGStream.java:61)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
ctionFactoryImpl.java:144)
… 18 common frames omitted
Unexpected error during ThingsBoard installation!
ThingsBoard installation failed!

C:\Program Files (x86)\thingsboard>

Any help on this would be highly appreciated!

Thanks in advance.
Susan

Hi susan.

I have similar issues. Have you been able to solve it