You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by frankie <fr...@gmail.com> on 2018/02/04 23:31:19 UTC

Ignite Web Console Docker Image not working

Hi all,

Is it just me or the docker image for Ignite Web Console stopped working?

https://hub.docker.com/r/apacheignite/web-console-standalone/

Docker installs the image just fine, launches all as expected and you get a
page very similar to Gridgain's Web Console (https://console.gridgain.com)
with a big problem, every single interaction with the page served by docker
fails with a 404. Internally it's calling links to /api/v1/... and it looks
as the web-router inside the docker image is not forwarding as expected.

Can anyone please confirm if it's actually an issue or if the problem is
solely mine?

Thanks,
Frankie



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Web Console Docker Image not working

Posted by Roman Guseinov <ro...@gromtech.ru>.
Hello @frankie,

Guess I faced the same issue when was trying to mount a directory on Windows
host. Are you using Windows too? Can you please provide some logs using the
way which @Vasiliy Sisko proposed.

As I know, mounting volumes from a Windows directory is done using by SMB.
This way mongodb might have some issues with files handling (like an
exclusive lock). Also, the problem can be at host's directory permissions
(on any OS).

To check this you can try to skip mounting the directory "-v
/host_absolute_path:/var/lib/mongodb" and use following command:

$ sudo docker run -d -p 80:80 -p 3001:3001 --name web-console-standalone
apacheignite/web-console-standalone

P.S. Keep in mind it makes mongodb data lost every time container is
stopping.

Roman



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Web Console Docker Image not working

Posted by Vasiliy Sisko <vs...@gridgain.com>.
Hello @frankie
Latest version of apacheignite/web-console-standalone works perfectly.
But links have structure like
http://localhost/configuration/advanced/clusters.
Can you attach your run command and log of you docker instance.
Logs is printed into console when instance is run without -d argument or can
be shown with commands:
docker exec -it [INSTANCE_ID] /bin/bash
pm2 logs
Also please attach result of *docker images* command for images with name
apacheignite/web-console-standalone. Image id should be equal to
ae3d24152e68.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/