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 .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 .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:
What are the exact steps to build and run ThingsBoard from source on Ubuntu?
Am I missing any dependencies or configurations?
How can I debug the issue with the HTTP Transport Service?