Skip to main content



      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 07:37 Go to next message
Eclipse UserFriend
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 06:35 Go to previous messageGo to next message
Eclipse UserFriend
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 13:58 Go to previous messageGo to next message
Eclipse UserFriend
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 01:34 Go to previous messageGo to next message
Eclipse UserFriend
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 02:46 Go to previous messageGo to next message
Eclipse UserFriend
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 02:01] by Moderator

Re: Unable to login Eclipse Kapua web console [message #1808773 is a reply to message #1802982] Mon, 01 July 2019 06:47 Go to previous message
Eclipse UserFriend
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: Wed May 07 16:46:37 EDT 2025

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

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

Back to the top