question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Thingsboard start service issue after making customisation and re-installation from "Thingsboard.exe install " [WINDOWS]

See original GitHub issue

I have encountered following issue after making changes in logo and try to start the service, I have followed following steps:

  • Stop the TB service
  • Changed SVG files and index.html
  • built using mvn clean install -DskipsTests
  • uninstalled the service via executing “thingsboard.exe uninstall”
  • installed TB via executing “thingsboard.exe install”

After run the command to start this service : following issues came up:

2017-08-31 11:48:20,519 [localhost-startStop-1] ERROR o.s.b.c.e.tomcat.TomcatStarter - Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'thingsboardSecurityConfiguration': Unsatisfied dependency expressed through field 'restAuthenticationProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'restAuthenticationProvider' defined in URL [jar:file:/C:/Thingsboard/SOURCE/thingsboard/application/target/thingsboard-windows/thingsboard/lib/thingsboard.jar!/BOOT-INF/classes!/org/thingsboard/server/service/security/auth/rest/RestAuthenticationProvider.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'relationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseRelationService': Unsatisfied dependency expressed through field 'relationDao'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseRelationDao': Unsatisfied dependency expressed through field 'cluster'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraCluster': Invocation of init method failed; nested exception is com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1] Cannot connect))
2017-08-31 11:48:20,804 [main] WARN  o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
2017-08-31 11:48:20,960 [main] ERROR o.s.boot.SpringApplication - Application startup failed

Please find the complete log file in the attachment. thingsboard_log.txt

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
logivitycommented, Nov 10, 2017

@neetuagw What changes did you have to make after changing the svg files. I have encountered the similar issue.

0reactions
neetuagwcommented, Aug 31, 2017

Yes it is the thing, I have made the changes in thingsboard.yml file and it is working now. Thanks alot for your help. Finally I am able to run Thingsboard after customisation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing ThingsBoard on Windows
Launch windows shell (Command Prompt) as Administrator. Change directory to your ThingsBoard installation directory. Execute install.bat script to install ...
Read more >
Upgrade instructions | ThingsBoard Community Edition
Make a backup of previous ThingsBoard configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf). Remove ThingsBoard install dir.
Read more >
Old Upgrade instructions | ThingsBoard Community Edition
ThingsBoard service upgrade. Make a backup of previous ThingsBoard configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
Read more >
Installing ThingsBoard Edge on Windows
Step 5. Run installation script. Launch windows shell (Command Prompt) as Administrator. Change directory to your ThingsBoard Edge installation directory.
Read more >
Thingsboard Windows Installation Error - java - Stack Overflow
The quotes seem to be a problem. C:\ Program Files\thingsboard\conf\"C:\Program Files\thingsboard"\logs\install.log java.io.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found