esmail
esmail

Reputation: 11

How to Install ThingsBoard from Source on Ubuntu

I'm trying to install ThingsBoard Community Edition (CE) from source on Ubuntu, but I'm facing some issues during the build process. I would appreciate any guidance on the correct steps to get it running properly.

What I Have Done So Far:

Cloned the repository:

git clone --recursive https://github.com/thingsboard/thingsboard.git
cd thingsboard

Installed required dependencies:

sudo apt update
sudo apt install -y openjdk-17-jdk maven

Built the project:

mvn clean install -DskipTests

The project with the above code is built successfully.

When I run the project with the code below, I get the following error:

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.2.12:run (default-cli) on project http: Process terminated with exit code: 1

mvn spring-boot:run -X

Additionally, the ThingsBoard HTTP Transport Service fails, causing all other modules to be skipped.

Questions:

  1. What are the exact steps to build and run ThingsBoard from source on Ubuntu?

  2. Am I missing any dependencies or configurations?

  3. How can I debug the issue with the HTTP Transport Service?

Upvotes: 1

Views: 69

Answers (0)

Related Questions