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 messageGo to next 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.
Re: Unable to login Eclipse Kapua web console [message #1802982 is a reply to message #1774181] Wed, 20 February 2019 07:46 Go to previous messageGo to next message
Barbara jkjhghj is currently offline Barbara jkjhghjFriend
Messages: 1
Registered: February 2019
Junior Member
It seems from the URL that you're using the Vagrant setup. Is that the develop or the demo machine? When did you rebuild both the base box and the one you're using the last time? tutuapp

[Updated on: Thu, 21 February 2019 07:01]

Report message to a moderator

Re: Unable to login Eclipse Kapua web console [message #1808773 is a reply to message #1802982] Mon, 01 July 2019 10:47 Go to previous message
Alberto Codutti is currently offline Alberto CoduttiFriend
Messages: 23
Registered: June 2019
Junior Member
Hi all,

to ease the deployent in Docker, we do support Docker Compose.

please run
./docker-deploy.sh
under
~/kapua/deployment/unix


Regards,

- Alberto
Previous Topic:Route to Kafka
Next Topic:Failed to start kapua-broker
Goto Forum:
  


Current Time: Tue Sep 24 17:19:22 GMT 2024

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

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

Back to the top