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

Failed to load demo and Web UI #10854

Closed
ibrahimdanish opened this issue May 23, 2024 · 2 comments
Closed

Failed to load demo and Web UI #10854

ibrahimdanish opened this issue May 23, 2024 · 2 comments
Assignees
Labels
question generic question

Comments

@ibrahimdanish
Copy link

ibrahimdanish commented May 23, 2024

Component

  • UI
  • Installation

Description
After loading demo,
sudo /usr/share/thingsboard/bin/install/install.sh --loadDemo
It show on localhost:8080, Login with OAuth 2.0 but after starting thingsboard with command,
sudo service thingsboard start
Login text goes away
I got the following error in log,

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-05-23 11:35:56,869 [main] ERROR o.s.boot.SpringApplication - Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatServletWebServerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryConfiguration$EmbeddedTomcat.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory]: Factory method 'tomcatServletWebServerFactory' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'httpTransportContext': Unsatisfied dependency expressed through field 'transportService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultTransportService' defined in URL [jar:file:/usr/share/thingsboard/bin/thingsboard.jar!/BOOT-INF/lib/transport-api-3.6.4.jar!/org/thingsboard/server/common/transport/service/DefaultTransportService.class]: Unsatisfied dependency expressed through constructor parameter 6; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultTransportDeviceProfileCache' defined in URL [jar:file:/usr/share/thingsboard/bin/thingsboard.jar!/BOOT-INF/lib/transport-api-3.6.4.jar!/org/thingsboard/server/common/transport/service/DefaultTransportDeviceProfileCache.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'protoWithFSTService' defined in URL [jar:file:/usr/share/thingsboard/bin/thingsboard.jar!/BOOT-INF/lib/queue-3.6.4.jar!/org/thingsboard/server/queue/util/ProtoWithFSTService.class]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:165)

Environment

  • OS: Raspberry Pi
  • ThingsBoard: v3.6.4
  • Browser: Chrome, Edge

Disclaimer

We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

@ibrahimdanish ibrahimdanish added the question generic question label May 23, 2024
@ibrahimdanish ibrahimdanish changed the title Your title here Failed to load demo and Web UI May 23, 2024
@Ultrazombie
Copy link

Hello @ibrahimdanish
Provide a full log file from the path /var/log/thingsboard/. (thingsboard.log file)
I think that another service is taking the required port for ThingsBoard to run, but I will be able to say more precisely only after reading the full log.

@Ultrazombie
Copy link

Closed due to inactivity

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

No branches or pull requests

2 participants