memgraph / memgraph-platform

Memgraph Platform is a multi-container application containing Memgraph+MAGE and Memgraph Lab.
Apache License 2.0
21 stars 1 forks source link

Platform 2.10.2 - unable to load modules message #68

Open kgolubic opened 1 year ago

kgolubic commented 1 year ago

I have Windows 11. Docker is set so that is uses WSL. When I run docker run -it -p 7687:7687 -p 7444:7444 -p 3000:3000 memgraph/memgraph-platform I get the following output

2023-08-25 06:37:47,575 INFO Included extra file "/etc/supervisor/programs/lab.conf" during parsing
2023-08-25 06:37:47,575 INFO Included extra file "/etc/supervisor/programs/memgraph.conf" during parsing
2023-08-25 06:37:47,575 INFO Set uid to user 0 succeeded
2023-08-25 06:37:47,577 INFO supervisord started with pid 1
2023-08-25 06:37:48,580 INFO spawned: 'memgraph' with pid 7
2023-08-25 06:37:48,583 INFO spawned: 'lab' with pid 8
You are running Memgraph v2.10.1
To get started with Memgraph, visit https://memgr.ph/start
[2023-08-25 06:37:48.638] [memgraph_log] [warning] Invalid license key string. To use Enterprise features please set it to a valid string using the following query:
SET DATABASE SETTING "enterprise.license" TO "your-license-key"
[2023-08-25 06:37:48.813] [memgraph_log] [warning] No snapshot or WAL file found. For more details, visit https://memgr.ph/durability.
[2023-08-25 06:37:48.814] [memgraph_log] [warning] Replication configuration will NOT be stored. When the server restarts, replication state will be forgotten.
[2023-08-25 06:37:49.011] INFO: [lab] Lab is running at http://localhost:3000 in platform mode
[2023-08-25 06:37:49.493] [memgraph_log] [error] Unable to load module "/usr/lib/memgraph/query_modules/libmgclient.so"; /usr/lib/memgraph/query_modules/libmgclient.so: undefined symbol: mgp_init_module. For more details, visit https://memgr.ph/modules.
<frozen importlib._bootstrap>:228: RuntimeWarning: scipy._lib.messagestream.MessageStream size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
2023-08-25 06:37:49,760 INFO success: memgraph entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-08-25 06:37:49,760 INFO success: lab entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
DGL backend not selected or invalid.  Assuming PyTorch for now.
[2023-08-25 06:37:50.854] [memgraph_log] [error] Unable to load module "/usr/lib/memgraph/query_modules/example_cpp.so"; /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/memgraph/query_modules/example_cpp.so). For more details, visit https://memgr.ph/modules.
[2023-08-25 06:37:50.855] [memgraph_log] [warning] Using non-secure Bolt connection (without SSL). For more details, visit https://memgr.ph/ssl.
^C2023-08-25 06:37:55,863 WARN received SIGINT indicating exit request
2023-08-25 06:37:55,864 INFO waiting for memgraph, lab to die
2023-08-25 06:37:56,136 INFO stopped: lab (exit status 0)

Session terminated, killing shell...[2023-08-25 06:37:56.245] [memgraph_log] [warning] Failed to remove the module mgp_networkx from sys.modules
[2023-08-25 06:37:56.248] [memgraph_log] [warning] Failed to remove the module mgp_igraph from sys.modules
[2023-08-25 06:37:56.290] [memgraph_log] [warning] Failed to remove the module json_util from sys.modules
Setting the default backend to "pytorch". You can change it in the ~/.dgl/config.json file or export the DGLBACKEND environment variable.  Valid options are: pytorch, mxnet, tensorflow (all lowercase)
 ...killed.
2023-08-25 06:37:58,140 INFO stopped: memgraph (terminated by SIGTERM)
2023-08-25 06:37:58,140 INFO reaped unknown pid 9 (exit status 0)

Note: I've terminated docker using CTRL+C.

I've also tried to run docker run -p 7687:7687 -p 7444:7444 -p 3000:3000 --name memgraph memgraph/memgraph-platform, but the result is the same.

image

katarinasupe commented 11 months ago

@kgolubic is this still an issue?

bwhartlove commented 5 months ago

Can confirm I ran into the same issue just yesterday.

katarinasupe commented 3 months ago

Hi @bwhartlove, we are no longer updating the Memgraph Platform image. Did you try running the latest Memgraph image and is this issue still there?