If you are having trouble dealing with an error, please let us know on the Discord.
- Unable to load module ; . For more details, visit memgr.ph/modules.
- Failed to close module ; . For more details, visit memgr.ph/modules.
- Unable to overwrite an already loaded module . For more details, visit memgr.ph/modules.
- Module directory doesn't exist. For more details, visit memgr.ph/modules.
When Memgraph is loading/closing modules, an error can occur if:
- The file could not be found: check if the file has been deleted.
- The file is not readable: make the file readable for the user
- The file had the wrong format: check if the file has the expected format.
- The file caused errors during loading.
Module names need to be distinct. Try to rename your module and load it again
Make sure that Memgraph is searching for the modules in the right directory. The
Memgraph configuration is available in
/etc/memgraph/memgraph.conf and you can
specify the directory with the
--query-modules-directory flag. The default
/usr/lib/memgraph/query-modules. If the configuration file is
altered, Memgraph needs to be restarted. To learn about all the configuration
options, check out the reference guide.
Query modules can be implemented using the Python or C API provided by Memgraph. Modules written in languages other than Python need to be compiled to a shared library so that they can be loaded when Memgraph starts. This means that you can write the procedures in any programming language which can work with C and can be compiled to the ELF shared library format.
If you weren't able to find the error, please submit it through a Support Ticket so we can look into it and get back to you.