From 64d9c140022240b94cb8e26fb83faacc5ec088ea Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Mon, 22 Sep 2025 02:39:22 +0100 Subject: [PATCH] Sorted the issue out with installation file not being found upon deployment. Ensured jq dependancy is installing in version 1.2.5 and above of the installation commands --- backend/src/routes/hostRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/hostRoutes.js b/backend/src/routes/hostRoutes.js index a81d17e..b4389f4 100644 --- a/backend/src/routes/hostRoutes.js +++ b/backend/src/routes/hostRoutes.js @@ -937,7 +937,7 @@ router.get('/install', async (req, res) => { const fs = require('fs'); const path = require('path'); - const scriptPath = path.join(__dirname, '../../agents/patchmon_install.sh'); + const scriptPath = path.join(__dirname, '../../../agents/patchmon_install.sh'); if (!fs.existsSync(scriptPath)) { return res.status(404).json({ error: 'Installation script not found' });