MeshCentral-RoutePlus
MeshCentral-RoutePlus copied to clipboard
Cannot read properties of undefined (reading 'getUserMaps')
Hi, After installing the plugin (and restarting MeshCentral) I still get the error: "Internal Server Error" in MeshCentral. When I check the mesherrors.txt I noticed the following error:
TypeError: Cannot read properties of undefined (reading 'getUserMaps')
at Object.obj.handleAdminReq (/home/danny/meshcentral/meshcentral-data/plugins/routeplus/routeplus.js:213:20)
at Object.obj.handleAdminReq (/home/danny/meshcentral/node_modules/meshcentral/pluginHandler.js:522:40)
at obj.handlePluginAdminReq (/home/danny/meshcentral/node_modules/meshcentral/webserver.js:5376:34)
at Layer.handle [as handle_request] (/home/danny/meshcentral/node_modules/express/lib/router/layer.js:95:5)
at next (/home/danny/meshcentral/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/danny/meshcentral/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/danny/meshcentral/node_modules/express/lib/router/layer.js:95:5)
at /home/danny/meshcentral/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/danny/meshcentral/node_modules/express/lib/router/index.js:335:12)
at next (/home/danny/meshcentral/node_modules/express/lib/router/index.js:275:10)
I have MeshCentral running on Ubuntu 18.04.3!
Do you have any idea what the problem is?
Thx, Danny
Same issue on all Ryan's plugins with the new MC version.
Ryan has published a new version which fixed this (at least for me). Thanks Ryan!