1.4.0 graql console broken on ubuntu bionic 18.04


#1

Hi

The server appears to start fine, and the web ui works, but connecting to graql console fails:

# graql console -k grakn
Could not connect to Grakn. Have you run 'grakn server start'?
# grakn server status
====================================================================================================
      ________  _____     _______  __    __  __    __      _______  _______  _____     _______
     |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   _   ||   _  \  |   ____|
     |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |__||  | |  ||  | |  | |  |
     |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |     |  | |  ||  |_| /  |  |____
     |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |  |  __ |  | |  ||   _  \  |   ____|
     |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   |    |  |_|  ||  |_|  ||  | \  \ |  |____
     |________||__|  \__\|__| |__||__|  \__\|__|  \__|    |_______||_______||__|  \__\|_______|

                                         THE KNOWLEDGE GRAPH
====================================================================================================

Storage: RUNNING
Engine: RUNNING

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

#2

Hello

Could you post last couple dozen of lines from logs/grakn.log?


#3

Sorry, no help without a log…

==================================================
2018-09-26 09:15:45,468 [main] INFO  ai.grakn.engine.Server -
====================================================================================================
      ________  _____     _______  __    __  __    __      _______  _______  _____     _______
     |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   _   ||   _  \  |   ____|
     |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |__||  | |  ||  | |  | |  |
     |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |     |  | |  ||  |_| /  |  |____
     |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |  |  __ |  | |  ||   _  \  |   ____|
     |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   |    |  |_|  ||  |_|  ||  | \  \ |  |____
     |________||__|  \__\|__| |__||__|  \__\|__|  \__|    |_______||_______||__|  \__\|_______|

                                         THE KNOWLEDGE GRAPH
====================================================================================================
2018-09-26 09:15:45,469 [main] INFO  ai.grakn.engine.Server -
==================================================
2018-09-26 09:15:45,474 [main] INFO  ai.grakn.engine.Server - EngineID{value=f255af291a22-93d7835c-33d9-4029-b47b-33ada516981
1} is checking the system schema
2018-09-26 09:15:55,997 [main] INFO  ai.grakn.engine.KeyspaceStore - Loading schema
2018-09-26 09:15:59,471 [main] INFO  ai.grakn.engine.KeyspaceStore - Loaded system schema to system keyspace. Took: 14.03 s
2018-09-26 09:16:00,295 [Thread-12] INFO  a.g.e.a.d.AttributeDeduplicatorDaemon - startDeduplicationDaemon() - attribute de-d
uplicator daemon started.
2018-09-26 09:16:00,296 [main] INFO  ai.grakn.engine.Server - Grakn started in 14.87 s
2018-09-26 09:16:30,629 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn
2018-09-26 09:16:30,636 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /usr/local/src/grakn/conf/grakn
.properties
2018-09-26 09:16:30,638 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn
2018-09-26 09:16:30,638 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /usr/local/src/grakn/conf/grakn
.properties
2018-09-26 09:17:02,446 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn
2018-09-26 09:17:02,453 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /usr/local/src/grakn/conf/grakn
.properties
2018-09-26 09:17:02,456 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn
2018-09-26 09:17:02,456 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /usr/local/src/grakn/conf/grakn
.properties
2018-09-26 09:17:10,712 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn
2018-09-26 09:17:10,719 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /usr/local/src/grakn/conf/grakn
.properties
2018-09-26 09:17:10,721 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn
2018-09-26 09:17:10,722 [main] INFO  ai.grakn.engine.GraknConfig - Configuration file in use: /usr/local/src/grakn/conf/grakn.properties
2018-09-26 09:17:34,231 [main] INFO  ai.grakn.engine.GraknConfig - Project directory in use: /usr/local/src/grakn

Not sure that’s much help though.


#4

I am also on Ubuntu bionic 18.04 and using Grakn 1.4. As of now, everything seems working fine for me. I am able to access Graql console and UI.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


#5

$ ./grakn server start

  ________  _____     _______  __    __  __    __      _______  _______  _____     _______
 |   __   ||   _  \  |   _   ||  |  /  /|  \  |  |    |   _   ||   _   ||   _  \  |   ____|
 |  |  |__||  | |  | |  | |  ||  | /  / |   \ |  |    |  | |__||  | |  ||  | |  | |  |
 |  | ____ |  |_| /  |  |_|  ||  |/  /  |    \|  |    |  |     |  | |  ||  |_| /  |  |____
 |  ||_   ||   _  \  |   _   ||   _  \  |   _    |    |  |  __ |  | |  ||   _  \  |   ____|
 |  |__|  ||  | \  \ |  | |  ||  | \  \ |  | \   |    |  |_|  ||  |_|  ||  | \  \ |  |____
 |________||__|  \__\|__| |__||__|  \__\|__|  \__|    |_______||_______||__|  \__\|_______|

                                     THE KNOWLEDGE GRAPH

=========================================================================

Starting Storage…SUCCESS
Starting Engine…SUCCESS

$ ./graql console -k grakn

Grakn Copyright © 2018 Grakn Labs Limited
This is free software, and you are welcome to redistribute it
under certain conditions; type ‘license’ for details.

exit

The logs/grakn.log pretty much share the same info which @nathan.johnson has shared.


#6

@nathan.johnson we’re able to replicate your issue. it has been logged here: https://github.com/graknlabs/grakn/issues/4381


#7

Hi @nathan.johnson,

thank you for reporting the issue,

it has been fixed in the new Grakn 1.4.2 release!

You can download it directly from our download centre.

Marco


#8

Sweet, will take a look. Great turn around time :wink: