Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Kapua » Unable to login Eclipse Kapua web console(Unable to login Eclipse Kapua web console)
Unable to login Eclipse Kapua web console [message #1774181] Wed, 11 October 2017 11:37 Go to next message
fatih ayvaz is currently offline fatih ayvazFriend
Messages: 10
Registered: October 2017
Junior Member
I have run Kapua docker image on Ubuntu VM. However, I am unable to login the web console and get the following error:

Login Failed
An internal error occurred: org.apache.shiro.ShiroException: Error while find user!.

I have followed the instructions below:
http://www.eclipse.org/kapua/getting-started.php

Many thanks for your great help.
-fatih
Re: Unable to login Eclipse Kapua web console [message #1774261 is a reply to message #1774181] Thu, 12 October 2017 10:35 Go to previous messageGo to next message
John Bourke is currently offline John BourkeFriend
Messages: 1
Registered: October 2017
Junior Member
Hi,

I am running the docker "get started" containers.

CONTAINER ID IMAGE COMMAND CREATED STATUS
67dd2637119f kapua/kapua-api "/home/kapua/run-j..." 14 hours ago Up 37 minutes
d8192a881164 kapua/kapua-console "/home/kapua/run-c..." 14 hours ago Up 37 minutes
6bea837dc986 kapua/kapua-broker "/maven/bin/active..." 14 hours ago Up 37 minutes
73c4cb71de34 elasticsearch:5.4.0 "/docker-entrypoin..." 14 hours ago Up 37 minutes
255a0df57c5b kapua/kapua-sql "/home/kapua/run-h2" 15 hours ago Up 38 minutes

When I try to login

http://127.0.0.1:8080/
Username: kapua-sys
Password: kapua-password

I get a login error

Login Failed.
An internal error occurred: org.apache.shiro.ShiroException: Error while find user!.

Can anyone help ?

Thanks

john


Re: Unable to login Eclipse Kapua web console [message #1774408 is a reply to message #1774181] Fri, 13 October 2017 17:58 Go to previous messageGo to next message
Mike England is currently offline Mike EnglandFriend
Messages: 1
Registered: October 2017
Junior Member
I ran into the same login problem running the Docker "get started" containers. To fix it, you need to add this option '--env commons.db.schema.update=true' to the kapua-broker, kapua-console and kapua-api docker run statements, then restart your docker containers.

eg. :
docker run -td --name kapua-broker --link kapua-sql:db --link kapua-elasticsearch:es --env commons.db.schema.update=true -p 1883:1883 -p 61614:61614 kapua/kapua-broker
docker run -td --name kapua-console --link kapua-sql:db --link kapua-broker:broker --link kapua-elasticsearch:es  --env commons.db.schema.update=true -p 8080:8080 kapua/kapua-console
docker run -td --name kapua-api --link kapua-sql:db --link kapua-broker:broker --link kapua-elasticsearch:es --env commons.db.schema.update=true -p 8081:8080 kapua/kapua-api


Regards,
Mike
Re: Unable to login Eclipse Kapua web console [message #1774471 is a reply to message #1774408] Mon, 16 October 2017 05:34 Go to previous message
fatih ayvaz is currently offline fatih ayvazFriend
Messages: 10
Registered: October 2017
Junior Member
Many thank Mike England for your great help. I works fine right now.

Hope it solves John Bourke's issue as well.
Previous Topic:iot applications help
Next Topic:in my h2 db , i did not get the kapua database
Goto Forum:
  


Current Time: Fri Sep 21 17:15:38 GMT 2018

Powered by FUDForum. Page generated in 0.01638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top