MeshCentral-ScriptTask icon indicating copy to clipboard operation
MeshCentral-ScriptTask copied to clipboard

Cannot use script task

Open RSud-devops opened this issue 1 year ago • 1 comments

Hi, The meshcentral server is running in an orchestration environment with the meshcentral-data folder as persistent volume (1.1.20). The installation of the latest 'script task' module (0.0.19) seems to go well, but when I tried to use it, I had this problem from the mesh node client: TypeError: Cannot read properties of null (reading 'getScriptTree') at obj.handleAdminReq (/opt/meshcentral/meshcentral-data/plugins/scripttask/scripttask.js:224:20) at obj.handleAdminReq (/opt/meshcentral/meshcentral/pluginHandler.js:521:40) at obj.handlePluginAdminReq (/opt/meshcentral/meshcentral/webserver.js:5993:34) at Layer.handle [as handle_request] (/opt/meshcentral/meshcentral/node_modules/express/lib/router/layer.js:95:5) at next (/opt/meshcentral/meshcentral/node_modules/express/lib/router/route.js:144:13) at Route.dispatch (/opt/meshcentral/meshcentral/node_modules/express/lib/router/route.js:114:3) at Layer.handle [as handle_request] (/opt/meshcentral/meshcentral/node_modules/express/lib/router/layer.js:95:5) at /opt/meshcentral/meshcentral/node_modules/express/lib/router/index.js:284:15 at Function.process_params (/opt/meshcentral/meshcentral/node_modules/express/lib/router/index.js:346:12) at next (/opt/meshcentral/meshcentral/node_modules/express/lib/router/index.js:280:10) Did anyone get this issue before?

RSud-devops avatar Feb 26 '24 15:02 RSud-devops

I am getting the same issue. I am running meshcentral in docker. I wonder if I am supposed to attach a volume somewhere that I am not?

phirestalker avatar Jul 04 '24 23:07 phirestalker